[MacPorts] #55508: autorequested (mark some unrequested leaves as requested)
MacPorts
noreply at macports.org
Tue Dec 12 21:54:31 UTC 2017
#55508: autorequested (mark some unrequested leaves as requested)
-------------------------+-----------------
Reporter: eiked | Owner:
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
-------------------------+-----------------
I frequently upgrade my ports.
From time to time I like to cleanup.
I therfor invoke:
{{{
port uninstall inactive
port uninstall leaves
}}}
But the leaves include some stuff that will be needed on the next
{{{
port selfupdate
port upgrade outdated
}}}
again.
This is not so much of a problem on a modern, fast machine,
but on old and slow machines where not even prebuild binaries are
available,
this becomes a drag.
(just upgrading an 400Mhz Tiger machine)
I am well aware of:
{{{
port setrequested ...
}}}
I found that some of the ports are used very frequently by other ports
(curl)
and/or are very tedious to rebuild on a slow machine (boost)
**I'd like to suggest**
- there should be a list of ports that are //autorequested// by default
- it should be possible to modify or disable this list
---
I know that this will be highly controversial.
This breaks the current assumption,
that only first hand manually installed ports are marked as requested.
But I have encountered this problem so many times now,
that I believe that this could improve the ease of using macports.
---
Sidenotes:
In theory:
{{{
leaves: installed ports that are unrequested and have no dependents
}}}
Which I believe works as expected,
but breaks my expectations on
{{{
port uninstall leaves
}}}
or alternatively we need something like:
{{{
port cleanup
}}}
---
Thanks to everyone working on macports.
works like a charme!
--
Ticket URL: <https://trac.macports.org/ticket/55508>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list