Changes between Version 4 and Version 5 of archives
- Timestamp:
- Aug 13, 2010, 2:56:05 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
archives
v4 v5 41 41 42 42 = Maintenance of Archive Repository = 43 Each 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 {{{ 45 cd /opt/local/var/macports/sources/rsync.macports.org/release/ports 46 sudo port selfupdate 47 find . -name Portfile -mtime -1d | while read i 48 do 49 sudo port archive `dirname ${i#.*/*/}` 50 done 51 }}} 52 43 53 As 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. 44 54 {{{