]>
git.decadent.org.uk Git - dak.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Mark Hymers [Mon, 25 May 2009 20:33:18 +0000 (21:33 +0100)]
add wrapper routines
Signed-off-by: Mark Hymers <mhy@debian.org>
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>
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>
Mark Hymers [Mon, 25 May 2009 18:18:00 +0000 (19:18 +0100)]
remember to commit
Signed-off-by: Mark Hymers <mhy@debian.org>
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>
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>
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>
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>
Mark Hymers [Mon, 25 May 2009 17:33:03 +0000 (18:33 +0100)]
init __all__
Signed-off-by: Mark Hymers <mhy@debian.org>
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>
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>
Mark Hymers [Mon, 25 May 2009 17:31:34 +0000 (18:31 +0100)]
typo fix
Signed-off-by: Mark Hymers <mhy@debian.org>
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>
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>
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>
Mark Hymers [Mon, 25 May 2009 14:39:30 +0000 (15:39 +0100)]
Fix overridetype function
Signed-off-by: Mark Hymers <mhy@debian.org>
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>
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>
Mark Hymers [Sat, 23 May 2009 23:03:47 +0000 (00:03 +0100)]
allow querying on dm_upload_allowed
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 23 May 2009 23:03:13 +0000 (00:03 +0100)]
move fix_maintainer support routines to textutils
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 23 May 2009 21:57:56 +0000 (22:57 +0100)]
add get_uid_from_fingerprint routine
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 23 May 2009 21:34:32 +0000 (22:34 +0100)]
add get_binary_components (from p-u)
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 23 May 2009 15:59:14 +0000 (16:59 +0100)]
convert contents.py to the new API
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 21:16:35 +0000 (22:16 +0100)]
add options to get_suite_architectures
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 20:40:35 +0000 (21:40 +0100)]
move to sqla
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 16:20:59 +0000 (17:20 +0100)]
export some exceptions
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 16:09:26 +0000 (17:09 +0100)]
source -> DBSource, binary -> DBBinary
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 16:02:42 +0000 (17:02 +0100)]
whitespace cleanup
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 16:00:14 +0000 (17:00 +0100)]
allow listing all s-a/a combinations and add a backref to make it easier
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 15:32:49 +0000 (16:32 +0100)]
tidy up file
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 15:30:39 +0000 (16:30 +0100)]
finish rewriting routines to use SQLA
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 2 May 2009 14:37:55 +0000 (15:37 +0100)]
export DBConn
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 1 May 2009 23:13:10 +0000 (00:13 +0100)]
safe to import * now
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 1 May 2009 23:10:56 +0000 (00:10 +0100)]
make it safer to do from daklib.dbconn import *
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 1 May 2009 22:57:06 +0000 (23:57 +0100)]
use SQLAlchemy instead of hard coded SQL
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 1 May 2009 22:56:48 +0000 (23:56 +0100)]
change to not using autocommit by default
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 1 May 2009 22:56:09 +0000 (23:56 +0100)]
ContentAssociations -> ContentAssociation
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 25 Apr 2009 18:44:58 +0000 (19:44 +0100)]
add basic dak admin command to test out sqla work
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 25 Apr 2009 18:44:41 +0000 (19:44 +0100)]
add suite_arch routine
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 25 Apr 2009 17:07:51 +0000 (18:07 +0100)]
untested conversion to sqla class
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 25 Apr 2009 17:07:19 +0000 (18:07 +0100)]
more conversions to sqla
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 25 Apr 2009 14:43:31 +0000 (15:43 +0100)]
update to 0.5 api
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 18 Apr 2009 12:04:28 +0000 (13:04 +0100)]
updates
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Mon, 13 Apr 2009 20:33:25 +0000 (21:33 +0100)]
more class / get/set routine work (in progress)
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 11 Apr 2009 18:34:23 +0000 (19:34 +0100)]
improve mappings
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 11 Apr 2009 16:54:33 +0000 (17:54 +0100)]
remove pointless code
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sun, 5 Apr 2009 23:21:00 +0000 (00:21 +0100)]
add very basic set of ORM classes
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sun, 5 Apr 2009 19:14:16 +0000 (20:14 +0100)]
check in old SQLa work
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sun, 9 Aug 2009 12:12:00 +0000 (14:12 +0200)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Add some simple regression tests for regexes.re_single_line_field
Add a basic test runner.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Chris Lamb [Sun, 9 Aug 2009 12:09:26 +0000 (13:09 +0100)]
Add some simple regression tests for regexes.re_single_line_field
In particular, check fields that being with a colon (see
d7eb2f0 ).
Chris Lamb [Sun, 9 Aug 2009 12:07:50 +0000 (13:07 +0100)]
Add a basic test runner.
Joerg Jaspert [Sun, 9 Aug 2009 09:03:33 +0000 (11:03 +0200)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Correct regex for 822 value fields that begin with a colon character
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Chris Lamb [Sun, 9 Aug 2009 03:22:04 +0000 (04:22 +0100)]
Correct regex for 822 value fields that begin with a colon character
Previously, we parsed "colon: :" => ("colon:", "") and "lol: :lol" =>
("lol:", "lol"). This commit changes these parses to ("colon", "") and
("lol", ":lol") respectfully.
Fields starting with colons can happen with values containing CVS
locations. eg:
Vcs-Cvs: :ext:_anoncvs@anoncvs.mirbsd.org:/cvs contrib/hosted/tg/deb/makefs
(from /srv/ftp.debian.org/queue/new/makefs_20090808-1.dsc)
This is causing a traceback when examining this package as the regex to
strip the keys in read_changes_or_dsc(..) works differently to this one.
Signed-off-by: Chris Lamb <lamby@debian.org>
Joerg Jaspert [Sat, 8 Aug 2009 18:24:31 +0000 (20:24 +0200)]
Ups
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 8 Aug 2009 18:21:44 +0000 (20:21 +0200)]
byhand-foo
and use the new script location
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 8 Aug 2009 18:18:07 +0000 (20:18 +0200)]
mk_extra_overrides
and use an improved version provided from Frans Pop.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 8 Aug 2009 18:16:33 +0000 (20:16 +0200)]
mk-extra-overrides
properly add this script to $VCS
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 8 Aug 2009 17:55:33 +0000 (19:55 +0200)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
Clear package_relations in all cases so that subsequent calls are not polluted
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Chris Lamb [Sat, 8 Aug 2009 16:13:49 +0000 (17:13 +0100)]
Clear package_relations in all cases so that subsequent calls are not polluted
Joerg Jaspert [Wed, 5 Aug 2009 23:15:22 +0000 (01:15 +0200)]
dak.conf
While sick this makes sure we can still find stuff and not break.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 5 Aug 2009 21:45:23 +0000 (23:45 +0200)]
templates
adjust the override disparity template
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 5 Aug 2009 20:37:18 +0000 (22:37 +0200)]
queue
security wants us to check their origs also in their upload/embargo queies. so lets do that
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 2 Aug 2009 10:03:18 +0000 (12:03 +0200)]
And add the bsds to d-i
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Tue, 28 Jul 2009 22:32:45 +0000 (22:32 +0000)]
remove kfreebsd from d-i for now
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Mon, 27 Jul 2009 19:39:46 +0000 (19:39 +0000)]
generate Packages for testing/t-p-u for kfreebsd-*
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sun, 19 Jul 2009 15:57:52 +0000 (17:57 +0200)]
dqeued
it is really helpful if we upload to ftp-master.d.o instead of ftp.upload.debian.org.
Especially in the case ftp.u.d.o points back to us, as then we think its already there
and go "HEY, FINE, DELETE". Which isnt what the DDs expect, for some reason.
Thanks to sgran/weasel for this fix.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Jul 2009 10:32:53 +0000 (12:32 +0200)]
cvs moved to alioth
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Jul 2009 10:28:06 +0000 (12:28 +0200)]
Write some more stuff down
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 5 Jul 2009 14:18:15 +0000 (16:18 +0200)]
remove sh, currently unused
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 5 Jul 2009 14:12:18 +0000 (16:12 +0200)]
also 822 the oldproposedupdates
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 5 Jul 2009 13:54:36 +0000 (15:54 +0200)]
dak.conf
allow codename uploads using maps.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 5 Jul 2009 13:49:35 +0000 (15:49 +0200)]
process-new
allow to delete all notes at once, including notes for old versions.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 22 Jun 2009 20:26:57 +0000 (22:26 +0200)]
use error instead of ERR
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 21 Jun 2009 09:54:13 +0000 (11:54 +0200)]
dinstall
mention in subject of error mails if dinstall was broken due to this, or
if the error was ignored.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 20 Jun 2009 15:07:07 +0000 (17:07 +0200)]
kfreebsd
add kfreebsd d-i stuff
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Tue, 16 Jun 2009 22:29:16 +0000 (22:29 +0000)]
add stupid hack to work around apt-pkg's config handling
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Tue, 16 Jun 2009 22:16:12 +0000 (00:16 +0200)]
signing key
lets drop the old and only use the new one.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 13 Jun 2009 22:00:18 +0000 (00:00 +0200)]
process-new
(Hopefully) ignore trainee comments for the sorting within NEW.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 8 Jun 2009 22:20:52 +0000 (00:20 +0200)]
process-new
and use _accept() instead of move_to_holding()
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 8 Jun 2009 22:16:16 +0000 (00:16 +0200)]
process-new
move stable/oldstable updates to newstage and not to holding area
when the source is in newstage.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 5 Jun 2009 06:39:56 +0000 (08:39 +0200)]
Sign with the new key
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 5 Jun 2009 06:39:43 +0000 (08:39 +0200)]
Use the right timestamp name
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 4 Jun 2009 19:08:49 +0000 (21:08 +0200)]
dinstall
no longer number the timestamps
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 3 Jun 2009 23:11:20 +0000 (01:11 +0200)]
dinstall
background two function calls.
once for the initial ssh to merkel and the other the dak-dev cluster
projectb reload on ries.
The first does not need to be foreground, we do not care if we are already
continuing in dinstall, its only informative for the qa user on merkel.
The second also doesnt need to run alone. The next thing after it is the 1hour
apt-fuckthearchive call. So the dak-dev reload will well be done, with its 15 minutes
runtime, before the next function is also done. And there is no harm done
in having the two run at the same time.
Signed-off-by: Joerg Jaspert <joerg@debian.org>