New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31591 (closed defect: fixed)

Opened 20 months ago

Last modified 16 months ago

the most recent version of rebar is hosted on github

Reported by: ciserlohn@… Owned by: cal@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: mail@…, kenny.macdermid@…
Port: rebar

Description

The most recent version of rebar is hosted on github: https://github.com/basho/rebar

The version on bitbucket seems to be outdated.

Attachments

Portfile (1.4 KB) - added by kenny.macdermid@… 17 months ago.
Portfile to use github
Portfile.diff (854 bytes) - added by mail@… 16 months ago.
Diff for port with change to github and a new version number
Portfile.2.diff (916 bytes) - added by mail@… 16 months ago.
Added a commit id for reproducable builds

Change History

comment:1 Changed 17 months ago by kenny.macdermid@…

Version from bitbucket is no longer available. I'll attach an updated Portfile that works for me.

Changed 17 months ago by kenny.macdermid@…

Portfile to use github

comment:2 Changed 17 months ago by kenny.macdermid@…

  • Cc kenny.macdermid@… added

Cc Me!

Changed 16 months ago by mail@…

Diff for port with change to github and a new version number

comment:3 Changed 16 months ago 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 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.

Changed 16 months ago by mail@…

Added a commit id for reproducable builds

comment:4 Changed 16 months ago by mail@…

The tag RELEASE-1 is very old (18.12.2009), so it is not a good idea to take that tag :(. I have added the current commit id and i will check from time to time, if there is a newer version available, test it and add a new ticket with the diff.

That was the reason, why i took the master.

comment:5 Changed 16 months ago by cal@…

  • Owner changed from macports-tickets@… to cal@…
  • Status changed from new to assigned

comment:6 Changed 16 months ago by cal@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Commited in r89708.

Note: See TracTickets for help on using tickets.