> Here is  another proposition: we allow  the user to apply  a regexp that
> will be stripped from the version. If debsecan is called with:
>   --strip-version '~bpo.\d+$'
> then, backports version will  be compared against their testing/unstable
> counterparts.

Since backports.org is (pseudo?)official, and it's very unlikely to see a 
~bpo.\d+ version on a package not coming from backports.org, can't we just 
hardcode that any ~bpo.\d+ version is stripped off automatically before the 
compare?

Vincent's last patch can be useful but I would propose to add ~bpo.\d+ by 
default to the list of strippable regexps...


Thijs

Attachment: pgpcbbbQGyEVl.pgp
Description: PGP signature

Reply via email to