New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16235 (closed enhancement: fixed)

Opened 4 years ago

Last modified 22 months ago

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

Reported by: ryandesign@… Owned by: jmr@…
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

Changed 4 years ago by dluke@…

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

Changed 22 months ago by jmr@…

  • status changed from new to closed
  • summary changed from portindex should support reindexing a single port to portindex should support not reindexing ports that don't need it
  • resolution set to fixed
  • milestone changed from MacPorts Future to MacPorts 1.9.0

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.