[MacPorts] #31591: the most recent version of rebar is hosted on github
MacPorts
noreply at macports.org
Tue Jan 31 05:23:35 PST 2012
#31591: the most recent version of rebar is hosted on github
------------------------------------+---------------------------------------
Reporter: ciserlohn@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: rebar
------------------------------------+---------------------------------------
Comment(by cal@…):
Note that pulling from whatever master is at the time of pulling is
usually not how we handle packaging git sources, since we aim for
reproducible builds. Please add a suitable commit-ish as specified by the
git manual as "git.branch <commitish>" to the Portfile.
You can also simplify your effort by using the recently created github
portgroup [source:trunk/dports/_resources/port1.0/group/github-1.0.tcl]:
{{{
github.setup basho rebar <commitish>
# github.setup sets version to it's third argument, but sha1 hashes aren't
strictly increasing and thus can't be used as version
version <some version number, which should be always increasing, e.g. date
+%Y-%m-%d>
}}}
and instead you can drop `name`, `homepage`, `fetch.*`, `git.*` and you
automatically get livecheck. Also consider using the tag RELEASE-1.
--
Ticket URL: <https://trac.macports.org/ticket/31591#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list