<div dir="ltr"><div>Zhenfu and Josh, thanks for explaining.  Now I know what to watch out for next time.</div><div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Feb 14, 2025 at 6:31 PM Zhenfu Shi <<a href="mailto:i0ntempest@macports.org">i0ntempest@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="line-break:after-white-space">A release tarball is like a release binary file where the dev creates manually either with a script or by hand and uploads it to the release page. This project does not have one, the two tarballs under the release notes are automatically generated by GitHub and (I think) is what `github.tarball_from tarball` will get you.<div><br></div><div>Zhenfu</div><div><br><blockquote type="cite"><div>On Feb 15, 2025, at 12:15, Dave Allured - NOAA Affiliate via macports-dev <<a href="mailto:macports-dev@lists.macports.org" target="_blank">macports-dev@lists.macports.org</a>> wrote:</div><br><div><div dir="ltr"><div>This project clearly provides a Github "Releases" page with tarballs listed under each release.  What do you mean by "This project does not provide release tarballs"?  You are probably right, but I need to better under stand the mixed message here.  Thank you for your advice.</div></div></div></blockquote></div></div></blockquote><div> </div><div> On Fri, Feb 14, 2025 at 6:12 PM Joshua Root <<a href="mailto:jmr@macports.org">jmr@macports.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">There are no uploaded assets attached to that release; all that's listed<span class="gmail-Apple-converted-space"> </span><br>are the auto-generated tarballs. So you'll have to use 'archive'.<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="line-break:after-white-space"><div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 14, 2025 at 6:09 PM Zhenfu Shi <<a href="mailto:i0ntempest@macports.org" target="_blank">i0ntempest@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="line-break:after-white-space">This project does not provide release tarballs. Others might, but may use non standard file names such that you need to change distname in your portfile. For this project, use `github.tarball_from archive`.<div><br></div><div>Zhenfu<br><div><br><blockquote type="cite"><div>On Feb 15, 2025, at 11:57, Dave Allured - NOAA Affiliate via macports-dev <<a href="mailto:macports-dev@lists.macports.org" target="_blank">macports-dev@lists.macports.org</a>> wrote:</div><br><div><div dir="ltr">I am trying to switch from "github.tarball_from tarball" to the recommended "releases".  The original "tarball" setting works fine, but "releases" fails to download.  The upstream release and my Portfile lines are:<div><div><br></div><div><a href="https://github.com/Unidata/netcdf-c/releases/tag/v4.9.3" target="_blank">https://github.com/Unidata/netcdf-c/releases/tag/v4.9.3</a><br></div><div>github.setup                Unidata netcdf-c 4.9.3 v<br>github.tarball_from         releases<br></div><div><br></div><div>This makes a download URL which gets "Not Found":</div><a href="https://github.com/Unidata/netcdf-c/releases/download/v4.9.3/netcdf-c-4.9.3.tar.gz" target="_blank">https://github.com/Unidata/netcdf-c/releases/download/v4.9.3/netcdf-c-4.9.3.tar.gz</a><div><br></div><div>I tried many permutations of the numbering and prefix strategy, with no luck.  Is this a bug in the github portgroup, or do I misunderstand how to specify the version number details with "releases"?  Or something else?</div></div></div></div></blockquote></div></div></div></blockquote></div></div>
</div></blockquote></div><br></div></blockquote></div></div>