Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12224 (closed enhancement: fixed)

Opened 17 months ago

Last modified 16 months ago

RFE: provide ${os.major} instead of local regexps

Reported by: afb@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts base enhancements
Component: base Version: 1.5
Keywords: Cc:
Port:

Description

Provide ${os.major} with the major ${os.version} to use for platform variants and for packaging. Having it in one place makes it easier to modify for different OSes, and less code when using...

Attachments

macports-major.patch (4.0 KB) - added by afb@… 17 months ago.
macports-major.patch

Change History

Changed 17 months ago by afb@…

macports-major.patch

Changed 17 months ago by afb@…

  • component changed from ports to base

Changed 17 months ago by eridius@…

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

Looks good, though there's no reason to use a regexp for this when we can just split on periods. Committed with that change in r26693. Thanks.

Changed 17 months ago by afb@…

Thanks for applying the change, now we can include the ${os.major} when fetching remote packages and when setting up repositories - something like ${os.platform}/${os.major}/${os.arch}...

Changed 17 months ago by afb@…

It should be noted that the patch only adds the variable, it doesn't actually change naming.

Changed 17 months ago by jmpp@…

  • milestone set to Needs developer review

Go to the dev list archive to read my comments on this: http://lists.macosforge.org/pipermail/macports-dev/2007-July/002041.html

Setting milestone to "Needs dev review", hoping we get better traction there.

-jmpp

Changed 16 months ago by jmpp@…

  • milestone changed from Needs developer review to MacPorts base bugs

Milestone Needs developer review deleted

Changed 16 months ago by nox@…

  • priority changed from Expected to Normal
  • summary changed from provide ${os.major} instead of local regexps to RFE: provide ${os.major} instead of local regexps
  • milestone changed from MacPorts base bugs to MacPorts base enhancements
Note: See TracTickets for help on using tickets.