Retry on checksum failures?
David Evans
devans at macports.org
Sat Nov 1 14:27:06 PDT 2008
Rainer Müller wrote:
> 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
>
>
How about adding a value for distcheck.check of "checksum" that would
provide this functionality
so there is a choice? As some pointed out, this can be a very heavy
operation for large distributions
with many sites.
Dave
More information about the macports-dev
mailing list