Can selfupdate be done incrementally
Arno Hautala
arno at alum.wpi.edu
Fri Apr 6 19:19:51 PDT 2012
On Fri, Apr 6, 2012 at 20:02, Tim Johnson <tim at akwebsoft.com> wrote:
> * O'Dell James <jim at fpr.com> [120406 13:21]:
>> I have a macports update script and launchd plist that schedules an (self)update to run.
>> I'd be happy to share if anyone wants them.
> Please do. I'd love to see them.
> TIA
Since we're sharing...
I use a weekly launchd task [1] to run a script [2] that updates
MacPorts, fetches and builds the outdated ports, removes the old
inactive versions, and then signs the port archives.
The call to portsign.sh at the end is explained at a the Wiki page on
signing ports [2].
Once the Lion buildbot is complete (sounds like soon!) I may switch
this to daily and update the script to "archivefetch" and "install"
before the current "fetch" and "install".
And yes, I'm keeping these scripts under /usr/local/. It's not
generally a good idea to put things here when running MacPorts, but I
do keep a small number of items in that prefix that I know will not
interfere with MacPorts. I do intend to migrate to a different prefix
at some point.
[1]: https://gist.github.com/2324512
[2]: https://gist.github.com/2324493
[3]: http://trac.macports.org/wiki/howto/ShareArchives2
--
arno s hautala /-| arno at alum.wpi.edu
pgp b2c9d448
More information about the macports-users
mailing list