X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fregexes.py;h=187a5f891afecf87e4b6c31b940830a423a038e8;hb=677028bf7a3cac6ebf910f9e39a88360f0a4a6d7;hp=3d7d7a8bf534031781ef697776784502db9fbe98;hpb=64e27826913d0bdf1700a9e025773899e12f3500;p=dak.git diff --git a/daklib/regexes.py b/daklib/regexes.py index 3d7d7a8b..187a5f89 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_getsarelease = re.compile (r".*/(binary-[0-9a-z-]+|source)$") +re_includeinarelease = re.compile (r"(Contents-[0-9a-z-]+.gz|Index|Packages(.gz|.bz2)?|Sources(.gz|.bz2)?|MD5SUMS|Release)$")