Joerg Jaspert [Thu, 29 Oct 2009 13:44:35 +0000 (14:44 +0100)]
Merge branch 'merge'
* merge:
Check that we can parse the YAML file before we symlink anything.
Test that we have Dinstall::LintianTags before we symlink anything
Cleanup any symlinks that we created.
Joerg Jaspert [Thu, 29 Oct 2009 13:44:31 +0000 (14:44 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Check that we can parse the YAML file before we symlink anything.
Test that we have Dinstall::LintianTags before we symlink anything
Cleanup any symlinks that we created.
Joerg Jaspert [Thu, 29 Oct 2009 13:39:30 +0000 (14:39 +0100)]
Merge branch 'merge'
* merge:
Use the same session when getting pool entries, otherwise we can't do poolfile.location
Hide SystemError, otherwise logging gets ugly.
Don't reject orig tarballs - we want them
Joerg Jaspert [Thu, 29 Oct 2009 13:39:19 +0000 (14:39 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Use the same session when getting pool entries, otherwise we can't do poolfile.location
Hide SystemError, otherwise logging gets ugly.
Don't reject orig tarballs - we want them
Joerg Jaspert [Thu, 29 Oct 2009 13:23:41 +0000 (14:23 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Don't ignore KeyboardInterrupt either in process_unchecked
Don't log "dak top-level starting" every time we run "dak ls" or something.
Joerg Jaspert [Thu, 29 Oct 2009 13:15:56 +0000 (14:15 +0100)]
Merge branch 'merge'
* merge:
Catch and log all exceptions from top-level dak command.
Look in the pool and queues for missing orig files.
Tidy check_lintian's 'log' closure
Inline ensure_all_source_exists.
Joerg Jaspert [Thu, 29 Oct 2009 13:15:49 +0000 (14:15 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Catch and log all exceptions from top-level dak command.
Look in the pool and queues for missing orig files.
Tidy check_lintian's 'log' closure
Inline ensure_all_source_exists.
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