[27065] trunk/base/portmgr

source_changes at macosforge.org source_changes at macosforge.org
Mon Jul 16 23:54:09 PDT 2007


Revision: 27065
          http://trac.macosforge.org/projects/macports/changeset/27065
Author:   jmpp at macports.org
Date:     2007-07-16 23:54:08 -0700 (Mon, 16 Jul 2007)

Log Message:
-----------

No matter how many times you look at it, you'll always miss something until someone else takes a look!
Thanks to Mark Duling for pointing out ${REPOROOT}'s bogusness, it's ${RSYNCROOT}!

Modified Paths:
--------------
    trunk/base/portmgr/mprsyncup
    trunk/base/portmgr/rsync.repos

Modified: trunk/base/portmgr/mprsyncup
===================================================================
--- trunk/base/portmgr/mprsyncup	2007-07-17 04:29:46 UTC (rev 27064)
+++ trunk/base/portmgr/mprsyncup	2007-07-17 06:54:08 UTC (rev 27065)
@@ -4,13 +4,13 @@
 # Script to checkout/update base sources from both trunk (ToT) and the current
 # release tag (as determined by the base/config/RELEASE_URL file) and a ports
 # tree from trunk (ToT), and then export and sync all of them to the
-# ${REPOROOT} location, wherefrom the rsync modules are fed to the `sync'
+# ${RSYNCROOT} location, wherefrom the rsync modules are fed to the `sync'
 # and `selfupdate' routines in port(1). Read the base/portmgr/rsync.repos
 # file for more information on both the necessary rsync modules and filesystem
 # level paths, which this script bootstraps.
 #
 # Whatever server uses this script to mirror the MacPorts rsync repositories
-# should simply adapt the ${REPOROOT} path variable as necessary (keeping it
+# should simply adapt the ${RSYNCROOT} path variable as necessary (keeping it
 # in sync with the equally named variable in base/portmgr/rsync.repos) and
 # install it on cron/launchd with a suitable periodicity, previously discussed
 # with the portmgr@ team (macports-mgr at lists.macosforge.org). Repositories
@@ -47,7 +47,7 @@
 RELEASE_URL_FILE=config/RELEASE_URL
 
 
-# Update/checkout trunk's base, export and rsync it to the rsync repos location (${REPOROOT}):
+# Update/checkout trunk's base, export and rsync it to the rsync repos location (${RSYNCROOT}):
 if [ -d ${TBASE}/.svn ]; then
     ${SVN} update ${TBASE}
 else
@@ -60,7 +60,7 @@
 ${RSYNC} -a -I --delete ${TBASE}-export/ ${RSYNCROOT}/trunk/base && rm -rf ${TBASE}-export
 
 
-# Read what tag we're releasing from, switch to/checkout a copy, export and rsync it to ${REPOROOT}/release/base:
+# Read what tag we're releasing from, switch to/checkout a copy, export and rsync it to ${RSYNCROOT}/release/base:
 read RELEASE_URL < ${TBASE}/${RELEASE_URL_FILE}
 if [ ! -n ${RELEASE_URL} ]; then
     echo "no RELEASE_URL specified in svn trunk, baling out"
@@ -78,7 +78,7 @@
 ${RSYNC} -a -I --delete ${RBASE}-export/ ${RSYNCROOT}/release/base && rm -rf ${RBASE}-export
 
 
-# Update/checkout the ports tree, export it and rsync it to ${REPOROOT}/release/ports:
+# Update/checkout the ports tree, export it and rsync it to ${RSYNCROOT}/release/ports:
 if [ -d ${PORTS}/.svn ]; then
   ${SVN} update ${PORTS}  
 else

Modified: trunk/base/portmgr/rsync.repos
===================================================================
--- trunk/base/portmgr/rsync.repos	2007-07-17 04:29:46 UTC (rev 27064)
+++ trunk/base/portmgr/rsync.repos	2007-07-17 06:54:08 UTC (rev 27065)
@@ -4,32 +4,32 @@
 # 
 # Two main modules are supplied for current installations off the release branch
 # and two for backwards compatibility (legacy DarwinPorts namespace). Assuming
-# a REPOROOT path of /Volumes/data/rsync/macports/, this file is organized
+# an RSYNCROOT path of /Volumes/data/rsync/macports/, this file is organized
 # in the following four modules and filesystem level paths (server side):
 #
 #
 # PATHS:
 #
-# ${REPOROOT}/release: holding a ports tree, exported from a checkout of svn's
+# ${RSYNCROOT}/release: holding a ports tree, exported from a checkout of svn's
 # trunk/dports dir (ToT), and the current release base dir, as determined by
 # the base/config/RELEASE_URL file that's read by base/portmgr/mprsyncup;
 #
-# ${REPOROOT}/trunk: holding an export of a checkout from svn's trunk/base
+# ${RSYNCROOT}/trunk: holding an export of a checkout from svn's trunk/base
 # dir (ToT);
 #
-# ${REPOROOT}/dpupdate: backwards compatible path & module, a filesystem
+# ${RSYNCROOT}/dpupdate: backwards compatible path & module, a filesystem
 # level (relative) symlink to the trunk path above
-#    (relative to ${REPOROOT}: dpupdate --> trunk);
+#    (relative to ${RSYNCROOT}: dpupdate --> trunk);
 #
-# ${REPOROOT}/dpupdate1: backwards compatible path & module, a filesystem
+# ${RSYNCROOT}/dpupdate1: backwards compatible path & module, a filesystem
 # level (relative) symlink to the release path
-#    (relative to ${REPOROOT}: dpupdate1 --> release).
+#    (relative to ${RSYNCROOT}: dpupdate1 --> release).
 #
 # 
-# Futhermore the ${REPOROOT}/trunk path must also hold a (relative) `dports'
+# Futhermore the ${RSYNCROOT}/trunk path must also hold a (relative) `dports'
 # symlink to `../release/ports', so that a sync operation against
 # `dpupdate/ports' for the ports tree works on legacy MacPorts installations
-# (DarwinPorts namespace). Overall, the ${REPOROOT} skeleton should look like:
+# (DarwinPorts namespace). Overall, the ${RSYNCROOT} skeleton should look like:
 #
 # release/
 # release/base/
@@ -42,7 +42,7 @@
 #
 #
 # Whatever server uses this file to mirror MacPorts rsync repositories
-# should simply adapt the ${REPOROOT} path variable as necessary (keeping
+# should simply adapt the ${RSYNCROOT} path variable as necessary (keeping
 # it in sync with the equally named variable in base/portmgr/mprsyncup)
 # and add the listed modules to an already tailored rsyncd.conf file,
 # as no other particular configuration options are supplied. Repositories

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070716/92f46ac5/attachment.html


More information about the macports-changes mailing list