Ticket #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@…, 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: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.
Note: See
TracTickets for help on using
tickets.


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