Skip to content

Commit

Permalink
github-1.0: Use only MacPorts mirrors for "downloads"
Browse files Browse the repository at this point in the history
GitHub no longer hosts the files for the old "uploads" feature which was
accessible via the "downloads" URL so fetch these files only from
MacPorts mirrors now.
  • Loading branch information
ryandesign committed Sep 26, 2024
1 parent 691588e commit 4359c7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _resources/port1.0/group/github-1.0.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ proc handle_tarball_from {option action args} {
github.tarball_from ${args}
switch ${args} {
downloads {
github.master_sites https://github.com/downloads/${github.author}/${github.project}
# GitHub no longer hosts downloads on their servers.
github.master_sites macports_distfiles
default extract.rename no
}
releases {
Expand Down

0 comments on commit 4359c7e

Please sign in to comment.