]> git.decadent.org.uk Git - dak.git/log
dak.git
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 22:20:44 +0000 (23:20 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Correct local variable name in Upload.package_info.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoCorrect local variable name in Upload.package_info.
Chris Lamb [Thu, 29 Oct 2009 22:19:26 +0000 (22:19 +0000)]
Correct local variable name in Upload.package_info.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 21:12:48 +0000 (22:12 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Refactor Upload.package_info.
  Prefer interpolation over concatenation here.
  Add more spacing for reject messages/notes etc.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRefactor Upload.package_info.
Chris Lamb [Thu, 29 Oct 2009 21:11:50 +0000 (21:11 +0000)]
Refactor Upload.package_info.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoPrefer interpolation over concatenation here.
Chris Lamb [Thu, 29 Oct 2009 21:05:36 +0000 (21:05 +0000)]
Prefer interpolation over concatenation here.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 21:05:18 +0000 (22:05 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Log whether maintainer can override when we lintian auto-reject.
  This is not icanhascheezburger.com :(

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd more spacing for reject messages/notes etc.
Chris Lamb [Thu, 29 Oct 2009 21:02:38 +0000 (21:02 +0000)]
Add more spacing for reject messages/notes etc.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoLog whether maintainer can override when we lintian auto-reject.
Chris Lamb [Thu, 29 Oct 2009 20:53:18 +0000 (20:53 +0000)]
Log whether maintainer can override when we lintian auto-reject.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoThis is not icanhascheezburger.com :(
Chris Lamb [Thu, 29 Oct 2009 20:46:49 +0000 (20:46 +0000)]
This is not icanhascheezburger.com :(

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 20:38:14 +0000 (21:38 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Don't reject binary uploads. Sorry buildd maintainers.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoDon't reject binary uploads. Sorry buildd maintainers.
Chris Lamb [Thu, 29 Oct 2009 20:37:48 +0000 (20:37 +0000)]
Don't reject binary uploads. Sorry buildd maintainers.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 20:18:06 +0000 (21:18 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Add NVIT test.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd NVIT test.
Chris Lamb [Thu, 29 Oct 2009 20:09:50 +0000 (20:09 +0000)]
Add NVIT test.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 19:05:52 +0000 (20:05 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Fix another list.join/str.join instance.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFix another list.join/str.join instance.
Chris Lamb [Thu, 29 Oct 2009 19:05:40 +0000 (19:05 +0000)]
Fix another list.join/str.join instance.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 19:04:27 +0000 (20:04 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Prefer interpolation over concatenation.
  Join is str.join, not list.join

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoPrefer interpolation over concatenation.
Chris Lamb [Thu, 29 Oct 2009 19:04:09 +0000 (19:04 +0000)]
Prefer interpolation over concatenation.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoJoin is str.join, not list.join
Chris Lamb [Thu, 29 Oct 2009 19:03:43 +0000 (19:03 +0000)]
Join is str.join, not list.join

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 18:59:41 +0000 (19:59 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  cnf.__getitem__ is not following protocol, but this is an easier fix.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agocnf.__getitem__ is not following protocol, but this is an easier fix.
Chris Lamb [Thu, 29 Oct 2009 18:58:27 +0000 (18:58 +0000)]
cnf.__getitem__ is not following protocol, but this is an easier fix.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 18:55:25 +0000 (19:55 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  We renamed s/directory/queue/ in this code.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoWe renamed s/directory/queue/ in this code.
Chris Lamb [Thu, 29 Oct 2009 18:54:01 +0000 (18:54 +0000)]
We renamed s/directory/queue/ in this code.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoadd some tags
Joerg Jaspert [Thu, 29 Oct 2009 18:06:01 +0000 (19:06 +0100)]
add some tags

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Thu, 29 Oct 2009 14:59:34 +0000 (15:59 +0100)]
Merge branch 'merge'

* merge:
  Some people can't open the log; handle this gracefully.
  Split out symlink creation into Upload.ensure_orig

15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Thu, 29 Oct 2009 14:59:30 +0000 (15:59 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Some people can't open the log; handle this gracefully.
  Split out symlink creation into Upload.ensure_orig

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoSome people can't open the log; handle this gracefully.
Chris Lamb [Thu, 29 Oct 2009 14:42:25 +0000 (14:42 +0000)]
Some people can't open the log; handle this gracefully.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoSplit out symlink creation into Upload.ensure_orig
Chris Lamb [Thu, 29 Oct 2009 13:51:04 +0000 (13:51 +0000)]
Split out symlink creation into Upload.ensure_orig

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge branch 'merge'
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.

15 years agoMerge commit 'lamby/master' into merge
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.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoCheck that we can parse the YAML file before we symlink anything.
Chris Lamb [Thu, 29 Oct 2009 13:43:37 +0000 (13:43 +0000)]
Check that we can parse the YAML file before we symlink anything.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoTest that we have Dinstall::LintianTags before we symlink anything
Chris Lamb [Thu, 29 Oct 2009 13:43:00 +0000 (13:43 +0000)]
Test that we have Dinstall::LintianTags before we symlink anything

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoCleanup any symlinks that we created.
Chris Lamb [Thu, 29 Oct 2009 13:42:45 +0000 (13:42 +0000)]
Cleanup any symlinks that we created.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge branch 'merge'
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

15 years agoMerge commit 'lamby/master' into merge
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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoUse the same session when getting pool entries, otherwise we can't do poolfile.location
Chris Lamb [Thu, 29 Oct 2009 13:38:56 +0000 (13:38 +0000)]
Use the same session when getting pool entries, otherwise we can't do poolfile.location

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoHide SystemError, otherwise logging gets ugly.
Chris Lamb [Thu, 29 Oct 2009 13:37:30 +0000 (13:37 +0000)]
Hide SystemError, otherwise logging gets ugly.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoDon't reject orig tarballs - we want them
Chris Lamb [Thu, 29 Oct 2009 13:36:30 +0000 (13:36 +0000)]
Don't reject orig tarballs - we want them

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Thu, 29 Oct 2009 13:23:52 +0000 (14:23 +0100)]
Merge branch 'merge'

* merge:
  Don't ignore KeyboardInterrupt either in process_unchecked
  Don't log "dak top-level starting" every time we run "dak ls" or something.

15 years agoMerge commit 'lamby/master' into merge
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.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoDon't ignore KeyboardInterrupt either in process_unchecked
Chris Lamb [Thu, 29 Oct 2009 13:23:12 +0000 (13:23 +0000)]
Don't ignore KeyboardInterrupt either in process_unchecked

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoDon't log "dak top-level starting" every time we run "dak ls" or something.
Chris Lamb [Thu, 29 Oct 2009 13:21:35 +0000 (13:21 +0000)]
Don't log "dak top-level starting" every time we run "dak ls" or something.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge branch 'merge'
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.

15 years agoMerge commit 'lamby/master' into merge
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.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoCatch and log all exceptions from top-level dak command.
Chris Lamb [Thu, 29 Oct 2009 13:05:51 +0000 (13:05 +0000)]
Catch and log all exceptions from top-level dak command.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoLook in the pool and queues for missing orig files.
Chris Lamb [Thu, 29 Oct 2009 11:28:23 +0000 (11:28 +0000)]
Look in the pool and queues for missing orig files.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoTidy check_lintian's 'log' closure
Chris Lamb [Thu, 29 Oct 2009 11:29:46 +0000 (11:29 +0000)]
Tidy check_lintian's 'log' closure

Thanks Enrico for calling it out.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agodinstall order change
Joerg Jaspert [Thu, 29 Oct 2009 10:33:08 +0000 (11:33 +0100)]
dinstall order change

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agosymlinks
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.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoInline ensure_all_source_exists.
Chris Lamb [Thu, 29 Oct 2009 09:31:26 +0000 (09:31 +0000)]
Inline ensure_all_source_exists.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agorsyncable
Joerg Jaspert [Thu, 29 Oct 2009 09:16:16 +0000 (10:16 +0100)]
rsyncable

use --rsyncable for most of our gzip compressions.

For Packages.gz ... 2% bigger, 1/8th of the transfer
For Contents-lala.gz ... ~4% bigger, 1/4th of the transfer

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoquote
Joerg Jaspert [Wed, 28 Oct 2009 21:19:29 +0000 (22:19 +0100)]
quote

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 20:47:02 +0000 (21:47 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Revert "While we're at it, split out another version of ensure_orig_files."

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoRevert "While we're at it, split out another version of ensure_orig_files."
Chris Lamb [Wed, 28 Oct 2009 20:46:45 +0000 (20:46 +0000)]
Revert "While we're at it, split out another version of ensure_orig_files."

This reverts commit a51c070b5347ed9244c7b1db48bc4adb4801d24e.

15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 20:40:11 +0000 (21:40 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Actually use dest_dir argument
  pkg is on self.
  Pass source_dir to ensure_all_source_exists

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoActually use dest_dir argument
Chris Lamb [Wed, 28 Oct 2009 20:38:08 +0000 (20:38 +0000)]
Actually use dest_dir argument

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agopkg is on self.
Chris Lamb [Wed, 28 Oct 2009 20:36:19 +0000 (20:36 +0000)]
pkg is on self.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoPass source_dir to ensure_all_source_exists
Chris Lamb [Wed, 28 Oct 2009 20:34:54 +0000 (20:34 +0000)]
Pass source_dir to ensure_all_source_exists

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 20:22:08 +0000 (21:22 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  build_file_list(changes, ..) can also be dsc information \o/

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agobuild_file_list(changes, ..) can also be dsc information \o/
Chris Lamb [Wed, 28 Oct 2009 20:21:37 +0000 (20:21 +0000)]
build_file_list(changes, ..) can also be dsc information \o/

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 20:07:00 +0000 (21:07 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Haha, recursive import

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoHaha, recursive import
Chris Lamb [Wed, 28 Oct 2009 20:06:48 +0000 (20:06 +0000)]
Haha, recursive import

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 20:03:29 +0000 (21:03 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Really fix import.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoReally fix import.
Chris Lamb [Wed, 28 Oct 2009 20:03:20 +0000 (20:03 +0000)]
Really fix import.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 20:00:38 +0000 (21:00 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Import ensure_orig_files properly.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoImport ensure_orig_files properly.
Chris Lamb [Wed, 28 Oct 2009 19:59:59 +0000 (19:59 +0000)]
Import ensure_orig_files properly.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 19:52:07 +0000 (20:52 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Aw, [] can't take *args/**kwargs things.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAw, [] can't take *args/**kwargs things.
Chris Lamb [Wed, 28 Oct 2009 19:51:41 +0000 (19:51 +0000)]
Aw, [] can't take *args/**kwargs things.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 19:42:55 +0000 (20:42 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Add check_lintian logging.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd check_lintian logging.
Chris Lamb [Wed, 28 Oct 2009 19:42:25 +0000 (19:42 +0000)]
Add check_lintian logging.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master' into merge
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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoDrop the SourceFormat-specific validate_format classmethods.
Chris Lamb [Wed, 28 Oct 2009 16:26:35 +0000 (16:26 +0000)]
Drop the SourceFormat-specific validate_format classmethods.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoDon't validate a .changes Format as a source package version format (!)
Chris Lamb [Wed, 28 Oct 2009 16:24:32 +0000 (16:24 +0000)]
Don't validate a .changes Format as a source package version format (!)

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoAdd validate_changes_format utility.
Chris Lamb [Wed, 28 Oct 2009 16:23:38 +0000 (16:23 +0000)]
Add validate_changes_format utility.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMove parse_format tests to test_formats.py
Chris Lamb [Wed, 28 Oct 2009 16:09:42 +0000 (16:09 +0000)]
Move parse_format tests to test_formats.py

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMove parse_format into daklib.formats
Chris Lamb [Wed, 28 Oct 2009 16:06:59 +0000 (16:06 +0000)]
Move parse_format into daklib.formats

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Wed, 28 Oct 2009 15:36:39 +0000 (16:36 +0100)]
Merge branch 'merge'

* merge:
  Fix changes[...] call.

15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 15:36:24 +0000 (16:36 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Fix changes[...] call.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFix changes[...] call.
Chris Lamb [Wed, 28 Oct 2009 15:35:41 +0000 (15:35 +0000)]
Fix changes[...] call.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge branch 'merge'
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

15 years agoMerge commit 'lamby/master' into merge
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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFix return type.
Chris Lamb [Wed, 28 Oct 2009 15:26:16 +0000 (15:26 +0000)]
Fix return type.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoDon't call check_* due when we are running with No-Action
Chris Lamb [Wed, 28 Oct 2009 15:20:06 +0000 (15:20 +0000)]
Don't call check_* due when we are running with No-Action

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoWhile we're at it, split out another version of ensure_orig_files.
Chris Lamb [Wed, 28 Oct 2009 15:13:48 +0000 (15:13 +0000)]
While we're at it, split out another version of ensure_orig_files.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agocheck_lintian needs all the source, otherwise we can't check the package.
Chris Lamb [Wed, 28 Oct 2009 15:13:25 +0000 (15:13 +0000)]
check_lintian needs all the source, otherwise we can't check the package.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoFactor out symlink stuff from get_changelog_versions => ensure_all_source_exists
Chris Lamb [Wed, 28 Oct 2009 15:12:04 +0000 (15:12 +0000)]
Factor out symlink stuff from get_changelog_versions => ensure_all_source_exists

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge branch 'merge'
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

15 years agoMerge commit 'lamby/master' into merge
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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoPort check_dsc_files to use get_format_from_string.
Chris Lamb [Wed, 28 Oct 2009 13:40:27 +0000 (13:40 +0000)]
Port check_dsc_files to use get_format_from_string.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMake build_file_list to use get_format_from_string and friends.
Chris Lamb [Wed, 28 Oct 2009 13:34:59 +0000 (13:34 +0000)]
Make build_file_list to use get_format_from_string and friends.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoAdd get_format_from_string utility method
Chris Lamb [Wed, 28 Oct 2009 13:32:40 +0000 (13:32 +0000)]
Add get_format_from_string utility method

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoAttach validate_format(...) to each SourceFormat that can reject formats.
Chris Lamb [Wed, 28 Oct 2009 13:23:36 +0000 (13:23 +0000)]
Attach validate_format(...) to each SourceFormat that can reject formats.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoSplit out parse_format to module-level and test it explicitly.
Chris Lamb [Wed, 28 Oct 2009 13:03:26 +0000 (13:03 +0000)]
Split out parse_format to module-level and test it explicitly.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoSplit parsing of "Format:" string and validation of it.
Chris Lamb [Wed, 28 Oct 2009 11:19:31 +0000 (11:19 +0000)]
Split parsing of "Format:" string and validation of it.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoCompare None with object identity, not equality
Chris Lamb [Wed, 28 Oct 2009 11:07:30 +0000 (11:07 +0000)]
Compare None with object identity, not equality

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years ago"Format: 0.0" is now invalid
Chris Lamb [Wed, 28 Oct 2009 11:06:14 +0000 (11:06 +0000)]
"Format: 0.0" is now invalid

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoAdd regression tests for parse_format.
Chris Lamb [Wed, 28 Oct 2009 11:05:34 +0000 (11:05 +0000)]
Add regression tests for parse_format.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMove "Format:" field parsing into srcformats.py
Chris Lamb [Wed, 28 Oct 2009 10:49:47 +0000 (10:49 +0000)]
Move "Format:" field parsing into srcformats.py

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoRemove X-Katie: headers
Joerg Jaspert [Wed, 28 Oct 2009 13:13:59 +0000 (14:13 +0100)]
Remove X-Katie: headers

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoUpdated
Joerg Jaspert [Wed, 28 Oct 2009 10:49:39 +0000 (11:49 +0100)]
Updated

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Wed, 28 Oct 2009 10:27:27 +0000 (11:27 +0100)]
Merge branch 'merge'

* merge:
  Improve logging in clean_empty_directories.
  Clean empty directories from the pool.