[MacPorts] #14141: Variant names cannot contain hyphens; guide should mention this
#14141: Variant names cannot contain hyphens; guide should mention this -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Website & Documentation Component: guide | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- Variant names may not contain a hyphen. (For example: "`variant no-x11`" would be wrong.) Underscores should be used instead (e.g. "`variant no_x11`"). The guide should mention this in the section on writing portfiles. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14141> MacPorts </projects/macports> Ports system for Mac OS
#14141: Variant names cannot contain hyphens; guide should mention this --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: markd@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Website & Documentation Component: guide | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by markd@macports.org): * status: new => closed * resolution: => fixed Comment: I made modifications in #33664, #33665, and #33666. I'm closing the ticket, but feel free to critique the mods and reopen to make further suggestions if you like. There is always room for improvement. Thanks for catching this! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14141#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14141: Guide should say what characters are valid in variant names --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: markd@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Website & Documentation Component: guide | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * status: closed => reopened * resolution: fixed => * summary: Variant names cannot contain hyphens; guide should mention this => Guide should say what characters are valid in variant names Comment: Thanks for your quick response! But actually, rather than just mention that the hyphen is invalid, let's mention what is valid. All our ports' variant names right now use just the letters A-Z and a-z, numbers 0-9 and the underscore, so I think that's the list of valid characters we should publish in the guide. It's still worth mentioning specifically that the hyphen is invalid, since people seem to want to use that, and a handful of ports' variant names still use the hyphen; I'll work with those port maintainers to remove those. Related: `port lint` should warn on illegal variant names; see #14147. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14141#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14141: Guide should say what characters are valid in variant names --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: markd@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Website & Documentation Component: guide | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by markd@macports.org): Okay, take a look at r33774 and r33775 and see how that looks. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14141#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14141: Guide should say what characters are valid in variant names --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: markd@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Website & Documentation Component: guide | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by markd@macports.org): * status: reopened => closed * resolution: => fixed -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14141#comment:4> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts