Opened 13 years ago

Closed 11 years ago

#16235 closed enhancement (fixed)

portindex should support not reindexing ports that don't need it

Reported by: ryandesign (Ryan Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 1.9.0
Component: base Version: 1.7.0
Keywords: Cc:
Port:

Description

The portindex script takes several minutes to reindex all of our ports, and this will only get worse as the number of ports grows. Often all that one wants to do is add a new port to the index, or update a single port's entry in the index. portindex should provide a way to accomplish that more quickly than rebuilding the entire index.

This was initially suggested on macports-dev by Joshua Root.

Change History (2)

comment:1 Changed 13 years ago by danielluke (Daniel J. Luke)

A long time ago, this was going to be a feature added along with converting the portindex to a sqlite database.

comment:2 Changed 11 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.9.0
Resolution: fixed
Status: newclosed
Summary: portindex should support reindexing a single portportindex should support not reindexing ports that don't need it

While not what this ticket originally asked for, r66845 makes running portindex fast enough that it doesn't matter.

Note: See TracTickets for help on using tickets.