New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12081 (closed enhancement: fixed)

Opened 5 years ago

Last modified 2 years ago

RFE: base-1.4.42 Display descriptions of active variants in port info

Reported by: gwhitney@… Owned by: gwhitney@…
Priority: Low Milestone:
Component: base Version: 1.4.42
Keywords: port info variant Cc: gwhitney@…, eridius@…, ryandesign@…, nox@…
Port:

Description

This suggestion is split off from Ticket #11891. One chunk of the patch there added the functionality that port info foo +bar would incorporate the description of variant bar into the long_description of port foo. That's a logically separate suggestion from the bugfix in that ticket, and so should be evaluated and committed separately.

I will attach the relevant portion of that patch to this ticket.

Attachments

portinfovariants.patch Download (1.0 KB) - added by gwhitney@… 5 years ago.
patch suggested for this RFE

Change History

Changed 5 years ago by gwhitney@…

patch suggested for this RFE

Changed 5 years ago by eridius@…

The idea sounds useful, but I would recommend making the change in the info command directly, not mutating long_description. There is a separation between the port(1) command and the macports infrastructure. If I write an external tool and I want to fetch information about the file, I may not want the variant descriptions tacked on to the end when I ask it for the long_description.

Changed 5 years ago by eridius@…

  • cc gwhitney@… added; gwhitney@… removed

Changed 5 years ago by gwhitney@…

  • owner changed from macports-dev@… to gwhitney@…
  • status changed from new to assigned

OK, I will reimplement this change to work inside of the port info command, rather than modify the long_description string. I'll check in the reimplemented version when I have a chance.

Changed 5 years ago by nox@…

  • priority changed from Nice to have to Low
  • cc gwhitney@…, eridius@…, ryandesign@… added; gwhitney@… removed
  • milestone set to Port Enhancements

Changed 4 years ago by nox@…

  • milestone changed from Port Enhancements to MacPorts base enhancements

Changed 4 years ago by nox@…

  • cc nox@… added

Changed 4 years ago by jmpp@…

  • status changed from assigned to closed
  • resolution set to fixed

This has been integrated into base for a while already by Kevin (eridius), though I don't remember in what svn revision / MacPorts release.

-jmpp

Changed 2 years ago by jmr@…

  • milestone MacPorts Future deleted
Note: See TracTickets for help on using tickets.