Automatic out-of-dateness checking for base and ports tree
Ryan Schmidt
ryandesign at macports.org
Thu Jun 7 18:50:14 PDT 2007
On Jun 7, 2007, at 20:06, Mark Hattam wrote:
> Couldn't a version check be done when a user attempts a
>
> sudo port install <somesoftware>
>
> and only if the MacPorts version is up to date, then the install
> goes ahead, otherwise it echoes a "please update" warning?
Something like that is what I was thinking, yes.
However, I wouldn't limit it to "port install"; I'd do it on any
"port" command.
Also, I wouldn't check every time, as that would be an unnecessary
load on the server. That's why I suggested a timestamp file and
checking only once a day, say.
More information about the macports-dev
mailing list