Opened 7 years ago

Last modified 4 years ago

#56183 new enhancement

registry: Remove the receipt_flat storage

Reported by: raimue (Rainer Müller) Owned by:
Priority: Normal Milestone: MacPorts Future
Component: base Version:
Keywords: Cc:
Port:

Description

MacPorts used to have an older storage format for its registry, which is known as "receipt_flat" in base. The "receipt_flat" was already removed, but there is still an upgrade path if such an old registry is detected.

I propose we rip out everything about "receipt_flat", even the existing upgrade path, which is the only code still using it. I doubt anybody still has such an old installation of MacPorts before version 1.9.0, which introduced registry 2.0. The best upgrade path for that would be to completely reinstall MacPorts anyway. We already have checks in both configure and the preflight script that can be updated, as we are already not supporting upgrades of installations older than 1.7.1.

This includes ripping out all calls to open_file_map/close_file_map and open_dep_map/close_dep_map, which are just noop on receipt_sqlite anyway.

Change History (2)

comment:1 Changed 7 years ago by mojca (Mojca Miklavec)

Milestone: MacPorts 2.6.0MacPorts 2.7.0

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

Milestone: MacPorts 2.7.0MacPorts Future

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.