[MacPorts] #40518: github portgroup github.master_sites should point to .../archive/... not .../tarball/...
MacPorts
noreply at macports.org
Thu Dec 18 20:21:56 PST 2014
#40518: github portgroup github.master_sites should point to .../archive/... not
.../tarball/...
-----------------------------+--------------------------------
Reporter: fred.brunner@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: github |
-----------------------------+--------------------------------
Changes (by ryandesign@…):
* cc: jason-macports@… (added)
Comment:
I've never looked at any version of github API. I've just looked at the
github web site to determine what URLs exist, and coded the github
portgroup to match.
I may some day:
* add archive URL support to the github portgroup via a new option
"`github.tarball_from archive`"
* add "`github.tarball_from tags`" to all ports currently relying on that
being the default, along with a comment advising the portfile author to
remove it and switch to archives with the next update
* change the default for `github.tarball_from` to `archive`
However, since "tags" and "archive" tarballs have exactly the same
contents (with just a different enclosing directory name, and thus a
different checksum), it is not a high priority for me.
Really, the most convincing argument I have right now for doing this is so
that I will no longer need to tell people to stop submitting portfiles in
which they have overridden the github portgroup's default master_sites
with the archive URL, which has happened now more often than I can
remember.
--
Ticket URL: <https://trac.macports.org/ticket/40518#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list