On Saturday 19 December 2009, Loïc Minier wrote:
>  Problem is that:
>     remote_get("dists/$dist/Release.gpg", "$tempdir/.tmp");
>  increments $num_errors at some level.

Yep.

>  So perhaps remote_get should take an ignore errors arg, or perhaps the
>  errors array should be backed up / restored around that call as well;

I've implemented the last option. Without your reply I probably would have 
left the errors in, so your testing was still useful. Thanks!

>  another way is to simply not try downloading Release.gpg at all, but I
>  think some people might want to download them without verifying the
>  signature

Right. I think that if the file is there it should be mirrored. In the 
final version of the patch I've also documented that behavior correctly in 
the man page.

Cheers,
FJP



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to