Joerg Jaspert [Thu, 29 Oct 2009 10:14:59 +0000 (11:14 +0100)]
symlinks
no longer call symlinks in every dinstall run. instead call it once per
week.
Also call it in di-byhand, just to ensure there isnt any symlink going wrong
there.
Joerg Jaspert [Wed, 28 Oct 2009 16:56:00 +0000 (17:56 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Drop the SourceFormat-specific validate_format classmethods.
Don't validate a .changes Format as a source package version format (!)
Add validate_changes_format utility.
Move parse_format tests to test_formats.py
Move parse_format into daklib.formats
Remove X-Katie: headers
Updated
dinstall
Background half of dinstall
Dont do work without a tagfile
Joerg Jaspert [Wed, 28 Oct 2009 15:30:25 +0000 (16:30 +0100)]
Merge branch 'merge'
* merge:
Fix return type.
Don't call check_* due when we are running with No-Action
While we're at it, split out another version of ensure_orig_files.
check_lintian needs all the source, otherwise we can't check the package.
Factor out symlink stuff from get_changelog_versions => ensure_all_source_exists
Joerg Jaspert [Wed, 28 Oct 2009 15:29:33 +0000 (16:29 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Fix return type.
Don't call check_* due when we are running with No-Action
While we're at it, split out another version of ensure_orig_files.
check_lintian needs all the source, otherwise we can't check the package.
Factor out symlink stuff from get_changelog_versions => ensure_all_source_exists
Joerg Jaspert [Wed, 28 Oct 2009 13:58:19 +0000 (14:58 +0100)]
Merge branch 'merge'
* merge:
Port check_dsc_files to use get_format_from_string.
Make build_file_list to use get_format_from_string and friends.
Add get_format_from_string utility method
Attach validate_format(...) to each SourceFormat that can reject formats.
Split out parse_format to module-level and test it explicitly.
Split parsing of "Format:" string and validation of it.
Compare None with object identity, not equality
"Format: 0.0" is now invalid
Add regression tests for parse_format.
Move "Format:" field parsing into srcformats.py
Joerg Jaspert [Wed, 28 Oct 2009 13:58:03 +0000 (14:58 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Port check_dsc_files to use get_format_from_string.
Make build_file_list to use get_format_from_string and friends.
Add get_format_from_string utility method
Attach validate_format(...) to each SourceFormat that can reject formats.
Split out parse_format to module-level and test it explicitly.
Split parsing of "Format:" string and validation of it.
Compare None with object identity, not equality
"Format: 0.0" is now invalid
Add regression tests for parse_format.
Move "Format:" field parsing into srcformats.py
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