Changeset 27065


Ignore:
Timestamp:
Jul 17, 2007, 6:54:08 AM (13 years ago)
Author:
jmpp@…
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}!

Location:
trunk/base/portmgr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/portmgr/mprsyncup

    r27043 r27065  
    55# release tag (as determined by the base/config/RELEASE_URL file) and a ports
    66# tree from trunk (ToT), and then export and sync all of them to the
    7 # ${REPOROOT} location, wherefrom the rsync modules are fed to the `sync'
     7# ${RSYNCROOT} location, wherefrom the rsync modules are fed to the `sync'
    88# and `selfupdate' routines in port(1). Read the base/portmgr/rsync.repos
    99# file for more information on both the necessary rsync modules and filesystem
     
    1111#
    1212# Whatever server uses this script to mirror the MacPorts rsync repositories
    13 # should simply adapt the ${REPOROOT} path variable as necessary (keeping it
     13# should simply adapt the ${RSYNCROOT} path variable as necessary (keeping it
    1414# in sync with the equally named variable in base/portmgr/rsync.repos) and
    1515# install it on cron/launchd with a suitable periodicity, previously discussed
     
    4848
    4949
    50 # Update/checkout trunk's base, export and rsync it to the rsync repos location (${REPOROOT}):
     50# Update/checkout trunk's base, export and rsync it to the rsync repos location (${RSYNCROOT}):
    5151if [ -d ${TBASE}/.svn ]; then
    5252    ${SVN} update ${TBASE}
     
    6161
    6262
    63 # Read what tag we're releasing from, switch to/checkout a copy, export and rsync it to ${REPOROOT}/release/base:
     63# Read what tag we're releasing from, switch to/checkout a copy, export and rsync it to ${RSYNCROOT}/release/base:
    6464read RELEASE_URL < ${TBASE}/${RELEASE_URL_FILE}
    6565if [ ! -n ${RELEASE_URL} ]; then
     
    7979
    8080
    81 # Update/checkout the ports tree, export it and rsync it to ${REPOROOT}/release/ports:
     81# Update/checkout the ports tree, export it and rsync it to ${RSYNCROOT}/release/ports:
    8282if [ -d ${PORTS}/.svn ]; then
    8383  ${SVN} update ${PORTS} 
  • trunk/base/portmgr/rsync.repos

    r27044 r27065  
    55# Two main modules are supplied for current installations off the release branch
    66# and two for backwards compatibility (legacy DarwinPorts namespace). Assuming
    7 # a REPOROOT path of /Volumes/data/rsync/macports/, this file is organized
     7# an RSYNCROOT path of /Volumes/data/rsync/macports/, this file is organized
    88# in the following four modules and filesystem level paths (server side):
    99#
     
    1111# PATHS:
    1212#
    13 # ${REPOROOT}/release: holding a ports tree, exported from a checkout of svn's
     13# ${RSYNCROOT}/release: holding a ports tree, exported from a checkout of svn's
    1414# trunk/dports dir (ToT), and the current release base dir, as determined by
    1515# the base/config/RELEASE_URL file that's read by base/portmgr/mprsyncup;
    1616#
    17 # ${REPOROOT}/trunk: holding an export of a checkout from svn's trunk/base
     17# ${RSYNCROOT}/trunk: holding an export of a checkout from svn's trunk/base
    1818# dir (ToT);
    1919#
    20 # ${REPOROOT}/dpupdate: backwards compatible path & module, a filesystem
     20# ${RSYNCROOT}/dpupdate: backwards compatible path & module, a filesystem
    2121# level (relative) symlink to the trunk path above
    22 #    (relative to ${REPOROOT}: dpupdate --> trunk);
     22#    (relative to ${RSYNCROOT}: dpupdate --> trunk);
    2323#
    24 # ${REPOROOT}/dpupdate1: backwards compatible path & module, a filesystem
     24# ${RSYNCROOT}/dpupdate1: backwards compatible path & module, a filesystem
    2525# level (relative) symlink to the release path
    26 #    (relative to ${REPOROOT}: dpupdate1 --> release).
     26#    (relative to ${RSYNCROOT}: dpupdate1 --> release).
    2727#
    2828#
    29 # Futhermore the ${REPOROOT}/trunk path must also hold a (relative) `dports'
     29# Futhermore the ${RSYNCROOT}/trunk path must also hold a (relative) `dports'
    3030# symlink to `../release/ports', so that a sync operation against
    3131# `dpupdate/ports' for the ports tree works on legacy MacPorts installations
    32 # (DarwinPorts namespace). Overall, the ${REPOROOT} skeleton should look like:
     32# (DarwinPorts namespace). Overall, the ${RSYNCROOT} skeleton should look like:
    3333#
    3434# release/
     
    4343#
    4444# Whatever server uses this file to mirror MacPorts rsync repositories
    45 # should simply adapt the ${REPOROOT} path variable as necessary (keeping
     45# should simply adapt the ${RSYNCROOT} path variable as necessary (keeping
    4646# it in sync with the equally named variable in base/portmgr/mprsyncup)
    4747# and add the listed modules to an already tailored rsyncd.conf file,
Note: See TracChangeset for help on using the changeset viewer.