#17157: Update PortIndex incrementally so it is always current -----------------------------------+---------------------------------------- Reporter: frstan@bellsouth.net | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.7.0 Resolution: | Keywords: portindex update Port: | -----------------------------------+---------------------------------------- Comment(by raimue@macports.org): Replying to [comment:5 blb@…]:
Replying to [comment:4 raimue@…]:
If portindex gets faster, we could even generate it on the client side only by adding it to 'port sync'.
Wouldn't that require us to either pay attention to what rsync is updating, or to crawl through afterwards looking for newer files? The latter works also for file:// synced via svn.
Yes, my idea was to store the last modified timestamp of a Portfile in the PortIndex and only update the entry if the file is newer, by using the incremental portindex (as described in #16235). This should work for every sync method. -- Ticket URL: <http://trac.macports.org/ticket/17157#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS