Opened 15 years ago

Closed 13 years ago

#19458 closed enhancement (fixed)

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@…, nerdling (Jeremy Lavergne)
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 (5)

comment:1 Changed 15 years ago by afb@…

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

comment:2 Changed 15 years ago by afb@…

And fix #13143, too.

comment:3 Changed 15 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 13 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.0.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.