Unversioned distfile cached on distfiles.macports.org

Joshua Root jmr at macports.org
Sat Jun 5 21:38:55 UTC 2021


On 2021-6-6 07:36 , Gregory Anders wrote:
> Hi all,
> 
> I maintain the netdata port which includes a subport for the web 
> dashboard. This subport's distfile is called simply "dashboard.tar.gz", 
> with no version number in the name. The distfile is cached by MacPorts 
> at https://distfiles.macports.org/netdata. The problem I'm having is 
> that when I try to increment the version number of this subport MacPorts 
> is still downloading the distfile from distfiles.macports.org rather 
> than the updated file from GitHub.
> 
> What is the proper way to handle a situation like this? Can I somehow 
> tell MacPorts not to cache this file? Or can I add something to the 
> Portfile that indicates that MacPorts shouldn't try to download the 
> distfile from the cache?

<https://trac.macports.org/wiki/PortfileRecipes#unversioned-distfiles>

- Josh


More information about the macports-dev mailing list