]>
git.decadent.org.uk Git - dak.git/log
Frank Lichtenheld [Fri, 30 Oct 2009 13:07:24 +0000 (13:07 +0000)]
process-upload: import process_it() from process-unchecked
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 12:49:39 +0000 (12:49 +0000)]
process-upload: reorganise option parsing
Give more helpful error messages and log where we did get
the changes files from.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 11:42:34 +0000 (11:42 +0000)]
process-upload: Change logging behaviour for --no-action
Log to stderr instead if not at all.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 11:30:29 +0000 (11:30 +0000)]
Merge commit 'private/master' into process-upload
Frank Lichtenheld [Fri, 30 Oct 2009 11:27:46 +0000 (11:27 +0000)]
process-upload: Add standard boilerplate code
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 11:19:01 +0000 (12:19 +0100)]
Merge branch 'merge'
* merge:
Revert "remove an unneeded linewrap" - not needed anymore.
Strip trailing newline, just like getstatusoutput
Mark Hymers [Fri, 30 Oct 2009 11:18:42 +0000 (11:18 +0000)]
Merge commit 'origin/master'
Joerg Jaspert [Fri, 30 Oct 2009 11:18:32 +0000 (12:18 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Revert "remove an unneeded linewrap" - not needed anymore.
Strip trailing newline, just like getstatusoutput
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Fri, 30 Oct 2009 11:17:41 +0000 (11:17 +0000)]
convert to using the debversion C type
Signed-off-by: Mark Hymers <mhy@debian.org>
Chris Lamb [Fri, 30 Oct 2009 11:13:33 +0000 (11:13 +0000)]
Revert "remove an unneeded linewrap" - not needed anymore.
This reverts commit
fa8582a41855d39d864495f1bc0b28805d992ad1 .
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 11:16:51 +0000 (11:16 +0000)]
Strip trailing newline, just like getstatusoutput
Signed-off-by: Chris Lamb <lamby@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 11:11:51 +0000 (12:11 +0100)]
add missing s
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 11:09:18 +0000 (12:09 +0100)]
remove an unneeded linewrap
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 11:01:15 +0000 (12:01 +0100)]
Misses summary
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 10:59:36 +0000 (11:59 +0100)]
Add suites to bug close mails from rm
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 10:48:37 +0000 (11:48 +0100)]
dak rm
also print the bug closing reason within the bug close mail
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 09:14:09 +0000 (10:14 +0100)]
Document the current workings of p-u and p-a
So that we can find a way to merge them in one script.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 10:31:06 +0000 (11:31 +0100)]
you are named p-u, not dinstall
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 10:28:37 +0000 (11:28 +0100)]
template
modify our contents template
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:36:11 +0000 (10:36 +0100)]
Oh well
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:31:48 +0000 (10:31 +0100)]
And now this is clearly pythons fault. Ruby would have broken earlier! :)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:29:34 +0000 (10:29 +0100)]
And how about we make this mhy fault?
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:28:29 +0000 (10:28 +0100)]
And that is probaby Linux (hello git) fault :)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:27:06 +0000 (10:27 +0100)]
And that is probably (not) ganneffs fault
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:25:15 +0000 (10:25 +0100)]
Its (not) probably all stews fault
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:23:25 +0000 (10:23 +0100)]
knwonchnges
do not import subdirs for now.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:21:39 +0000 (10:21 +0100)]
Merge commit 'stew/knownchanges' into merge
* commit 'stew/knownchanges':
trailing whitespace, update to 18 not 20
update20 -> update 18
removing known_changes now works, and inserting has a better chance of working
update20 is closer to tested
check for a DAK_CONFIG env variable when looking for dak.conf
moved inserts of known_changes to Changes() class. add insert known_changes in p-u, remove known_changes in process_new.reject
Start the known_changes table
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Fri, 30 Oct 2009 09:16:36 +0000 (10:16 +0100)]
trailing whitespace, update to 18 not 20
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Fri, 30 Oct 2009 09:13:44 +0000 (10:13 +0100)]
merge with ftp-master
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Fri, 30 Oct 2009 09:12:23 +0000 (10:12 +0100)]
update20 -> update 18
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Fri, 30 Oct 2009 09:10:17 +0000 (10:10 +0100)]
Merge commit 'stew/contents' into merge
* commit 'stew/contents':
bootstrap_bin working
merge from master with sqla
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Fri, 30 Oct 2009 09:03:24 +0000 (10:03 +0100)]
merge from master
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Fri, 30 Oct 2009 08:48:11 +0000 (09:48 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master':
update import_keyring
now we don't need the dm flag
allow for keyring priorities
implement key acls
add keyring defaults
tidy up and add more methods to SQLA objects
add basic mapper classes for new tables
add acls to database schema
fix indentation
move check_status to daklib/queue.py
move recheck logic into daklib/queue.py
remove unused code (moving to process-holding) and readd security support
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Thu, 29 Oct 2009 22:47:15 +0000 (22:47 +0000)]
removing known_changes now works, and inserting has a better chance of working
Signed-off-by: Mike O'Connor <stew@dhcp-101.dfw1.kickstart.lan>
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>
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>
Mike O'Connor [Thu, 29 Oct 2009 22:00:59 +0000 (22:00 +0000)]
update20 is closer to tested
Signed-off-by: Mike O'Connor <stew@dhcp-101.dfw1.kickstart.lan>
Mike O'Connor [Thu, 29 Oct 2009 16:27:55 +0000 (16:27 +0000)]
check for a DAK_CONFIG env variable when looking for dak.conf
Signed-off-by: Mike O'Connor <stew@dhcp-101.dfw1.kickstart.lan>
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>
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>
Mike O'Connor [Thu, 29 Oct 2009 21:08:56 +0000 (22:08 +0100)]
moved inserts of known_changes to Changes() class. add insert known_changes in p-u, remove known_changes in process_new.reject
Signed-off-by: Mike O'Connor <stew@vireo.org>
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>
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>
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>
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>
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>
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>
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>
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>
Chris Lamb [Thu, 29 Oct 2009 20:09:50 +0000 (20:09 +0000)]
Add NVIT test.
Signed-off-by: Chris Lamb <lamby@debian.org>
Mark Hymers [Thu, 29 Oct 2009 19:59:42 +0000 (19:59 +0000)]
Merge commit 'ftpmaster/master'
Mark Hymers [Thu, 29 Oct 2009 19:59:06 +0000 (19:59 +0000)]
update import_keyring
Signed-off-by: Mark Hymers <mhy@debian.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Joerg Jaspert [Thu, 29 Oct 2009 18:06:01 +0000 (19:06 +0100)]
add some tags
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 29 Oct 2009 16:41:31 +0000 (17:41 +0100)]
Start the known_changes table
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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
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>
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>
Mark Hymers [Thu, 29 Oct 2009 14:20:13 +0000 (14:20 +0000)]
now we don't need the dm flag
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Thu, 29 Oct 2009 14:18:24 +0000 (14:18 +0000)]
allow for keyring priorities
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Thu, 29 Oct 2009 14:14:52 +0000 (14:14 +0000)]
Merge commit 'ftpmaster/master'
Mark Hymers [Thu, 29 Oct 2009 14:14:10 +0000 (14:14 +0000)]
implement key acls
Signed-off-by: Mark Hymers <mhy@debian.org>
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>
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.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
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>
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>
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
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
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>
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>
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.
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>
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>
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>
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.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
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>
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>
Joerg Jaspert [Thu, 29 Oct 2009 10:33:08 +0000 (11:33 +0100)]
dinstall order change
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
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>
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>
Joerg Jaspert [Wed, 28 Oct 2009 21:19:29 +0000 (22:19 +0100)]
quote
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
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 .
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>
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>
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>