Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12081 (closed enhancement: fixed)

Opened 18 months ago

Last modified 13 months ago

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

Reported by: gwhitney@… Owned by: gwhitney@…
Priority: Low Milestone: MacPorts base enhancements
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 (1.0 KB) - added by gwhitney@… 18 months ago.
patch suggested for this RFE

Change History

Changed 18 months ago by gwhitney@…

patch suggested for this RFE

Changed 18 months 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 18 months ago by eridius@…

  • cc gwhitney@… added; gwhitney@… removed

Changed 18 months 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 16 months ago by nox@…

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

Changed 16 months ago by nox@…

  • milestone changed from Port Enhancements to MacPorts base enhancements

Changed 14 months ago by nox@…

  • cc nox@… added

Changed 13 months 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

Note: See TracTickets for help on using tickets.