Retry on checksum failures?
Rainer Müller
raimue at macports.org
Sat Nov 1 13:39:38 PDT 2008
David Evans wrote:
> According to the guide:
>
> Distcheck reports whether or not the distfile(s) specified in a Portfile
> are still available on the developer's download site.
>
> And it says that the default for distcheck.check is "moddate". So my
> undertanding is that it attempts to fetch the moddate for the file which
> allows it to test if the site if available and the file exists and that
> it is older than
> the Portfile.
You are right. Sorry, I was mistakenly assuming it is also comparing
checksums...
[...]
> What I was looking for was a maintainer command (or even external
> utility) that would essentially do
> the fetch and checksum phases iteratively for each site in master_sites
> and report any errors as a
> warning message.
So I suppose we should extend distcheck to also generate and compare
distcheck. I don't think an external tool would be easy to write, since
it would only work for fetch.type == "standard".
Rainer
More information about the macports-dev
mailing list