[MacPorts] #57571: mpbb-install-port should use --unrequested

MacPorts noreply at macports.org
Sun Nov 11 06:06:46 UTC 2018


#57571: mpbb-install-port should use --unrequested
---------------------------+---------------------
 Reporter:  ryandesign     |      Owner:  admin@…
     Type:  enhancement    |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  buildbot/mpbb  |    Version:
 Keywords:                 |       Port:
---------------------------+---------------------
 mpbb-install-dependencies runs `port install` with `--unrequested` but
 mpbb-install-port doesn't. This results in some ports being installed
 requested, and others not, depending on the order in which the builds were
 run.

 For example, on an empty worker, if we build zlib and then libpng (which
 depends on zlib), the first build would mark zlib requested and the second
 would mark libpng requested (and would not change zlib because it is
 already installed), while doing it in the other order would first mark
 zlib unrequested and libpng requested, and the second build would not
 change the marking of zlib because it is already installed.

 Depending on the worker, 72-83% of ports installed are marked requested
 while the remainder are marked unrequested. Is this distinction supposed
 to be useful for something? It doesn't seem useful to me, and I suggest
 all ports should be marked the same way. Marking all ports as unrequested
 would have the advantage that `port leaves` could be used to identify
 ports not being used by other installed ports, which could then be
 uninstalled if the second suggestion from #57464 (have mpbb uninstall a
 port if nothing depends on it) is implemented.

-- 
Ticket URL: <https://trac.macports.org/ticket/57571>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list