Joerg Jaspert [Tue, 27 Oct 2009 21:20:04 +0000 (22:20 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Add fixes for broken prefix_multi_line_string calls.
Remove unused imports from daklib.
Use more Pythonic "".join over str.join
Chris Lamb [Tue, 27 Oct 2009 21:04:44 +0000 (21:04 +0000)]
Merge branch 'master' of ries.debian.org:/srv/ftp.debian.org/git/dak
* 'master' of ries.debian.org:/srv/ftp.debian.org/git/dak:
Disable check_lintian for now.
clean-queues: Add proper logging
Only lintian reject uploads to unstable or experimental
Fix use of "wayout" name.
dict[k] raises IndexError if does not exist - check with infix 'in' instead.
Actually add a seperator to our --tags-from-file input.
lintian YAML has a "lintian" root element.
Close sourcefile.
Dedent again by returning if lintian doesn't return any content.
Return all the lintian-related rejections, not just the first one.
It's called 'next', not 'continue'. =)
Dedent again by using continue.
Remove one level of indentation by using continue
Simple check for lintian regex
Use set() instead of Perlesque hash[key] = 1
autoreject
Add lintian tags file
Joerg Jaspert [Tue, 27 Oct 2009 20:48:13 +0000 (21:48 +0100)]
Merge commit 'djpig/djpig' into merge
* commit 'djpig/djpig':
clean-queues: Add proper logging
use the id, not the object
add regex import
file -> f
we're already in the changes object
use isinstance
fixup
Joerg Jaspert [Tue, 27 Oct 2009 20:46:42 +0000 (21:46 +0100)]
Merge branch 'merge'
* merge:
Disable check_lintian for now.
Only lintian reject uploads to unstable or experimental
Fix use of "wayout" name.
dict[k] raises IndexError if does not exist - check with infix 'in' instead.
Actually add a seperator to our --tags-from-file input.
lintian YAML has a "lintian" root element.
Close sourcefile.
Dedent again by returning if lintian doesn't return any content.
Return all the lintian-related rejections, not just the first one.
It's called 'next', not 'continue'. =)
Dedent again by using continue.
Remove one level of indentation by using continue
Simple check for lintian regex
Use set() instead of Perlesque hash[key] = 1
autoreject
Add lintian tags file
Joerg Jaspert [Tue, 27 Oct 2009 20:46:30 +0000 (21:46 +0100)]
Merge commit 'lamby/lintian_autoreject' into merge
* commit 'lamby/lintian_autoreject':
Disable check_lintian for now.
Only lintian reject uploads to unstable or experimental
Fix use of "wayout" name.
dict[k] raises IndexError if does not exist - check with infix 'in' instead.
Actually add a seperator to our --tags-from-file input.
lintian YAML has a "lintian" root element.
Close sourcefile.
Dedent again by returning if lintian doesn't return any content.
Return all the lintian-related rejections, not just the first one.
It's called 'next', not 'continue'. =)
Dedent again by using continue.
Remove one level of indentation by using continue
Simple check for lintian regex
Use set() instead of Perlesque hash[key] = 1
autoreject
Add lintian tags file
Chris Lamb [Tue, 27 Oct 2009 20:37:50 +0000 (20:37 +0000)]
Merge branch 'master' of ries.debian.org:/srv/ftp.debian.org/git/dak
* 'master' of ries.debian.org:/srv/ftp.debian.org/git/dak:
let's not reset last_used every time...
old
use the id, not the object
add regex import
clean-suites: Remove trailing whitespace
file -> f
we're already in the changes object
use isinstance
fixup
clean-suites: Fix logic error in during source cleaning
clean-suites: Fix SQLA usage
Fix SQL syntax errors
clean-suites: Use utils.warn for warnings about orphaned files
clean-suites: Add proper logging
daklog: Add username in every log line
Joerg Jaspert [Tue, 27 Oct 2009 14:41:19 +0000 (15:41 +0100)]
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.
...
Chris Lamb [Tue, 27 Oct 2009 14:25:37 +0000 (14:25 +0000)]
Merge branch 'master' into deb-src-3.0-sqla
* master:
Use session.commit_or_flush in some more functions.
Attach commit_or_flush to session object to call either .commit() or .flush()
Add doc for session_wrapper.
process-new: Fix BCC and X-Katie handling
Fix various small bugs
Re-enable BXA notifications
queue: Fix typo
Convert process_new to new APIs
Print a warning if a trainee tries to do something he's not allowed to do
Documentation fixes
Joerg Jaspert [Tue, 27 Oct 2009 14:09:16 +0000 (15:09 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Use session.commit_or_flush in some more functions.
Attach commit_or_flush to session object to call either .commit() or .flush()
Add doc for session_wrapper.
Joerg Jaspert [Tue, 27 Oct 2009 10:05:04 +0000 (11:05 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master':
process-new: Fix BCC and X-Katie handling
Fix various small bugs
Re-enable BXA notifications
queue: Fix typo
Convert process_new to new APIs
Print a warning if a trainee tries to do something he's not allowed to do
Documentation fixes