Opened 16 years ago
Closed 15 years ago
#16235 closed enhancement (fixed)
portindex should support not reindexing ports that don't need it
Reported by: | ryandesign (Ryan Carsten 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 16 years ago by danielluke (Daniel J. Luke)
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.9.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | portindex should support reindexing a single port → portindex 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.
A long time ago, this was going to be a feature added along with converting the portindex to a sqlite database.