[MacPorts] #57464: Builtbot: Don't keep huge ports installed

MacPorts noreply at macports.org
Sun Nov 4 13:31:53 UTC 2018


#57464: Builtbot: Don't keep huge ports installed
----------------------------+---------------------
  Reporter:  ryandesign     |      Owner:  admin@…
      Type:  enhancement    |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  buildbot/mpbb  |    Version:
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+---------------------

Comment (by ryandesign):

 Replying to [comment:4 mojca]:
 > Btw: a rule that says "uninstall the port unless something depends on
 it" won't help you a tiny bit in case of Geant

 I understand, I'm just trying to come up with multiple ideas for saving
 space on the workers. One idea is to uninstall huge ports. Another idea is
 to uninstall ports that nothing in MacPorts depends on. I'm not sure which
 would save more space. We could implement one or the other or both. We're
 already saving some space by [ticket:57396 using hfsCompression] on the
 tools prefix. We could save a bit more space by using it on the main
 prefix as well, though that would probably impact performance.

 What would be a good way to identify whether anything in MacPorts depends
 on a port? I would want "anything" to include ports that are not yet
 installed. Do we do something like this?

 {{{
 port=wine-crossover
 if [ -z "$(/opt/local/bin/port echo depends:":$port(\s|$)")" ]; then
     echo uninstall it
 fi
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57464#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list