Ticket #14482 (closed enhancement: fixed)
RFE: Global variant descriptions (per source)
| Reported by: | raimue@… | Owned by: | raimue@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.7.0 |
| Keywords: | variants descriptions | Cc: | |
| Port: |
Description
There are variants which are used on multiple ports. To provide a consistent experience, these should get only one place for their description.
Proposal:
- Add a file ${sourcepath}/.config/variant_descriptions to each source
- The file should be formatted in Tcl style as follows:
name1 {The description of name1 variant} name2 {Insert description here} - If no description was given in the Portfile itself, port variants will read this file (if present) and display the variant description from there
- port lint should be tweaked to check for existance of global variant descriptions before spitting out warnings
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

