X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fregexes.py;h=47e6ab2c9f255402d23878eccfb0be903abf1761;hb=77dc932880d95b604f1e4c7527403804fb7a833c;hp=3d7d7a8bf534031781ef697776784502db9fbe98;hpb=64e27826913d0bdf1700a9e025773899e12f3500;p=dak.git diff --git a/daklib/regexes.py b/daklib/regexes.py index 3d7d7a8b..47e6ab2c 100755 --- a/daklib/regexes.py +++ b/daklib/regexes.py @@ -113,7 +113,7 @@ re_build_dep_arch = re.compile(r"\[[^]]+\]") re_broken_package = re.compile(r"[a-zA-Z]\w+\s+\-.*") # From dak/add_user.py -re_gpg_fingerprint = re.compile(r"^fpr:+(.*):$", re.MULTILINE); +re_gpg_fingerprint_colon = re.compile(r"^fpr:+(.*):$", re.MULTILINE); # The next one is dirty re_user_address = re.compile(r"^pub:.*<(.*)@.*>.*$", re.MULTILINE); re_user_mails = re.compile(r"^(pub|uid):[^rdin].*<(.*@.*)>.*$", re.MULTILINE); @@ -124,3 +124,7 @@ re_parse_lintian = re.compile(r"^(?PW|E|O): (?P.*?): (?P[^ # in process-upload re_match_expired = re.compile(r"^The key used to sign .+ has expired on .+$") + +# in generate-releases +re_gensubrelease = re.compile (r".*/(binary-[0-9a-z-]+|source)$") +re_includeinrelease = re.compile (r"(Contents-[0-9a-z-]+.gz|Index|Packages(.gz|.bz2)?|Sources(.gz|.bz2)?|MD5SUMS|Release)$")