From ba10892cbe7d3ca03448b352a4d1c8e7e1ddc9bb Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 23 Jul 2007 00:49:56 +0000 Subject: [PATCH] Make the section on uploading package sets a little clearer. --- .../articles/portbuild/article.sgml | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/en_US.ISO8859-1/articles/portbuild/article.sgml b/en_US.ISO8859-1/articles/portbuild/article.sgml index c24c4bc6a3..1a95c9deab 100644 --- a/en_US.ISO8859-1/articles/portbuild/article.sgml +++ b/en_US.ISO8859-1/articles/portbuild/article.sgml @@ -809,7 +809,8 @@ umount: Cleanup of /x/tmp/6-exp/chroot/53837/compat/linux/proc failed! cdrom.sh before preparing the final package set for a release. - Packages can be copied to the staging area on + If you are doing a completely new package set (e.g. for + a new release), copy packages to the staging area on ftp-master with something like the following: &prompt.root; cd /var/portbuild/${arch}/${branch} @@ -829,15 +830,7 @@ umount: Cleanup of /x/tmp/6-exp/chroot/53837/compat/linux/proc failed! For incremental builds, packages should be uploaded using rsync so we do not put too much - strain on the mirrors: - - &prompt.root; rsync -n -r -v -l -t -p --delete packages/ portmgr@ftp-master:w/ports/${arch}/${branch}/ | tee log - - Distfiles can be transferred via - rsync: - - &prompt.root; cd /var/portbuild/${arch}/${branch} -&prompt.root; rsync -r -v -l -p -c -n distfiles/ portmgr@ftp-master:w/ports/distfiles/ | tee log + strain on the mirrors. ALWAYS use -n first with rsync and check the output @@ -845,6 +838,19 @@ umount: Cleanup of /x/tmp/6-exp/chroot/53837/compat/linux/proc failed! rsync without the -n option. + + Example command for incremental package upload: + + &prompt.root; rsync -n -r -v -l -t -p --delete packages/ portmgr@ftp-master:w/ports/${arch}/${branch}/ | tee log + + Distfiles can also be transferred via + rsync: + + &prompt.root; cd /var/portbuild/${arch}/${branch} +&prompt.root; rsync -n -r -v -l -p -c -n distfiles/ portmgr@ftp-master:w/ports/distfiles/ | tee log + + Again, run the command without the -n + option after you have checked it.