################################
# STEP 1
################################
I can confirm the bug here with an up-to-date Feisty.
I installed sitecopy and created this sample .sitecopyrc:
site site1
server localhost
remote /home/nico/lab/sitecopy/remote-site1
local /home/nico/lab/sitecopy/local-site1
username nico
site site2
server localhost
remote /home/nico/lab/sitecopy/remote-site2
local /home/nico/lab/sitecopy/local-site2
username nico
As you can see below, the behaviour is ok for site1, but buggy for
site2:
$ sitecopy --init site1
sitecopy: Initializing site `site1' (on localhost in
/home/nico/lab/sitecopy/remote-site1/)
sitecopy: All the files and directories are marked as NOT updated remotely.
$ sitecopy --init site2
sitecopy: No valid sites specified.
Try `sitecopy --help' for more information.
################################
# STEP 2
################################
I downloaded sitecopy from the original http://www.lyra.org/sitecopy/, I
built it and tried it. It works well:
[EMAIL PROTECTED]:~/lab/sitecopy/sitecopy-0.16.3-orig$ ./sitecopy --init site1
sitecopy: Initializing site `site1' (on localhost in
/home/nico/lab/sitecopy/remote-site1/)
sitecopy: All the files and directories are marked as NOT updated remotely.
[EMAIL PROTECTED]:~/lab/sitecopy/sitecopy-0.16.3-orig$ ./sitecopy --init site2
sitecopy: Initializing site `site2' (on localhost in
/home/nico/lab/sitecopy/remote-site2/)
sitecopy: All the files and directories are marked as NOT updated remotely.
################################
# STEP 3
################################
So I thought: the bug has been introduced since 0.16.3, by the Ubuntu patch.
The file sitecopy_0.16.3.orig.tar.gz found on
https://bugs.launchpad.net/ubuntu/+source/sitecopy/1:0.16.3-6 is strictly
identical to the one that I used in STEP 2, found on the author's website.
I patched it with the diff sitecopy_0.16.3-6.diff.gz, built, and ran it, it
works just as well:
[EMAIL PROTECTED]:~/lab/sitecopy/sitecopy-0.16.3$ ./sitecopy --init site1
sitecopy: Initializing site `site1' (on localhost in
/home/nico/lab/sitecopy/remote-site1/)
sitecopy: All the files and directories are marked as NOT updated remotely.
[EMAIL PROTECTED]:~/lab/sitecopy/sitecopy-0.16.3$ ./sitecopy --init site2
sitecopy: Initializing site `site2' (on localhost in
/home/nico/lab/sitecopy/remote-site2/)
sitecopy: All the files and directories are marked as NOT updated remotely.
################################
# Conclusion (or lack of)
################################
So I am really surprised, it seems to mean that the source does not
correspond to what I got from APT ?
--
Reads only first site in .sitecopyrc
https://launchpad.net/bugs/90121
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs