Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12081 closed enhancement (fixed)

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, kballard (Lily Ballard), ryandesign (Ryan Carsten Schmidt), 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 (1)

portinfovariants.patch (1.0 KB) - added by gwhitney 17 years ago.
patch suggested for this RFE

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by gwhitney

Attachment: portinfovariants.patch added

patch suggested for this RFE

comment:1 Changed 17 years ago by kballard (Lily Ballard)

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.

comment:2 Changed 17 years ago by kballard (Lily Ballard)

Cc: gwhitney@… added; gwhitney@… removed

comment:3 Changed 17 years ago by gwhitney

Owner: changed from macports-dev@… to gwhitney@…
Status: newassigned

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.

comment:4 Changed 17 years ago by nox@…

Cc: gwhitney@… eridius@… ryandesign@… added; gwhitney@… removed
Milestone: Port Enhancements
Priority: Nice to haveLow

comment:5 Changed 17 years ago by nox@…

Milestone: Port EnhancementsMacPorts base enhancements

comment:6 Changed 17 years ago by nox@…

Cc: nox@… added

comment:7 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Resolution: fixed
Status: assignedclosed

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

comment:8 Changed 15 years ago by jmroot (Joshua Root)

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