<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b0997e73046a6681de6c6f0a452400f74102fc90">https://github.com/macports/macports-ports/commit/b0997e73046a6681de6c6f0a452400f74102fc90</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b0997e73046 github-1.0 portgroup: document shortcoming of current archive URLs
</span>b0997e73046 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b0997e73046a6681de6c6f0a452400f74102fc90
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Sat Aug 31 21:32:26 2024 +0900
<span style='display:block; white-space:pre;color:#404040;'> github-1.0 portgroup: document shortcoming of current archive URLs
</span>---
_resources/port1.0/group/github-1.0.tcl | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/github-1.0.tcl b/_resources/port1.0/group/github-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 0dc037aedc4..8d00706552c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/github-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/github-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +38,12 @@ proc handle_tarball_from {option action args} {
</span> default extract.rename no
}
archive {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # FIXME: Generate a more specific URL. When a branch and tag
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # share the same name, this will fail to resolve correctly.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/70652
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives#source-code-archive-urls
</span> github.master_sites ${github.homepage}/archive/${git.branch}
default extract.rename {[expr {[llength ${extract.only}] == 1}]}
}
</pre><pre style='margin:0'>
</pre>