Opened 5 years ago

Last modified 3 years ago

#59643 closed enhancement

Please add port version, revision and variant info the debug output — at Version 3

Reported by: lemzwerg (Werner Lemberg) Owned by:
Priority: Normal Milestone: MacPorts 2.7.0
Component: base Version:
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (3)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

This information can be found in the name of the archive that is fetched, but sure, why not.

comment:2 Changed 5 years ago by jmroot (Joshua Root)

Type: requestenhancement

comment:3 in reply to:  1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: Please add package version and variant info to `make.log`Please add port version, revision and variant info the debug output

Replying to 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 on the buildbot where having this information in the logs 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.

Note: See TracTickets for help on using tickets.