New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19458 (closed enhancement: fixed)

Opened 3 years ago

Last modified 10 months ago

Combine image and archive modes

Reported by: blb@… Owned by: blb@…
Priority: Normal Milestone: MacPorts 2.0.0
Component: base Version: 1.8.0
Keywords: archive image Cc: nox@…, snc@…
Port:

Description

Combining the image and archive modes into a new image-through-archives and always enabling it buys several advantages:

  • no more need to worry about links for image mode as all inactive ports would simply exist in the archive instead of being fully installed in ${prefix}/var/macports/software
  • configuration settings for these (portinstalltype, portarchivemode, portarchivepath, and portarchivetype) can be removed simplifying code and macports.conf
  • always building/using archives should bring MacPorts closer to supporting install-from-binaries instead of just from source
  • removal of archive-specific targets/actions (since they'd be merged into the activate area) simplifies MacPorts base code

I'll create a branch for development to keep this off of trunk until it is ready for more widespread testing.

Change History

Changed 3 years ago by afb@…

It would also allow for saving disk space, by allowing compression of inactive ports.

Changed 3 years ago by afb@…

And fix #13143, too.

Changed 3 years ago by nox@…

  • cc nox@… added

I think this is a good idea, but telling it will permit to save some disk space seems wrong to me, currently a port consumes almost the same disk space active or inactive, with images-through-archives, an active port will consume twice as much as an inactive port. As most users have only active ports, I think this argument is incorrect.

Changed 15 months ago by snc@…

  • cc snc@… added

Cc Me!

Changed 10 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from MacPorts Future to MacPorts 2.0.0
Note: See TracTickets for help on using tickets.