[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] ftp troubles
From: |
Carl Humphrey |
Subject: |
[Gnu-arch-users] ftp troubles |
Date: |
Mon, 29 Dec 2003 13:21:00 +1300 |
User-agent: |
Mutt/1.4i |
Hi,
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 have 2 machines. one running an ftp server (ncftpd) giving access to an
archives directory where an archive resides
On the second machine , I wish to be able to get the latest version from the
first machine , change it and commit it back over ftp.
---------------------------------------------------------
For starters does the archive work?
On the first machine not using the ftp server at all , but accessing the tree
directly
1:> tla my-id
Arch Repository <address@hidden>
1:> tla archives
address@hidden
/home/arch/archives/address@hidden
1:> tla my-default-archive
address@hidden
1:> tla revisions foo--mainline--0.1
base-0
patch-1
patch-2
patch-3
1:> tla get foo--mainline--0.1 testdir
* from pristine cache: address@hidden/foo--mainline--0.1--patch-3
* making pristine copy
* tree version set address@hidden/foo--mainline--0.1
1:> cd testdir
1:> tla logs
base-0
patch-1
patch-2
patch-3
1:> tla changes --diffs
* looking for address@hidden/foo--mainline--0.1--patch-3 to compare with
* comparing to address@hidden/foo--mainline--0.1--patch-3
( i did not make any changes so this looks ok )
1:> emacs `tla make-log`
1:> tla commit
* update pristine tree (address@hidden/foo--mainline--0.1--patch-3 =>
foo--mainline--0.1--patch-4)
* commited address@hidden/foo--mainline--0.1--patch-4
so the first machine with the local copy of the archive seems to work
-------------------------------------------------------
Now , to access the same archive on the second machine , over ftp to the first
machine
2:> tla my-id
Carl Humphrey <address@hidden>
2:> tla archives
address@hidden
ftp://arch:address@hidden/archives/address@hidden
2:> tla my-default-archive
address@hidden
2:> tla revisions foo--mainline--0.1
base-0
patch-1
patch-2
patch-3
patch-4
( so the ftp access itself seams to be working )
2:> tla get foo--mainline--0.1 testdir
* from pristine cache: address@hidden/foo--mainline--0.1--base-0
* patching for revision: address@hidden/foo--mainline--0.1--patch-1
* patching for revision: address@hidden/foo--mainline--0.1--patch-2
* patching for revision: address@hidden/foo--mainline--0.1--patch-3
* patching for revision: address@hidden/foo--mainline--0.1--patch-4
* making pristine copy
* tree version set address@hidden/foo--mainline--0.1
( ?? any idea why this shows more results than when i run it locally on machine
one?? )
( !! if i look at the directory the files of my project are there !! )
2:> cd testdir
2:> tla logs
( ?? no output ??? )
2:> tla changes --diffs
changes: tree shows no revisions in version
tree: /home/carlh/testdir
version: address@hidden/foo--mainline--0.1
1:> emacs `tla make-log`
1:> tla commit
commit: tree has no patch log for version
tree: /home/carlh/testdir
version: address@hidden/foo--mainline--0.1
-------------------------------------------------------
I have also had headaches trying to create a new archive over ftp , to the
point i gave up and installed arch on the ftp server machine ( machine 1 ) and
locally created an archive
Is there something I am missing?
The reason that I wish to use ftp is that there only 3 developers working on
this source tree and I would like to have one central repository where all
changes are sent to.
I would be very grateful to hear your thoughts on the problem.
Thank you
Carl Humphrey
- [Gnu-arch-users] ftp troubles,
Carl Humphrey <=