]> git.decadent.org.uk Git - dak.git/log
dak.git
13 years agocontrol-suite: remove packages after adding new ones
Ansgar Burchardt [Sun, 21 Aug 2011 19:47:43 +0000 (19:47 +0000)]
control-suite: remove packages after adding new ones

We have to add package before removing those no longer wanted. Otherwise
an old version could enter a suite without us noticing (as the old
version would already be gone and thus no version check violated).

13 years agocontrol-suite: sort list by (package-name, version)
Ansgar Burchardt [Sun, 21 Aug 2011 19:42:31 +0000 (19:42 +0000)]
control-suite: sort list by (package-name, version)

Having multiple versions of the same package in a suite should be
possible, but we need to add the package with the lower version first to
ensure that version checks are not violated.

13 years agoAdd 2 partial indexes to db to speed up dak rm.
Torsten Werner [Thu, 18 Aug 2011 17:31:11 +0000 (17:31 +0000)]
Add 2 partial indexes to db to speed up dak rm.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/rm' into merge
Joerg Jaspert [Mon, 15 Aug 2011 20:38:43 +0000 (22:38 +0200)]
Merge remote-tracking branch 'ansgar/rm' into merge

* ansgar/rm:
  Use WITH statement instead of a temporary table

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agocopyoverrides
Joerg Jaspert [Sun, 14 Aug 2011 10:10:57 +0000 (12:10 +0200)]
copyoverrides

we do want to work with the basename, not the full path of the file here

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agocopyoverrides
Joerg Jaspert [Sat, 13 Aug 2011 21:36:07 +0000 (23:36 +0200)]
copyoverrides

make copyoverrides() function MUCH simpler and let it export all
the overrides, it was missing stuff which let to problems with
security archive.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'drkranz/mail' into merge
Joerg Jaspert [Sat, 13 Aug 2011 11:41:29 +0000 (13:41 +0200)]
Merge remote-tracking branch 'drkranz/mail' into merge

* drkranz/mail:
  Check whether GPG key has a @debian.org uid, and use it
  Make sure uid_email is a valid email address

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoUse WITH statement instead of a temporary table
Ansgar Burchardt [Fri, 12 Aug 2011 21:05:46 +0000 (21:05 +0000)]
Use WITH statement instead of a temporary table

13 years agoMerge branch 'master' into rm
Torsten Werner [Thu, 11 Aug 2011 20:42:27 +0000 (22:42 +0200)]
Merge branch 'master' into rm

13 years agoadd primary key
Torsten Werner [Thu, 11 Aug 2011 20:31:38 +0000 (20:31 +0000)]
add primary key

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoyet another fix
Torsten Werner [Thu, 11 Aug 2011 19:52:14 +0000 (19:52 +0000)]
yet another fix

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agofix sql statement in rm.py
Torsten Werner [Thu, 11 Aug 2011 19:24:27 +0000 (19:24 +0000)]
fix sql statement in rm.py

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoCheck whether GPG key has a @debian.org uid, and use it
Luca Falavigna [Thu, 11 Aug 2011 13:46:47 +0000 (13:46 +0000)]
Check whether GPG key has a @debian.org uid, and use it

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMake sure uid_email is a valid email address
Luca Falavigna [Fri, 29 Jul 2011 08:14:17 +0000 (08:14 +0000)]
Make sure uid_email is a valid email address

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoUpdate schema to 65
Mark Hymers [Wed, 10 Aug 2011 20:53:09 +0000 (21:53 +0100)]
Update schema to 65

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Wed, 10 Aug 2011 19:59:27 +0000 (20:59 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agoMake suite.announce an ARRAY
Mark Hymers [Wed, 10 Aug 2011 19:59:23 +0000 (20:59 +0100)]
Make suite.announce an ARRAY

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agofix last commit: return [] instead of None
Torsten Werner [Wed, 10 Aug 2011 08:04:21 +0000 (10:04 +0200)]
fix last commit: return [] instead of None

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoget_suite_architectures() can return None
Torsten Werner [Wed, 10 Aug 2011 07:08:39 +0000 (09:08 +0200)]
get_suite_architectures() can return None

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoSet overridecodename by default
Mark Hymers [Sun, 31 Jul 2011 10:49:25 +0000 (11:49 +0100)]
Set overridecodename by default

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoGive slightly nicer error message on db conn failure
Mark Hymers [Sat, 30 Jul 2011 21:26:52 +0000 (22:26 +0100)]
Give slightly nicer error message on db conn failure

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix NoMail case
Mark Hymers [Sat, 30 Jul 2011 20:55:49 +0000 (21:55 +0100)]
Fix NoMail case

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoDocument Depends more clearly
Mark Hymers [Sat, 30 Jul 2011 20:52:03 +0000 (21:52 +0100)]
Document Depends more clearly

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMake it easier to spot if psql fails
Mark Hymers [Sat, 30 Jul 2011 14:33:18 +0000 (15:33 +0100)]
Make it easier to spot if psql fails

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Sat, 30 Jul 2011 12:57:10 +0000 (13:57 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agoBail out earlier
Mark Hymers [Sat, 30 Jul 2011 12:54:27 +0000 (13:54 +0100)]
Bail out earlier

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoDon't say we're sending mail when we're not
Mark Hymers [Sat, 30 Jul 2011 12:54:04 +0000 (13:54 +0100)]
Don't say we're sending mail when we're not

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Sat, 30 Jul 2011 09:37:14 +0000 (10:37 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agoAdd docs that the secret key only needs to be able to sign
Mark Hymers [Sat, 30 Jul 2011 09:36:30 +0000 (10:36 +0100)]
Add docs that the secret key only needs to be able to sign

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoEnsure we have a session so that we can look up srcformats
Mark Hymers [Sat, 30 Jul 2011 09:34:32 +0000 (10:34 +0100)]
Ensure we have a session so that we can look up srcformats

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoSimplify src_format handling
Mark Hymers [Sat, 30 Jul 2011 09:28:27 +0000 (10:28 +0100)]
Simplify src_format handling

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Sat, 30 Jul 2011 08:43:12 +0000 (09:43 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agoUse /bin/bash as dak's shell
Mark Hymers [Sat, 30 Jul 2011 08:40:59 +0000 (09:40 +0100)]
Use /bin/bash as dak's shell

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoClean up account creation instructions
Mark Hymers [Sat, 30 Jul 2011 08:37:43 +0000 (09:37 +0100)]
Clean up account creation instructions

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse --system
Mark Hymers [Sat, 30 Jul 2011 08:34:04 +0000 (09:34 +0100)]
Use --system

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Sat, 30 Jul 2011 08:20:29 +0000 (09:20 +0100)]
Merge remote branch 'mhy/master'

13 years agoCope with missing suite
Mark Hymers [Sat, 30 Jul 2011 07:12:29 +0000 (08:12 +0100)]
Cope with missing suite

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unreferenced variable from config
Mark Hymers [Sat, 30 Jul 2011 07:09:48 +0000 (08:09 +0100)]
Remove unreferenced variable from config

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unused template
Mark Hymers [Sat, 30 Jul 2011 06:53:19 +0000 (07:53 +0100)]
Remove unused template

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Fri, 29 Jul 2011 22:35:15 +0000 (23:35 +0100)]
Merge remote branch 'mhy/master'

13 years agoEnhance setup and getting started instructions
Mark Hymers [Fri, 29 Jul 2011 22:34:27 +0000 (23:34 +0100)]
Enhance setup and getting started instructions

Thanks to Julien Cristau for initial testing and feedback.

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd src_formats by default
Mark Hymers [Fri, 29 Jul 2011 22:17:20 +0000 (23:17 +0100)]
Add src_formats by default

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoImprove lock fallbacks
Mark Hymers [Fri, 29 Jul 2011 21:55:07 +0000 (22:55 +0100)]
Improve lock fallbacks

If Process-New doesn't have specific lock configuration,
fall back to some saneish defaults.

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Fri, 29 Jul 2011 20:50:47 +0000 (21:50 +0100)]
Merge remote branch 'mhy/master'

13 years agoGive exception information
Mark Hymers [Fri, 29 Jul 2011 20:39:43 +0000 (21:39 +0100)]
Give exception information

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing import
Mark Hymers [Fri, 29 Jul 2011 20:39:19 +0000 (21:39 +0100)]
Add missing import

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing variable
Mark Hymers [Fri, 29 Jul 2011 20:39:07 +0000 (21:39 +0100)]
Add missing variable

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing /
Mark Hymers [Fri, 29 Jul 2011 20:39:00 +0000 (21:39 +0100)]
Add missing /

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Fri, 29 Jul 2011 20:15:41 +0000 (21:15 +0100)]
Merge remote branch 'mhy/master'

13 years agoTidy up dependencies
Mark Hymers [Fri, 29 Jul 2011 20:13:12 +0000 (21:13 +0100)]
Tidy up dependencies

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Fri, 29 Jul 2011 20:03:34 +0000 (21:03 +0100)]
Merge remote branch 'mhy/master'

13 years agoAdd documentation for setting up keyrings
Mark Hymers [Fri, 29 Jul 2011 20:03:11 +0000 (21:03 +0100)]
Add documentation for setting up keyrings

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoCreate keyrings if necessary
Mark Hymers [Fri, 29 Jul 2011 20:02:57 +0000 (21:02 +0100)]
Create keyrings if necessary

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unused variable
Mark Hymers [Fri, 29 Jul 2011 20:01:14 +0000 (21:01 +0100)]
Remove unused variable

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd signingkey option to suite add command
Mark Hymers [Fri, 29 Jul 2011 20:00:35 +0000 (21:00 +0100)]
Add signingkey option to suite add command

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agodak rm: read binary metadata from db
Torsten Werner [Fri, 29 Jul 2011 17:09:44 +0000 (17:09 +0000)]
dak rm: read binary metadata from db

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoSkip project trace dir
Mark Hymers [Fri, 29 Jul 2011 14:41:06 +0000 (15:41 +0100)]
Skip project trace dir

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing import
Mark Hymers [Fri, 29 Jul 2011 14:28:12 +0000 (15:28 +0100)]
Add missing import

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix thinko regarding ctime and datetime
Mark Hymers [Fri, 29 Jul 2011 14:27:06 +0000 (15:27 +0100)]
Fix thinko regarding ctime and datetime

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix path existance check
Mark Hymers [Fri, 29 Jul 2011 13:32:49 +0000 (14:32 +0100)]
Fix path existance check

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd error handling to find-null-maintainers
Mark Hymers [Fri, 29 Jul 2011 13:30:58 +0000 (14:30 +0100)]
Add error handling to find-null-maintainers

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd logger.close routine
Mark Hymers [Fri, 29 Jul 2011 13:25:02 +0000 (14:25 +0100)]
Add logger.close routine

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agodak rm: improve checking of reverse Build-Depends
Torsten Werner [Fri, 29 Jul 2011 13:12:38 +0000 (13:12 +0000)]
dak rm: improve checking of reverse Build-Depends

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove 'poolize' command from dak.py; it hasn't been there for ages
Mark Hymers [Fri, 29 Jul 2011 13:23:12 +0000 (14:23 +0100)]
Remove 'poolize' command from dak.py; it hasn't been there for ages

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove utils. qualifications
Mark Hymers [Fri, 29 Jul 2011 13:19:00 +0000 (14:19 +0100)]
Remove utils. qualifications

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix thinko
Mark Hymers [Fri, 29 Jul 2011 13:18:12 +0000 (14:18 +0100)]
Fix thinko

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing import
Mark Hymers [Fri, 29 Jul 2011 13:17:07 +0000 (14:17 +0100)]
Add missing import

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix typo
Mark Hymers [Fri, 29 Jul 2011 13:16:20 +0000 (14:16 +0100)]
Fix typo

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd defaults for variables and move to y/m/d dir layout
Mark Hymers [Fri, 29 Jul 2011 13:13:56 +0000 (14:13 +0100)]
Add defaults for variables and move to y/m/d dir layout

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMake init-dirs read from database
Mark Hymers [Fri, 29 Jul 2011 12:30:51 +0000 (13:30 +0100)]
Make init-dirs read from database

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoCope with missing variables
Mark Hymers [Fri, 29 Jul 2011 12:30:32 +0000 (13:30 +0100)]
Cope with missing variables

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoBring template config up-to-date with removals
Mark Hymers [Fri, 29 Jul 2011 11:48:24 +0000 (12:48 +0100)]
Bring template config up-to-date with removals

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unneeded config file options
Mark Hymers [Fri, 29 Jul 2011 11:45:38 +0000 (12:45 +0100)]
Remove unneeded config file options

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFinal queue.py Dir::Queue removals
Mark Hymers [Fri, 29 Jul 2011 11:44:53 +0000 (12:44 +0100)]
Final queue.py Dir::Queue removals

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMore database use to replace config file
Mark Hymers [Fri, 29 Jul 2011 11:44:19 +0000 (12:44 +0100)]
More database use to replace config file

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse database instead of config file
Mark Hymers [Fri, 29 Jul 2011 11:39:03 +0000 (12:39 +0100)]
Use database instead of config file

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix typo
Mark Hymers [Fri, 29 Jul 2011 11:37:03 +0000 (12:37 +0100)]
Fix typo

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoConvert from Dir::Queue references to db
Mark Hymers [Fri, 29 Jul 2011 10:33:42 +0000 (11:33 +0100)]
Convert from Dir::Queue references to db

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoStop using Dir::Queue::
Mark Hymers [Fri, 29 Jul 2011 10:28:02 +0000 (11:28 +0100)]
Stop using Dir::Queue::

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix output name
Mark Hymers [Fri, 29 Jul 2011 09:43:53 +0000 (10:43 +0100)]
Fix output name

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing import
Mark Hymers [Fri, 29 Jul 2011 09:39:11 +0000 (10:39 +0100)]
Add missing import

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Fri, 29 Jul 2011 09:37:45 +0000 (10:37 +0100)]
Merge remote branch 'mhy/master'

13 years agoLook up queue paths in database
Mark Hymers [Fri, 29 Jul 2011 09:37:30 +0000 (10:37 +0100)]
Look up queue paths in database

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove use of ::Queue:: in the import_known_changes
Mark Hymers [Fri, 29 Jul 2011 09:29:52 +0000 (10:29 +0100)]
Remove use of ::Queue:: in the import_known_changes

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoCatch exceptions when running import-users-from-passwd
Mark Hymers [Fri, 29 Jul 2011 09:06:06 +0000 (10:06 +0100)]
Catch exceptions when running import-users-from-passwd

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove use of Dir::Queue::Disembargo
Mark Hymers [Fri, 29 Jul 2011 08:41:50 +0000 (09:41 +0100)]
Remove use of Dir::Queue::Disembargo

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove use of Dir::Queue::Unchecked in config file
Mark Hymers [Fri, 29 Jul 2011 08:28:41 +0000 (09:28 +0100)]
Remove use of Dir::Queue::Unchecked in config file

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agodak rm: don't do rdep check on multiple suites
Torsten Werner [Fri, 29 Jul 2011 08:11:46 +0000 (08:11 +0000)]
dak rm: don't do rdep check on multiple suites

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix up dak config template
Mark Hymers [Fri, 29 Jul 2011 08:00:47 +0000 (09:00 +0100)]
Fix up dak config template

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoReject isn't a queue
Mark Hymers [Fri, 29 Jul 2011 07:55:36 +0000 (08:55 +0100)]
Reject isn't a queue

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agodak rm: warn when working on oldstable as on stable
Torsten Werner [Fri, 29 Jul 2011 07:50:47 +0000 (07:50 +0000)]
dak rm: warn when working on oldstable as on stable

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove old, broken and unused code
Mark Hymers [Fri, 29 Jul 2011 07:31:42 +0000 (08:31 +0100)]
Remove old, broken and unused code

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUpdate schema to rev 64
Mark Hymers [Thu, 28 Jul 2011 13:22:02 +0000 (14:22 +0100)]
Update schema to rev 64

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoIgnore generated file
Mark Hymers [Thu, 28 Jul 2011 13:19:58 +0000 (14:19 +0100)]
Ignore generated file

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix up permissions. Closes: #633519
Mark Hymers [Thu, 28 Jul 2011 13:01:50 +0000 (14:01 +0100)]
Fix up permissions.  Closes: #633519

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Thu, 28 Jul 2011 07:46:12 +0000 (08:46 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agoNote about symlink
Mark Hymers [Thu, 28 Jul 2011 07:11:13 +0000 (08:11 +0100)]
Note about symlink

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoNotes about creating dak.conf
Mark Hymers [Thu, 28 Jul 2011 07:10:07 +0000 (08:10 +0100)]
Notes about creating dak.conf

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd minimal dak.conf examples
Mark Hymers [Thu, 28 Jul 2011 07:09:52 +0000 (08:09 +0100)]
Add minimal dak.conf examples

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing example setting
Mark Hymers [Thu, 28 Jul 2011 07:00:01 +0000 (08:00 +0100)]
Add missing example setting

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