From: Joerg Jaspert Date: Tue, 27 Oct 2009 14:41:19 +0000 (+0100) Subject: Merge commit 'lamby/deb-src-3.0-sqla' into merge X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=28f3e6f0659504214d482d682f4b2b4791872cc6;p=dak.git Merge commit 'lamby/deb-src-3.0-sqla' into merge * commit 'lamby/deb-src-3.0-sqla': (29 commits) Drop lzma support. Only enable not-"1.0" formats on t-p-u and unstable and experimental. Reject uploads that contain a native tarball and a diff. dak heresy Fix reference to cls.requires. Add unittest.main() to test_regexes. Add shebang to regex tests. Simplify rejecting logic Avoid if/elif/elif.. with lookup table. Use loop to check for illegal duplication of file types in .dsc Use a collections.defaultdict to avoid boilerplate definitions. Correct grammar when rejecting a package with insufficient files. Require source formats to have a name and interpolate it when returning msgs Compare with None using "is", not "==" Remove has_ prefix inside srcformats. Don't pass dsc_filename to reject_msgs; prepend it in check_dsc_files. Move rejection message generation into srcformats Add regex to match .dsc "Format: lala" value and compile it on creation. Add SourceFormat class and track definitions with metaclass Make dbconn.get_suite_src_formats use @session_wrapper. ... Signed-off-by: Joerg Jaspert --- 28f3e6f0659504214d482d682f4b2b4791872cc6