Ticket #4866 (closed defect: fixed)
Port registry doesn't store epoch of port; outdated fails.
|Reported by:||jberry@…||Owned by:||macports-tickets@…|
Since we don't successfully store the epoch of a port, port installed ignores epoch while reporting which ports are out of date. Thus epoch looses some meaning.
Port upgrade may suffer similar issues.
We probably should:
- Revise the registry to actually store/retreive the epoch.
- Be sure to compare the epoch while comparing port versions in upgrade and outdated (it might be
nice to use a central port version comparison for this purpose).
- It would be nice to jump to sqlite at the same time, though that may be too ambitious--it would
certainly speed up the registry.
- I'm not sure what it would take/imply to add a new field to the current flat registry. I guess additional
fields could default to empty if they don't exist.