Changes between Version 4 and Version 5 of archives


Ignore:
Timestamp:
Aug 13, 2010, 2:56:05 PM (14 years ago)
Author:
nerdling (Jeremy Lavergne)
Comment:

add blurb about daily rebuilding of only updated ports

Legend:

Unmodified
Added
Removed
Modified
  • archives

    v4 v5  
    4141
    4242 = Maintenance of Archive Repository =
     43Each day (really, every 30 minutes) new ports arrive and several are updated. Rather than rebuilding the whole tree you'll want to go after the ones with changes. This is easily achieved by the `find` command.
     44{{{
     45cd /opt/local/var/macports/sources/rsync.macports.org/release/ports
     46sudo port selfupdate
     47find . -name Portfile -mtime -1d  | while read i
     48do
     49    sudo port archive `dirname ${i#.*/*/}`
     50done
     51}}}
     52
    4353As you build archives, you'll eventually come across an instance where you're upgrading an older version. Keeping these outdated archives around might be less than ideal. We can wipe them out by looping through the repository checking the versions against what's current.
    4454{{{