diff options
author | Christoph Goehre <chris@sigxcpu.org> | 2010-05-30 17:37:43 +0200 |
---|---|---|
committer | Christoph Goehre <chris@sigxcpu.org> | 2010-05-30 19:15:44 +0200 |
commit | df7be9f55ab42ea677e8937faf8f01b8a1630dc8 (patch) | |
tree | fb702c7f10a477d96a6974e6b8e52f5cccefd097 | |
parent | 3f611decfeb9870f2b2dea4080bbfe628d28446b (diff) | |
download | mini-dinstall-df7be9f55ab42ea677e8937faf8f01b8a1630dc8.tar.bz2 mini-dinstall-df7be9f55ab42ea677e8937faf8f01b8a1630dc8.tar.xz mini-dinstall-df7be9f55ab42ea677e8937faf8f01b8a1630dc8.tar.zst |
support Source format 3.0
Allow to upload tar files compressed with gzip, bzip2, lzma and xz.
Upstream tarballs could split into several files.
Closes: #571226
-rwxr-xr-x | mini-dinstall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mini-dinstall b/mini-dinstall index 274527c..ddbc629 100755 --- a/mini-dinstall +++ b/mini-dinstall @@ -38,8 +38,8 @@ debchanges_re = re.compile('([-a-z0-9+.]+)_(.+?)_([-a-zA-Z0-9]+)\.changes$') debpackage_re = re.compile('([-a-z0-9+.]+)_(.+?)_([-a-zA-Z0-9]+)\.u?deb$') debsrc_dsc_re = re.compile('([-a-z0-9+.]+)_(.+?)\.dsc$') debsrc_diff_re = re.compile('([-a-z0-9+.]+)_(.+?)\.diff\.gz$') -debsrc_orig_re = re.compile('([-a-z0-9+.]+)_(.+?)\.orig\.tar\.gz$') -debsrc_native_re = re.compile('([-a-z0-9+.]+)_(.+?)\.tar\.gz$') +debsrc_orig_re = re.compile('([-a-z0-9+.]+)_(.+?)\.orig[-a-z0-9]*\.tar\.(gz|bz2|lzma|xz)$') +debsrc_native_re = re.compile('([-a-z0-9+.]+)_(.+?)\.tar\.(gz|bz2|lzma|xz)$') native_version_re = re.compile('\s*.*-'); |