gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] ftp troubles


From: Carl Humphrey
Subject: Re: [Gnu-arch-users] ftp troubles
Date: Mon, 29 Dec 2003 15:20:22 +1300
User-agent: Mutt/1.4i

Wonderful , thank you steve , I now have made it a step further.

I am now able to get archives , check their logs and compare for changes, 
however when I go to import i get a cannot lock revision error.

I decided to create a new fresh archive to ensure there were no stale locks.

Given a clean ftp account , with an empty archives directory on the ftp server 
i did the following on a second machine

2:> tla my-id "Carl Humphrey <address@hidden>"
2:> tla my-id
Carl Humphrey <address@hidden>

2:> tla make-archive address@hidden 
ftp://arch:address@hidden/{archives}/address@hidden
2:> tla archives
address@hidden
    ftp://arch:address@hidden/archives/address@hidden

---------------------------------------------------
** at this point the ftp server has the following

ftp> cd archives
250 "/archives" is new cwd.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
drwxrwxr-x   3 arch     arch            96 Dec 29 14:35 address@hidden
226 Listing completed.

ftp> cd address@hidden
250 "/archives/address@hidden" is new cwd.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
-rw-rw-r--   1 arch     arch            52 Dec 29 14:35 .archive-version
drwxrwxr-x   2 arch     arch            96 Dec 29 14:35 =meta-info
226 Listing completed.

-----------------------------------------------------

2:> tla my-default-archive address@hidden
2:> tla my-default-archive
address@hidden


2:> tla archive-setup foo--mainline--0.1
* creating category address@hidden/foo
* creating branch address@hidden/foo--mainline
* creating version address@hidden/foo--mainline--0.1
archive-setup: error making version address@hidden/foo--mainline--0.1 (internal 
error in archive-pfs.c(pfs_make_version))


2:> tla categories
foo
2:> tla branches foo
foo--mainline
2:> tla versions foo--mainline

-----------------------------------------------------
** at this point the ftp server has the following

ftp> cd archives
250 "/archives" is new cwd.
ftp> ls -R
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
drwxrwxr-x   4 arch     arch          8192 Dec 29 14:42 address@hidden
 
./address@hidden:
-rw-rw-r--   1 arch     arch            52 Dec 29 14:35 .archive-version
drwxrwxr-x   2 arch     arch            96 Dec 29 14:35 =meta-info
drwxrwxr-x   3 arch     arch            96 Dec 29 14:42 foo
 
./address@hidden/=meta-info:
-rw-rw-r--   1 arch     arch            34 Dec 29 14:35 name
 
./address@hidden/foo:
drwxrwxr-x   3 arch     arch            96 Dec 29 14:42 foo--mainline
 
./address@hidden/foo/foo--mainline:
drwxrwxr-x   3 arch     arch            96 Dec 29 14:42 ,,address@hidden
 
./address@hidden/foo/foo--mainline/,,address@hidden:
drwxrwxr-x   3 arch     arch            96 Dec 29 14:42 ++revision-lock
 
./address@hidden/foo/foo--mainline/,,address@hidden/++revision-lock:
drwxrwxr-x   2 arch     arch            96 Dec 29 14:42 +contents
 
./address@hidden/foo/foo--mainline/,,address@hidden/++revision-lock/+contents:
226 Listing completed.

-----------------------------------------------------

I am using tla-1.1--2003-12-16.tgz on debian linux
The ftp server is running HPUX11.11 Ncftpd


Does anyone have any ideas?

Thank you 
Carl Humphrey



On Sun, Dec 28, 2003 at 04:14:14PM -0800, Steve Folta wrote:
> > I am new to arch. I have been through the tutorials and FAQ but i have
> > not been able to work out whats wrong with my setup.
> 
> I'm new to arch also, but I've hit the same thing.
> 
> > 1:> tla archives
> > address@hidden
> >     /home/arch/archives/address@hidden
> 
> > 2:> tla archives
> > address@hidden
> >    ftp://arch:address@hidden/archives/\
> >      address@hidden
> 
> The archive name is *global*.  Like, global throughout the entire world. 
> On the archive host, you called it "...2004-foo", but when you registered
> it on the second machine, you called it "...2004-main".  It must be
> "...2004-foo".
> 
> Unfortunately, arch acts like this is okay when it registers the archive,
> and even when you do a "tla get".  It's only later that it will choke, as
> you discovered:
> 
> > 2:> tla changes --diffs
> > changes: tree shows no revisions in version
> 
> If you want your archive to be named "...2004-main" instead of
> "...2004-foo", perhaps someone else knows how to rename it.
> 
> Also, consider using sftp instead of ftp.  Ftp transmits passwords in the
> clear.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnu-arch-users
> 
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]