]> err.no Git - dak/log
dak
15 years agoonly look in queues which exist
Mark Hymers [Sun, 20 Sep 2009 13:10:12 +0000 (13:10 +0000)]
only look in queues which exist

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agohandle bad checksum lines
Mark Hymers [Sun, 20 Sep 2009 13:08:01 +0000 (13:08 +0000)]
handle bad checksum lines

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomisc fixes
Mark Hymers [Sun, 20 Sep 2009 13:03:53 +0000 (13:03 +0000)]
misc fixes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agofix typo
Mark Hymers [Sat, 19 Sep 2009 15:58:48 +0000 (16:58 +0100)]
fix typo

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agofix typo
Mark Hymers [Sat, 19 Sep 2009 15:54:38 +0000 (16:54 +0100)]
fix typo

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoattempt to ensure we clear up sessions
Mark Hymers [Sat, 19 Sep 2009 15:46:02 +0000 (16:46 +0100)]
attempt to ensure we clear up sessions

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomake sure we close sessions
Mark Hymers [Sat, 19 Sep 2009 13:45:32 +0000 (14:45 +0100)]
make sure we close sessions

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomiscellaneous fixups from testing
Mark Hymers [Sat, 19 Sep 2009 13:40:29 +0000 (13:40 +0000)]
miscellaneous fixups from testing

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert check_overrides to new DB API
Mark Hymers [Sun, 9 Aug 2009 21:22:21 +0000 (22:22 +0100)]
convert check_overrides to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert override.py to new DB API
Mark Hymers [Sun, 9 Aug 2009 20:33:09 +0000 (21:33 +0100)]
convert override.py to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert (badly) rm to new DB API
Mark Hymers [Sun, 9 Aug 2009 16:12:44 +0000 (17:12 +0100)]
convert (badly) rm to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert ls to new DB API
Mark Hymers [Sun, 9 Aug 2009 16:04:57 +0000 (17:04 +0100)]
convert ls to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agobug fix
Mark Hymers [Sun, 9 Aug 2009 16:04:18 +0000 (17:04 +0100)]
bug fix

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert import_keyring to new DB API
Mark Hymers [Sun, 9 Aug 2009 15:58:14 +0000 (16:58 +0100)]
convert import_keyring to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert cruft_report to new DB API
Mark Hymers [Sun, 9 Aug 2009 15:43:57 +0000 (16:43 +0100)]
convert cruft_report to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert clean_suites to new DB API
Mark Hymers [Sun, 9 Aug 2009 15:06:41 +0000 (16:06 +0100)]
convert clean_suites to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert import_users_from_passwd to new DB API
Mark Hymers [Sun, 9 Aug 2009 14:24:18 +0000 (15:24 +0100)]
convert import_users_from_passwd to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:18:20 +0000 (15:18 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert find_null_maintainers to new DB API
Mark Hymers [Sun, 9 Aug 2009 14:17:53 +0000 (15:17 +0100)]
convert find_null_maintainers to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:14:12 +0000 (15:14 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:13:53 +0000 (15:13 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:13:42 +0000 (15:13 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:13:25 +0000 (15:13 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:13:05 +0000 (15:13 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:12:43 +0000 (15:12 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded import
Mark Hymers [Sun, 9 Aug 2009 14:12:08 +0000 (15:12 +0100)]
remove unneeded import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert make_maintainers to new DB API
Mark Hymers [Sun, 9 Aug 2009 14:11:07 +0000 (15:11 +0100)]
convert make_maintainers to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd get_sections and get_priorities
Mark Hymers [Sun, 9 Aug 2009 13:46:18 +0000 (14:46 +0100)]
add get_sections and get_priorities

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert import-ldap-fingerprints to new DB API
Mark Hymers [Sun, 9 Aug 2009 13:44:14 +0000 (14:44 +0100)]
convert import-ldap-fingerprints to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert control_suite to new DB API
Mark Hymers [Sun, 9 Aug 2009 13:28:50 +0000 (14:28 +0100)]
convert control_suite to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert c_o to new DB API
Mark Hymers [Sun, 9 Aug 2009 12:57:51 +0000 (13:57 +0100)]
convert c_o to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agofix bug
Mark Hymers [Sun, 9 Aug 2009 12:17:47 +0000 (13:17 +0100)]
fix bug

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoupdate check_proposed_updates to use new DB API
Mark Hymers [Sun, 9 Aug 2009 12:06:54 +0000 (13:06 +0100)]
update check_proposed_updates to use new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoupdate clean_proposed_updates to use new DB API
Mark Hymers [Sun, 9 Aug 2009 12:02:57 +0000 (13:02 +0100)]
update clean_proposed_updates to use new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agobug fixes
Mark Hymers [Sun, 9 Aug 2009 00:30:33 +0000 (01:30 +0100)]
bug fixes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert mpfm to new DB API
Mark Hymers [Sun, 9 Aug 2009 00:28:16 +0000 (01:28 +0100)]
convert mpfm to new DB API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoquick conversion to new db api
Mark Hymers [Sun, 9 Aug 2009 00:14:47 +0000 (01:14 +0100)]
quick conversion to new db api

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoConvert make_overrides.py to use SQLA
Mark Hymers [Sat, 8 Aug 2009 23:24:55 +0000 (00:24 +0100)]
Convert make_overrides.py to use SQLA

Including a warning about using the object-based API
for batch operations and a comment about the speed/performance

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoquick conversion of compare_suites to SQLA
Mark Hymers [Sat, 8 Aug 2009 22:52:45 +0000 (23:52 +0100)]
quick conversion of compare_suites to SQLA

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomisc bug fixes
Mark Hymers [Sat, 8 Aug 2009 22:07:24 +0000 (23:07 +0100)]
misc bug fixes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoport check_archive to SQLA
Mark Hymers [Sat, 8 Aug 2009 22:04:27 +0000 (23:04 +0100)]
port check_archive to SQLA

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd __setitem__
Mark Hymers [Sat, 8 Aug 2009 22:03:16 +0000 (23:03 +0100)]
add __setitem__

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert p-a to use new SQL API
Mark Hymers [Sat, 8 Aug 2009 20:32:53 +0000 (21:32 +0100)]
convert p-a to use new SQL API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agogive get_queue_build more flexibility
Mark Hymers [Sat, 8 Aug 2009 20:30:54 +0000 (21:30 +0100)]
give get_queue_build more flexibility

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agosession fixups in queue.py
Mark Hymers [Sun, 2 Aug 2009 14:31:29 +0000 (15:31 +0100)]
session fixups in queue.py

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoqueue.py typo fixes
Mark Hymers [Sun, 2 Aug 2009 14:31:01 +0000 (15:31 +0100)]
queue.py typo fixes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agop-u fixes
Mark Hymers [Sun, 2 Aug 2009 14:29:08 +0000 (15:29 +0100)]
p-u fixes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd file routines
Mark Hymers [Sun, 2 Aug 2009 14:28:49 +0000 (15:28 +0100)]
add file routines

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd some get_or_set routines
Mark Hymers [Sun, 2 Aug 2009 13:29:35 +0000 (14:29 +0100)]
add some get_or_set routines

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomove UrgencyLog class to daklib
Mark Hymers [Sun, 2 Aug 2009 11:08:17 +0000 (12:08 +0100)]
move UrgencyLog class to daklib

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoPort p-u to SQLA and move logic to daklib/queue.py
Mark Hymers [Sat, 1 Aug 2009 21:07:43 +0000 (22:07 +0100)]
Port p-u to SQLA and move logic to daklib/queue.py

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd check_poolfile routine and fix session usage
Mark Hymers [Sat, 1 Aug 2009 21:06:53 +0000 (22:06 +0100)]
add check_poolfile routine and fix session usage

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoput holding routines into module
Mark Hymers [Sat, 1 Aug 2009 16:13:12 +0000 (17:13 +0100)]
put holding routines into module

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomake binary class store rejects
Mark Hymers [Sat, 1 Aug 2009 15:18:55 +0000 (16:18 +0100)]
make binary class store rejects

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoClean up reject/warning/notes system
Mark Hymers [Sat, 25 Jul 2009 22:49:20 +0000 (23:49 +0100)]
Clean up reject/warning/notes system

Also start moving some p-u checks into daklib

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agotidy up add_user
Mark Hymers [Fri, 24 Jul 2009 21:43:02 +0000 (22:43 +0100)]
tidy up add_user

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert transitions.py to new API
Mark Hymers [Fri, 24 Jul 2009 21:42:07 +0000 (22:42 +0100)]
convert transitions.py to new API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert show_deferred to new API
Mark Hymers [Fri, 24 Jul 2009 21:05:01 +0000 (22:05 +0100)]
convert show_deferred to new API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd some useful comparison operators
Mark Hymers [Fri, 24 Jul 2009 21:04:47 +0000 (22:04 +0100)]
add some useful comparison operators

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd methods for easily finding suites for src/bin packages
Mark Hymers [Fri, 24 Jul 2009 21:01:21 +0000 (22:01 +0100)]
add methods for easily finding suites for src/bin packages

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert rpu to new API
Mark Hymers [Thu, 23 Jul 2009 22:33:43 +0000 (23:33 +0100)]
convert rpu to new API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoenhance binary and source find routines
Mark Hymers [Thu, 23 Jul 2009 22:33:06 +0000 (23:33 +0100)]
enhance binary and source find routines

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert show_new to new API
Mark Hymers [Thu, 23 Jul 2009 21:55:19 +0000 (22:55 +0100)]
convert show_new to new API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomore conversion work for daklib/queue.py
Mark Hymers [Thu, 23 Jul 2009 21:54:02 +0000 (22:54 +0100)]
more conversion work for daklib/queue.py

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert queue_report to new dbconn/changes API
Mark Hymers [Thu, 23 Jul 2009 21:33:28 +0000 (22:33 +0100)]
convert queue_report to new dbconn/changes API

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd new comments support to dbconn
Mark Hymers [Thu, 23 Jul 2009 21:32:13 +0000 (22:32 +0100)]
add new comments support to dbconn

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove (pointless) old queue.Upload usage from add_user
Mark Hymers [Thu, 23 Jul 2009 21:16:43 +0000 (22:16 +0100)]
remove (pointless) old queue.Upload usage from add_user

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert daklib/queue.py to use new dbconn and changes API
Mark Hymers [Thu, 23 Jul 2009 21:15:08 +0000 (22:15 +0100)]
convert daklib/queue.py to use new dbconn and changes API

This is a first pass and likely to break

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agofix boneheaded error in summarystats
Mark Hymers [Thu, 23 Jul 2009 21:14:33 +0000 (22:14 +0100)]
fix boneheaded error in summarystats

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd support routines needed for queue.py
Mark Hymers [Thu, 23 Jul 2009 21:12:30 +0000 (22:12 +0100)]
add support routines needed for queue.py

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomake decode_dot_dak use Changes class
Mark Hymers [Thu, 23 Jul 2009 21:12:08 +0000 (22:12 +0100)]
make decode_dot_dak use Changes class

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoBreak out .dak file i/o handling into a seperate class
Mark Hymers [Thu, 23 Jul 2009 20:45:40 +0000 (21:45 +0100)]
Break out .dak file i/o handling into a seperate class

This will help when we need to do hacking on .dak files
for instance.

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agotidy up rfc2047 code
Mark Hymers [Sun, 31 May 2009 21:19:28 +0000 (22:19 +0100)]
tidy up rfc2047 code

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agofix boneheaded c+p error
Mark Hymers [Sun, 31 May 2009 14:54:44 +0000 (15:54 +0100)]
fix boneheaded c+p error

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agodb update 13: primary key fixes
Mark Hymers [Sun, 31 May 2009 14:50:34 +0000 (15:50 +0100)]
db update 13: primary key fixes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd suite show functionality to admin.py
Mark Hymers [Sun, 31 May 2009 11:34:43 +0000 (12:34 +0100)]
add suite show functionality to admin.py

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert stats to sqla
Mark Hymers [Sun, 31 May 2009 11:34:15 +0000 (12:34 +0100)]
convert stats to sqla

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd details method to Suite
Mark Hymers [Sun, 31 May 2009 11:08:54 +0000 (12:08 +0100)]
add details method to Suite

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert generate_releases to sqla
Mark Hymers [Mon, 25 May 2009 22:09:37 +0000 (23:09 +0100)]
convert generate_releases to sqla

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove (mercifully) unused routine
Mark Hymers [Mon, 25 May 2009 20:50:52 +0000 (21:50 +0100)]
remove (mercifully) unused routine

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agolet's be a bit more clever about this
Mark Hymers [Mon, 25 May 2009 20:37:53 +0000 (21:37 +0100)]
let's be a bit more clever about this

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoget rid of unused routine
Mark Hymers [Mon, 25 May 2009 20:33:31 +0000 (21:33 +0100)]
get rid of unused routine

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd wrapper routines
Mark Hymers [Mon, 25 May 2009 20:33:18 +0000 (21:33 +0100)]
add wrapper routines

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoSimple summary stats class
Mark Hymers [Mon, 25 May 2009 20:32:13 +0000 (21:32 +0100)]
Simple summary stats class

This is needed to get rid of this info from the Upload "class" so that
it can actually become, well, a class, not a badly and confusingly used
global variable with some attributes

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert add_user to SQLa
Mark Hymers [Mon, 25 May 2009 18:29:54 +0000 (19:29 +0100)]
convert add_user to SQLa

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremember to commit
Mark Hymers [Mon, 25 May 2009 18:18:00 +0000 (19:18 +0100)]
remember to commit

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoremove unneeded daklib.database import
Mark Hymers [Mon, 25 May 2009 18:16:13 +0000 (19:16 +0100)]
remove unneeded daklib.database import

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomove daklib/utils to sqla
Mark Hymers [Mon, 25 May 2009 18:14:32 +0000 (19:14 +0100)]
move daklib/utils to sqla

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomove examine-package to sqla
Mark Hymers [Mon, 25 May 2009 18:02:47 +0000 (19:02 +0100)]
move examine-package to sqla

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomove gid to sqla
Mark Hymers [Mon, 25 May 2009 17:45:14 +0000 (18:45 +0100)]
move gid to sqla

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoinit __all__
Mark Hymers [Mon, 25 May 2009 17:33:03 +0000 (18:33 +0100)]
init __all__

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agodon't need import any more
Mark Hymers [Mon, 25 May 2009 17:32:28 +0000 (18:32 +0100)]
don't need import any more

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agomove copy_temporary_contents
Mark Hymers [Mon, 25 May 2009 17:32:12 +0000 (18:32 +0100)]
move copy_temporary_contents

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agotypo fix
Mark Hymers [Mon, 25 May 2009 17:31:34 +0000 (18:31 +0100)]
typo fix

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agorename logging module to not conflict with the python one
Mark Hymers [Mon, 25 May 2009 17:31:20 +0000 (18:31 +0100)]
rename logging module to not conflict with the python one

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert contents to sqla
Mark Hymers [Mon, 25 May 2009 16:40:08 +0000 (17:40 +0100)]
convert contents to sqla

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd get_contents routine
Mark Hymers [Mon, 25 May 2009 15:01:12 +0000 (16:01 +0100)]
add get_contents routine

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoFix overridetype function
Mark Hymers [Mon, 25 May 2009 14:39:30 +0000 (15:39 +0100)]
Fix overridetype function

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoconvert p-u to use sqlalchemy
Mark Hymers [Sat, 23 May 2009 23:22:29 +0000 (00:22 +0100)]
convert p-u to use sqlalchemy

Signed-off-by: Mark Hymers <mhy@debian.org>
15 years agoadd get_split_maintainer method
Mark Hymers [Sat, 23 May 2009 23:04:01 +0000 (00:04 +0100)]
add get_split_maintainer method

Signed-off-by: Mark Hymers <mhy@debian.org>