[MacPorts] #60269: port archive should be smarter with regards to portarchivetype

MacPorts noreply at macports.org
Sat Mar 28 23:06:34 UTC 2020


#60269: port archive should be smarter with regards to portarchivetype
--------------------------+--------------------
  Reporter:  Lord-Kamina  |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------
Description changed by Lord-Kamina:

Old description:

> Currently, if you have a bunch of ports installed and then decide to
> change portarchivetype to something else; say tgz, port archive isn't
> smart enough to realize you changed that key. As a result, changing
> portarchivetype implies having to uninstall and rebuild all your ports.
>
> There are at least two ways I can think of in which this could be fixed.
> One would be to just decompress the existing archives and recompress them
> in the desired format, another would be to use the registry to just
> create a new archive from the already installed files.

New description:

 Currently, if you have a bunch of ports installed and then decide to
 change portarchivetype to something else; say tgz, port archive isn't
 smart enough to realize you changed that key. As a result, changing
 portarchivetype implies having to uninstall and rebuild all your ports
 (because otherwise it presumably looks in the registry whether there we
 have an archive, it finds the old one and does nothing)

 There are at least two ways I can think of in which this could be fixed.
 One would be to just decompress the existing archives and recompress them
 in the desired format, another would be to use the registry to just create
 a new archive from the already installed files.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/60269#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list