Opened 11 years ago

Closed 10 years ago

#42273 closed enhancement (fixed)

Support release downloads in GitHub portgroup

Reported by: bgilbert (Benjamin Gilbert) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: cooljeanius (Eric Gallager), petrrr, anddam (Andrea D'Amore)
Port:

Description

After deprecating the "downloads" system for release tarballs, GitHub later reinstated the ability to upload tarballs via the "releases" system, which uses different URLs. Allow portfiles to specify github.tarball_from releases to set master_sites appropriately.

These ports currently have master_sites pointing at the GitHub releases system:

  • python/py-ipython
  • python/py-sympy
  • science/erfa

Attachments (2)

github-releases.patch (1.6 KB) - added by bgilbert (Benjamin Gilbert) 11 years ago.
github-1.0.tcl patch
patch-github_portgroup.diff (1.8 KB) - added by anddam (Andrea D'Amore) 11 years ago.
use github.homepage

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by bgilbert (Benjamin Gilbert)

Attachment: github-releases.patch added

github-1.0.tcl patch

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: ryandesign@… added
Component: baseports

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks, that looks simple enough. I'll probably refactor the code a little before committing.

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:5 Changed 11 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:6 Changed 11 years ago by anddam (Andrea D'Amore)

Looks good to me, I added a note to the release branch since I myself got confused there.

Changed 11 years ago by anddam (Andrea D'Amore)

Attachment: patch-github_portgroup.diff added

use github.homepage

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.