New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19458 (closed enhancement: fixed)

Opened 6 years ago

Last modified 4 years 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

comment:1 Changed 6 years ago by afb@…

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

comment:2 Changed 6 years ago by afb@…

And fix #13143, too.

comment:3 Changed 6 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.

comment:4 Changed 5 years ago by snc@…

  • Cc snc@… added

Cc Me!

comment:5 Changed 4 years 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.