[MacPorts] #59643: Please add port version, revision and variant info the debug output (was: Please add package version and variant info to `make.log`)

MacPorts noreply at macports.org
Sat Nov 9 01:21:48 UTC 2019


#59643: Please add port version, revision and variant info the debug output
--------------------------+--------------------
  Reporter:  lemzwerg     |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------

Old description:

> I've noticed that in `main.log` files there is no information what
> version and variants have been requested – for example,
> {{{
>   ImageMagick @6.9.9-40_7+x11
> }}}
> I suggest to make `port` add this information at the very top of
> `main.log`.  This would also help identify various `make.log` files more
> easily.

New description:

 I've noticed that in `main.log` files there is no information what version
 and variants have been requested – for example,
 {{{
   ImageMagick @6.9.9-40_7+x11
 }}}
 I suggest to make `port` add this information at the very top of
 `main.log`.  This would also help identify various `main.log` files more
 easily.

--

Comment (by ryandesign):

 Replying to [comment:1 jmroot]:
 > This information can be found in the name of the archive that is
 fetched,

 Not if MacPorts doesn't attempt to fetch archives, for example
 [ticket:58696 on the buildbot] where having this information in the logs
 [https://github.com/macports/macports-
 webapp/issues/135#issuecomment-552049924 would have been really helpful].
 Variant information is in the log in an obscure format (the lines reading
 `DEBUG: Executing variant foo provides foo`) but having it in the standard
 `name @version_revision +variants` format would be more natural and
 besides would take up fewer lines in the log, and reducing the number of
 silly things we log would be fantastic.

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


More information about the macports-tickets mailing list