Hello,

great idea, but already implemented since 0.8, see (#786712 for the
wishlist bug): :-)


man(1) duck:
...
FILES
       debian/duck-overrides
              Overrides-file in the Debian package  source  tree.
              This  files  contains  a  list  of URL regexs which
              should not be reported as down/broken.  This  might
              be  useful  in cases, where URLs are extracted from
              old/outdated copyright-files or patches, which will
              never  ever be working, and which will then lead to
              false  positives.  Please   see   an   example   in
              /usr/share/doc/duck/examples.


So for your package, create a debian/duck-overrides, with the following
line:


http://owl.phy.queensu.ca/~phil/exiftool/


This will skip checking URLs matching this regex, which should be a
temporary workaround for your issue, but i know this is not a real
solution.

I currently work on #826694, which  also suggests only trusting in
certificates installed by ca-certificates. So i think i will only
suggest HTTPS if the certificate presented by the server is "valid".

Bye,

Simon




Am 2016-06-13 um 20:38 schrieb gregor herrmann:
> Package: duck
> Version: 0.9
> Severity: wishlist
> 
> I just stumbled upon a case where duck suggests to switch a homepage
> URL from http to https; yay \o/
> But when I opened the URL in firefox I got a certificate problem
> page. [0]
> 
> So far this is similar to #826694 (which I only detected later) but
> my immediate idea upon seeing the problem was that it would be nice
> to have a file debian/<package>.duck-overrides or
> debian/source/duck-overrides in the spirit of lintian overrides, so I
> could note down the issue (as in: I've seen it but I don't want to
> follow duck's advice right now for $reason.)
> 
> Just an idea :)
> 
> Thanks for writing and improving duck!
> 
> Cheers,
> gregor
> 
> 
> [0]
> FTR: This is libimage-exiftool-perl and
> 
> I: debian/control: Homepage: http://owl.phy.queensu.ca/~phil/exiftool/: 
> INFORMATION (Certainty:certain)
>    The web page at http://owl.phy.queensu.ca/~phil/exiftool/ works, but is 
> also available via https://owl.phy.queensu.ca/~phil/exiftool/, please 
> consider switching to HTTPS urls.
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to