Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#59643 closed enhancement (fixed)

Please add port version, revision and variant info the debug output

Reported by: lemzwerg (Werner Lemberg) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.7.0
Component: base Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
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 (6)

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.

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

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

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In d484695545bac023d17ad1da41e5abd62279765c/macports-base (master):

Log port version and variants

Closes: #59643

comment:6 Changed 4 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.7.0
Note: See TracTickets for help on using tickets.