portindex updates

Joshua Root jmr at macports.org
Sun Nov 9 21:19:50 PST 2008


William Davis wrote:
> I'll try one more time: Ryan made a change that will cause portindex to
> be updated all at once by building it in a temp file and then
> overwritting the old file all at once.
> THEREFORE
> there will be no problem with sections of portindex being locked when
> someone runs selfupdate.
> THEREFORE
> unless there are other constrains, it should now be possible to update
> portindex more often without end-users having problems.

Server-side, the new PortIndex is only committed to svn after it is
finished being regenerated, so an end user could never get a partial
index from rsync.

The issue with there being a partial index was only present when the
index in a local ports tree was rebuilt. The one advantage to end users
of updating the PortIndex more often would be that new ports would be
available sooner.

- Josh


More information about the macports-dev mailing list