[MacPorts] #51599: main.log is never deleted with "keeplogs yes"

MacPorts noreply at macports.org
Sat Dec 10 03:58:03 CET 2016


#51599: main.log is never deleted with "keeplogs yes"
-------------------------+--------------------------------
  Reporter:  ryandesign  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.3.99
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------

Comment (by jmroot):

 Isn't the entire point of that setting to prevent logs from being deleted
 by clean? I don't see the bug here. If your concern is that there is no
 way to delete logs, `port clean --logs` does that.

 For reference, the responsible code in portclean.tcl is
 {{{
 if {(([info exists ports_clean_logs] && $ports_clean_logs eq "yes") ||
 ($keeplogs eq "no"))
         && !$usealtworkpath} {
     clean_logs
 }
 }}}
 and the basic logic there has not changed since 2009 with
 [58be192b342eebd6f73719371ad53011d053c3b9/macports-base].

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


More information about the macports-tickets mailing list