[MacPorts] #56183: registry: Remove the receipt_flat storage
MacPorts
noreply at macports.org
Thu Mar 29 16:31:20 UTC 2018
#56183: registry: Remove the receipt_flat storage
-------------------------+----------------------------
Reporter: raimue | Owner:
Type: enhancement | Status: new
Priority: Normal | Milestone: MacPorts 2.6.0
Component: base | Version:
Keywords: | Port:
-------------------------+----------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/56183>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list