]> git.decadent.org.uk Git - dak.git/log
dak.git
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 agoadd acls to database schema
Mark Hymers [Wed, 28 Oct 2009 15:23:50 +0000 (15:23 +0000)]
add acls to database schema

Signed-off-by: Mark Hymers <mhy@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 agoMerge commit 'ftpmaster/master'
Mark Hymers [Wed, 28 Oct 2009 15:12:53 +0000 (15:12 +0000)]
Merge commit 'ftpmaster/master'

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 agoMerge commit 'ftpmaster/master'
Mark Hymers [Wed, 28 Oct 2009 10:50:53 +0000 (10:50 +0000)]
Merge commit 'ftpmaster/master'

15 years agofix indentation
Mark Hymers [Wed, 28 Oct 2009 10:50:38 +0000 (10:50 +0000)]
fix indentation

Signed-off-by: Mark Hymers <mhy@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.

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

* commit 'lamby/master':
  Improve logging in clean_empty_directories.
  Clean empty directories from the pool.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoImprove logging in clean_empty_directories.
Chris Lamb [Wed, 28 Oct 2009 10:26:43 +0000 (10:26 +0000)]
Improve logging in clean_empty_directories.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoClean empty directories from the pool.
Chris Lamb [Wed, 28 Oct 2009 10:23:10 +0000 (10:23 +0000)]
Clean empty directories from the pool.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agodinstall
Joerg Jaspert [Wed, 28 Oct 2009 09:57:41 +0000 (10:57 +0100)]
dinstall

remove the runparts, that dir no longer exist.
move the one and only function of it directly into dinstall, where it belongs.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoBackground half of dinstall
Joerg Jaspert [Wed, 28 Oct 2009 09:50:59 +0000 (10:50 +0100)]
Background half of dinstall

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoDont do work without a tagfile
Joerg Jaspert [Wed, 28 Oct 2009 09:36:37 +0000 (10:36 +0100)]
Dont do work without a tagfile

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

* commit 'lamby/master':
  If lintian returns 2 warn FTPMasters but try and continue anyway.
  cmd -> command

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoIf lintian returns 2 warn FTPMasters but try and continue anyway.
Chris Lamb [Wed, 28 Oct 2009 09:25:43 +0000 (09:25 +0000)]
If lintian returns 2 warn FTPMasters but try and continue anyway.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agocmd -> command
Mark Hymers [Wed, 28 Oct 2009 09:21:11 +0000 (09:21 +0000)]
cmd -> command

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Wed, 28 Oct 2009 09:20:14 +0000 (10:20 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Use new Config api.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoUse new Config api.
Chris Lamb [Wed, 28 Oct 2009 09:19:52 +0000 (09:19 +0000)]
Use new Config api.

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

* commit 'lamby/master':
  Fix lintian regex.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFix lintian regex.
Chris Lamb [Wed, 28 Oct 2009 09:13:38 +0000 (09:13 +0000)]
Fix lintian regex.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMerge commit 'lamby/master'
Mark Hymers [Wed, 28 Oct 2009 08:53:53 +0000 (08:53 +0000)]
Merge commit 'lamby/master'

15 years agoRe-enable check_lintian
Chris Lamb [Wed, 28 Oct 2009 08:51:55 +0000 (08:51 +0000)]
Re-enable check_lintian

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoAdd doc why we are monkeypatching commands.getstatusoutput
Chris Lamb [Wed, 28 Oct 2009 08:50:38 +0000 (08:50 +0000)]
Add doc why we are monkeypatching commands.getstatusoutput

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoI really think this'l just cause arguments and I can't be bothered
Mark Hymers [Wed, 28 Oct 2009 08:38:54 +0000 (08:38 +0000)]
I really think this'l just cause arguments and I can't be bothered

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove alpha from testing
Mark Hymers [Wed, 28 Oct 2009 08:30:01 +0000 (08:30 +0000)]
remove alpha from testing

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoclean-suites: Log totals as well
Frank Lichtenheld [Tue, 27 Oct 2009 22:55:53 +0000 (22:55 +0000)]
clean-suites: Log totals as well

Signed-off-by: Frank Lichtenheld <djpig@debian.org>
15 years ago"Fully" ported to SQLAlchemy-based daklib.dbconn; remove database.py
Chris Lamb [Tue, 27 Oct 2009 21:59:57 +0000 (21:59 +0000)]
"Fully" ported to SQLAlchemy-based daklib.dbconn; remove database.py

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoPort new_security_install to DBConn and friends.
Chris Lamb [Tue, 27 Oct 2009 21:58:58 +0000 (21:58 +0000)]
Port new_security_install to DBConn and friends.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoMove get_queue => get_or_set_queue
Chris Lamb [Tue, 27 Oct 2009 21:57:08 +0000 (21:57 +0000)]
Move get_queue => get_or_set_queue

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

* commit 'lamby/master':
  Fix log messages
  PASS

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoFix log messages
Chris Lamb [Tue, 27 Oct 2009 21:34:10 +0000 (21:34 +0000)]
Fix log messages

15 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Tue, 27 Oct 2009 21:20:29 +0000 (22:20 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

* 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak:
  PASS

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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoAdd fixes for broken prefix_multi_line_string calls.
Chris Lamb [Tue, 27 Oct 2009 21:19:33 +0000 (21:19 +0000)]
Add fixes for broken prefix_multi_line_string calls.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoPASS
Mark Hymers [Tue, 27 Oct 2009 21:05:24 +0000 (21:05 +0000)]
PASS

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge branch 'master' of ries.debian.org:/srv/ftp.debian.org/git/dak
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

15 years agoMerge branch 'master' into merge
Joerg Jaspert [Tue, 27 Oct 2009 20:48:23 +0000 (21:48 +0100)]
Merge branch 'master' into merge

* master:
  let's not reset last_used every time...
  old

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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Tue, 27 Oct 2009 20:46:57 +0000 (21:46 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

* 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak:
  let's not reset last_used every time...

15 years agoMerge branch 'merge'
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

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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoDisable check_lintian for now.
Chris Lamb [Tue, 27 Oct 2009 20:38:34 +0000 (20:38 +0000)]
Disable check_lintian for now.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoclean-queues: Add proper logging
Frank Lichtenheld [Tue, 27 Oct 2009 20:28:53 +0000 (20:28 +0000)]
clean-queues: Add proper logging

Signed-off-by: Frank Lichtenheld <djpig@debian.org>
15 years agoMerge branch 'master' of ries.debian.org:/srv/ftp.debian.org/git/dak
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

15 years agolet's not reset last_used every time...
Mark Hymers [Tue, 27 Oct 2009 20:27:13 +0000 (20:27 +0000)]
let's not reset last_used every time...

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoOnly lintian reject uploads to unstable or experimental
Chris Lamb [Tue, 27 Oct 2009 20:17:52 +0000 (20:17 +0000)]
Only lintian reject uploads to unstable or experimental

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoFix use of "wayout" name.
Chris Lamb [Tue, 27 Oct 2009 20:02:53 +0000 (20:02 +0000)]
Fix use of "wayout" name.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agodict[k] raises IndexError if does not exist - check with infix 'in' instead.
Chris Lamb [Tue, 27 Oct 2009 20:02:27 +0000 (20:02 +0000)]
dict[k] raises IndexError if does not exist - check with infix 'in' instead.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoActually add a seperator to our --tags-from-file input.
Chris Lamb [Tue, 27 Oct 2009 19:53:15 +0000 (19:53 +0000)]
Actually add a seperator to our --tags-from-file input.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agolintian YAML has a "lintian" root element.
Chris Lamb [Tue, 27 Oct 2009 19:52:54 +0000 (19:52 +0000)]
lintian YAML has a "lintian" root element.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoold
Joerg Jaspert [Tue, 27 Oct 2009 19:57:09 +0000 (20:57 +0100)]
old

removing a check against an AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANCIENT dpkg version

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoClose sourcefile.
Chris Lamb [Tue, 27 Oct 2009 19:42:02 +0000 (19:42 +0000)]
Close sourcefile.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoDedent again by returning if lintian doesn't return any content.
Chris Lamb [Tue, 27 Oct 2009 19:44:29 +0000 (19:44 +0000)]
Dedent again by returning if lintian doesn't return any content.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoReturn all the lintian-related rejections, not just the first one.
Chris Lamb [Tue, 27 Oct 2009 19:41:13 +0000 (19:41 +0000)]
Return all the lintian-related rejections, not just the first one.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoIt's called 'next', not 'continue'. =)
Chris Lamb [Tue, 27 Oct 2009 19:38:49 +0000 (19:38 +0000)]
It's called 'next', not 'continue'. =)

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoDedent again by using continue.
Chris Lamb [Tue, 27 Oct 2009 19:38:18 +0000 (19:38 +0000)]
Dedent again by using continue.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoRemove one level of indentation by using continue
Chris Lamb [Tue, 27 Oct 2009 19:37:44 +0000 (19:37 +0000)]
Remove one level of indentation by using continue

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoSimple check for lintian regex
Chris Lamb [Tue, 27 Oct 2009 19:43:57 +0000 (19:43 +0000)]
Simple check for lintian regex

15 years agouse the id, not the object
Mark Hymers [Tue, 27 Oct 2009 19:43:32 +0000 (19:43 +0000)]
use the id, not the object

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoUse set() instead of Perlesque hash[key] = 1
Chris Lamb [Tue, 27 Oct 2009 19:36:51 +0000 (19:36 +0000)]
Use set() instead of Perlesque hash[key] = 1

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agoadd regex import
Mark Hymers [Tue, 27 Oct 2009 19:34:28 +0000 (19:34 +0000)]
add regex import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge branch 'merge'
Joerg Jaspert [Tue, 27 Oct 2009 16:51:01 +0000 (17:51 +0100)]
Merge branch 'merge'

* merge:
  clean-suites: Remove trailing whitespace
  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

15 years agoMerge commit 'djpig/djpig' into merge
Joerg Jaspert [Tue, 27 Oct 2009 16:50:53 +0000 (17:50 +0100)]
Merge commit 'djpig/djpig' into merge

* commit 'djpig/djpig':
  clean-suites: Remove trailing whitespace
  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

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoclean-suites: Remove trailing whitespace
Frank Lichtenheld [Tue, 27 Oct 2009 16:43:25 +0000 (16:43 +0000)]
clean-suites: Remove trailing whitespace

Signed-off-by: Frank Lichtenheld <djpig@debian.org>
15 years agoRemove unused imports from daklib.
Chris Lamb [Tue, 27 Oct 2009 16:35:26 +0000 (16:35 +0000)]
Remove unused imports from daklib.

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

* merge:
  Monkeypatch commands.getstatusoutput to work around Python Popen issue.
  drop unused imports

15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Tue, 27 Oct 2009 16:28:44 +0000 (17:28 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  Monkeypatch commands.getstatusoutput to work around Python Popen issue.
  drop unused imports

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoUse more Pythonic "".join over str.join
Chris Lamb [Tue, 27 Oct 2009 16:28:44 +0000 (16:28 +0000)]
Use more Pythonic "".join over str.join

15 years agoMonkeypatch commands.getstatusoutput to work around Python Popen issue.
Chris Lamb [Tue, 27 Oct 2009 16:26:26 +0000 (16:26 +0000)]
Monkeypatch commands.getstatusoutput to work around Python Popen issue.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agodrop unused imports
Chris Lamb [Tue, 27 Oct 2009 16:20:27 +0000 (16:20 +0000)]
drop unused imports

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agofile -> f
Mark Hymers [Tue, 27 Oct 2009 15:35:15 +0000 (15:35 +0000)]
file -> f

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agowe're already in the changes object
Mark Hymers [Tue, 27 Oct 2009 15:33:09 +0000 (15:33 +0000)]
we're already in the changes object

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agouse isinstance
Mark Hymers [Tue, 27 Oct 2009 15:32:34 +0000 (15:32 +0000)]
use isinstance

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agofixup
Mark Hymers [Tue, 27 Oct 2009 15:28:20 +0000 (15:28 +0000)]
fixup

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Tue, 27 Oct 2009 15:26:20 +0000 (16:26 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  If positional argument is None, modify it.s

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoIf positional argument is None, modify it.s
Chris Lamb [Tue, 27 Oct 2009 15:26:01 +0000 (15:26 +0000)]
If positional argument is None, modify it.s

15 years agoMerge commit 'lamby/master' into merge
Joerg Jaspert [Tue, 27 Oct 2009 15:19:27 +0000 (16:19 +0100)]
Merge commit 'lamby/master' into merge

* commit 'lamby/master':
  If None is passed in.
  let there be referential integrity

Signed-off-by: Joerg Jaspert <joerg@debian.org>
15 years agoIf None is passed in.
Chris Lamb [Tue, 27 Oct 2009 15:18:11 +0000 (15:18 +0000)]
If None is passed in.

Signed-off-by: Chris Lamb <lamby@debian.org>
15 years agolet there be referential integrity
Mark Hymers [Tue, 27 Oct 2009 15:12:14 +0000 (15:12 +0000)]
let there be referential integrity

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoclean-suites: Fix logic error in during source cleaning
Frank Lichtenheld [Tue, 27 Oct 2009 15:02:18 +0000 (15:02 +0000)]
clean-suites: Fix logic error in during source cleaning

We need to remove all the entries in dsc_files(sic) for a given
source before we can remove the source.

Signed-off-by: Frank Lichtenheld <djpig@debian.org>
15 years agoMerge commit 'lamby/deb-src-3.0-sqla' into merge
Joerg Jaspert [Tue, 27 Oct 2009 14:57:08 +0000 (15:57 +0100)]
Merge commit 'lamby/deb-src-3.0-sqla' into merge

* commit 'lamby/deb-src-3.0-sqla':
  Add missing for loop.

Signed-off-by: Joerg Jaspert <joerg@debian.org>