]> git.decadent.org.uk Git - dak.git/log
dak.git
13 years agoMerge remote-tracking branch 'ansgar/package-set' into merge
Joerg Jaspert [Fri, 25 Mar 2011 13:57:39 +0000 (14:57 +0100)]
Merge remote-tracking branch 'ansgar/package-set' into merge

* ansgar/package-set:
  determine_new: Really make `new' an empty dict

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodetermine_new: Really make `new' an empty dict
Ansgar Burchardt [Fri, 25 Mar 2011 13:27:36 +0000 (13:27 +0000)]
determine_new: Really make `new' an empty dict

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/package-set' into merge
Joerg Jaspert [Thu, 24 Mar 2011 10:33:44 +0000 (11:33 +0100)]
Merge remote-tracking branch 'ansgar/package-set' into merge

* ansgar/package-set:
  process-new: allow overrides to work for Package-Set
  Make use of Package-Set in determine_new
  queue.Upload: separate code to load .dsc from check_dsc
  utils.py: Add parser for Package-Set field in .dsc
  process-upload: Dinstall::LintianTags may not be set

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoprocess-new: allow overrides to work for Package-Set
Ansgar Burchardt [Thu, 24 Mar 2011 08:45:37 +0000 (08:45 +0000)]
process-new: allow overrides to work for Package-Set

New packages from Package-Set do not always have files assocciated with
them. In that case edited overrides would be lost once we call
override_new again. We pass the old new dictionary so we can preserve
this information.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoMerge branch 'contents' into pkgsrc
Torsten Werner [Thu, 24 Mar 2011 08:36:52 +0000 (09:36 +0100)]
Merge branch 'contents' into pkgsrc

13 years agoMerge branch 'pkgsrc' of ftp-master.debian.org:public_html/dak into pkgsrc
Torsten Werner [Thu, 24 Mar 2011 08:36:45 +0000 (09:36 +0100)]
Merge branch 'pkgsrc' of ftp-master.debian.org:public_html/dak into pkgsrc

13 years agoMake use of Package-Set in determine_new
Ansgar Burchardt [Thu, 24 Mar 2011 08:36:15 +0000 (08:36 +0000)]
Make use of Package-Set in determine_new

Make use of the Package-Set field of an included .dsc file when looking
for NEW packages.  See http://bugs.debian.org/619131 for more
information.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoMerge branch 'master' into contents
Torsten Werner [Thu, 24 Mar 2011 08:35:23 +0000 (09:35 +0100)]
Merge branch 'master' into contents

Conflicts:
daklib/dbconn.py

13 years agoqueue.Upload: separate code to load .dsc from check_dsc
Ansgar Burchardt [Thu, 24 Mar 2011 08:32:17 +0000 (08:32 +0000)]
queue.Upload: separate code to load .dsc from check_dsc

Move the code to load the .dsc file into the self.pkg.dsc dictionary
into a separate function so it can be called without the side effects in
check_dsc.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoutils.py: Add parser for Package-Set field in .dsc
Ansgar Burchardt [Thu, 24 Mar 2011 08:29:32 +0000 (08:29 +0000)]
utils.py: Add parser for Package-Set field in .dsc

See http://bugs.debian.org/619131 for more information.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoprocess-upload: Dinstall::LintianTags may not be set
Ansgar Burchardt [Thu, 24 Mar 2011 08:28:19 +0000 (08:28 +0000)]
process-upload: Dinstall::LintianTags may not be set

Handle the case when Dinstall::LintianTags is not set correctly.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoRefactor functions getSource() and getBinaries().
Torsten Werner [Thu, 24 Mar 2011 08:28:05 +0000 (08:28 +0000)]
Refactor functions getSource() and getBinaries().

Both functions are moved from dak/generate_filelist.py to
daklib/lists.py. The generator now yields a tuple with the id as the
first element.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak
Torsten Werner [Wed, 23 Mar 2011 21:53:29 +0000 (22:53 +0100)]
Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak

13 years agoORMObject: make validation more robust.
Torsten Werner [Wed, 23 Mar 2011 21:45:10 +0000 (22:45 +0100)]
ORMObject: make validation more robust.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'merge'
Joerg Jaspert [Wed, 23 Mar 2011 21:25:42 +0000 (22:25 +0100)]
Merge branch 'merge'

* merge:
  Fix dak update-db

13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Wed, 23 Mar 2011 21:25:39 +0000 (22:25 +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:
  Proper fix for validate problem
  validate is somehow causing a double flush; comment for now

13 years agoMerge remote-tracking branch 'ansgar/fix-update-db' into merge
Joerg Jaspert [Wed, 23 Mar 2011 21:25:26 +0000 (22:25 +0100)]
Merge remote-tracking branch 'ansgar/fix-update-db' into merge

* ansgar/fix-update-db:
  Fix dak update-db

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoProper fix for validate problem
Mark Hymers [Wed, 23 Mar 2011 21:20:35 +0000 (21:20 +0000)]
Proper fix for validate problem

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agovalidate is somehow causing a double flush; comment for now
Mark Hymers [Wed, 23 Mar 2011 21:19:13 +0000 (21:19 +0000)]
validate is somehow causing a double flush; comment for now

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Wed, 23 Mar 2011 21:05:40 +0000 (22:05 +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:
  Fix up permissions
  metadata generation work
  Use UnpackedSource in queue.py.
  Improve exception handling in make-changelog.
  Work with service mode
  Use UnpackedSource in make-changelog.
  Add new class UnpackedSource and a new test.
  Start work on Packages import

13 years agoOptimize file rename in dak generate.
Torsten Werner [Wed, 23 Mar 2011 19:59:45 +0000 (20:59 +0100)]
Optimize file rename in dak generate.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoHandle exceptions in dak contents scan-source.
Torsten Werner [Wed, 23 Mar 2011 19:50:00 +0000 (19:50 +0000)]
Handle exceptions in dak contents scan-source.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRename contents subcommands to be consistent with metadata.
Torsten Werner [Wed, 23 Mar 2011 19:44:17 +0000 (20:44 +0100)]
Rename contents subcommands to be consistent with metadata.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agobugfixes
Torsten Werner [Wed, 23 Mar 2011 19:27:48 +0000 (19:27 +0000)]
bugfixes

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix up permission
Mark Hymers [Wed, 23 Mar 2011 19:27:34 +0000 (19:27 +0000)]
Fix up permission

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix up permissions
Mark Hymers [Wed, 23 Mar 2011 19:22:59 +0000 (19:22 +0000)]
Fix up permissions

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd subcommand source-scan to 'dak contents'.
Torsten Werner [Wed, 23 Mar 2011 19:11:41 +0000 (20:11 +0100)]
Add subcommand source-scan to 'dak contents'.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd class SourceContentsScanner.
Torsten Werner [Wed, 23 Mar 2011 19:03:33 +0000 (20:03 +0100)]
Add class SourceContentsScanner.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agomove to service usage
Joerg Jaspert [Wed, 23 Mar 2011 18:59:10 +0000 (19:59 +0100)]
move to service usage

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoFix dak update-db
Ansgar Burchardt [Wed, 23 Mar 2011 17:51:31 +0000 (17:51 +0000)]
Fix dak update-db

13 years agoMerge remote branch 'mhy/psimport' into merge
Mark Hymers [Wed, 23 Mar 2011 18:36:19 +0000 (18:36 +0000)]
Merge remote branch 'mhy/psimport' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agometadata generation work
Mark Hymers [Wed, 23 Mar 2011 18:34:24 +0000 (18:34 +0000)]
metadata generation work

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master' into psimport
Mark Hymers [Wed, 23 Mar 2011 18:33:54 +0000 (18:33 +0000)]
Merge remote branch 'ftpmaster/master' into psimport

Conflicts:
daklib/dbconn.py

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRename ContentsScanner to BinaryContentsScanner.
Torsten Werner [Wed, 23 Mar 2011 18:02:48 +0000 (19:02 +0100)]
Rename ContentsScanner to BinaryContentsScanner.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoUse UnpackedSource in queue.py.
Torsten Werner [Wed, 23 Mar 2011 16:23:29 +0000 (17:23 +0100)]
Use UnpackedSource in queue.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'contents'
Torsten Werner [Wed, 23 Mar 2011 16:01:35 +0000 (17:01 +0100)]
Merge branch 'contents'

13 years agoImprove exception handling in make-changelog.
Torsten Werner [Wed, 23 Mar 2011 15:58:45 +0000 (15:58 +0000)]
Improve exception handling in make-changelog.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Wed, 23 Mar 2011 14:37:09 +0000 (14:37 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoWork with service mode
Mark Hymers [Wed, 23 Mar 2011 14:36:28 +0000 (14:36 +0000)]
Work with service mode

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoallow null versions
Joerg Jaspert [Wed, 23 Mar 2011 14:33:50 +0000 (15:33 +0100)]
allow null versions

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoUse UnpackedSource in make-changelog.
Torsten Werner [Wed, 23 Mar 2011 13:52:41 +0000 (14:52 +0100)]
Use UnpackedSource in make-changelog.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd new class UnpackedSource and a new test.
Torsten Werner [Wed, 23 Mar 2011 12:40:25 +0000 (13:40 +0100)]
Add new class UnpackedSource and a new test.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agouse service name
Joerg Jaspert [Wed, 23 Mar 2011 12:54:36 +0000 (13:54 +0100)]
use  service name

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'pkgsrc'
Torsten Werner [Wed, 23 Mar 2011 11:10:08 +0000 (12:10 +0100)]
Merge branch 'pkgsrc'

13 years agoMetadata: add cascading to mapper configuration.
Torsten Werner [Wed, 23 Mar 2011 11:09:11 +0000 (12:09 +0100)]
Metadata: add cascading to mapper configuration.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Wed, 23 Mar 2011 10:38:46 +0000 (11:38 +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:
  Configure and test more mapper relationships.

13 years agono longer pgdatabase
Joerg Jaspert [Wed, 23 Mar 2011 10:38:41 +0000 (11:38 +0100)]
no longer pgdatabase

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoConfigure and test more mapper relationships.
Torsten Werner [Wed, 23 Mar 2011 08:54:45 +0000 (09:54 +0100)]
Configure and test more mapper relationships.

- DBBinary and DBSource have relationships to BinaryMetadata and SourceMetadata.
- Both have an associationproxy to hide the details.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoStart work on Packages import
Mark Hymers [Wed, 23 Mar 2011 09:53:09 +0000 (09:53 +0000)]
Start work on Packages import

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd Metadata classes + tests.
Torsten Werner [Tue, 22 Mar 2011 22:02:25 +0000 (23:02 +0100)]
Add Metadata classes + tests.

+ some cleanup of dbconn.py

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'contents' of ftp-master.debian.org:public_html/dak into contents
Torsten Werner [Tue, 22 Mar 2011 20:09:06 +0000 (21:09 +0100)]
Merge branch 'contents' of ftp-master.debian.org:public_html/dak into contents

13 years agoReplace DBConn.reset() by something more robust.
Torsten Werner [Tue, 22 Mar 2011 20:05:58 +0000 (20:05 +0000)]
Replace DBConn.reset() by something more robust.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix database tests.
Torsten Werner [Tue, 22 Mar 2011 19:18:14 +0000 (19:18 +0000)]
Fix database tests.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agogps
Joerg Jaspert [Tue, 22 Mar 2011 18:32:32 +0000 (19:32 +0100)]
gps

move stable/oldstable into gps too, so we only generate packages/sources
from there, ever

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agolicense
Joerg Jaspert [Tue, 22 Mar 2011 18:01:28 +0000 (19:01 +0100)]
license

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoContents: replace multithreading by multiprocessing.
Torsten Werner [Tue, 22 Mar 2011 16:48:13 +0000 (16:48 +0000)]
Contents: replace multithreading by multiprocessing.

That avoids the global interpreter lock of CPython.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'contents'
Torsten Werner [Tue, 22 Mar 2011 15:50:39 +0000 (16:50 +0100)]
Merge branch 'contents'

13 years agoAdd more logging to contents generate.
Torsten Werner [Tue, 22 Mar 2011 15:42:58 +0000 (15:42 +0000)]
Add more logging to contents generate.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Tue, 22 Mar 2011 15:07:29 +0000 (15:07 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd Built-Using support
Mark Hymers [Tue, 22 Mar 2011 15:06:04 +0000 (15:06 +0000)]
Add Built-Using support

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoContents: ignore errors when removing destination file.
Torsten Werner [Tue, 22 Mar 2011 14:54:11 +0000 (14:54 +0000)]
Contents: ignore errors when removing destination file.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoDo no longer re-exec dak contents.
Torsten Werner [Tue, 22 Mar 2011 14:47:09 +0000 (14:47 +0000)]
Do no longer re-exec dak contents.

We just call DBConn().reset() in the child process now.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agories sync
Joerg Jaspert [Tue, 22 Mar 2011 14:31:15 +0000 (15:31 +0100)]
ries sync

no longer push or name anything merkel
sync ries differently depending on if its called with sync or pool
that way cron.hourly does a small sync while cron.dinstall a full one triggers

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoshutup
Joerg Jaspert [Tue, 22 Mar 2011 13:50:12 +0000 (14:50 +0100)]
shutup

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoContents: use the new string_agg() function of Pg9.
Torsten Werner [Tue, 22 Mar 2011 13:18:55 +0000 (13:18 +0000)]
Contents: use the new string_agg() function of Pg9.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Tue, 22 Mar 2011 13:09:55 +0000 (14:09 +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:
  Fix typo
  Improve db conf handling
  Commit uncommitted fix
  Patch in support for service= DSN syntax

13 years agoadd the syncscript for ries. also call it hourly
Joerg Jaspert [Tue, 22 Mar 2011 13:09:49 +0000 (14:09 +0100)]
add the syncscript for ries. also call it hourly

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoDon't remove sources which are referenced by other binaries
Mark Hymers [Tue, 22 Mar 2011 10:56:55 +0000 (10:56 +0000)]
Don't remove sources which are referenced by other binaries

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix typo
Mark Hymers [Tue, 22 Mar 2011 10:42:39 +0000 (10:42 +0000)]
Fix typo

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Tue, 22 Mar 2011 10:41:51 +0000 (10:41 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoImprove db conf handling
Mark Hymers [Tue, 22 Mar 2011 10:41:17 +0000 (10:41 +0000)]
Improve db conf handling

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoCommit uncommitted fix
Mark Hymers [Tue, 22 Mar 2011 10:21:58 +0000 (10:21 +0000)]
Commit uncommitted fix

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Tue, 22 Mar 2011 10:20:18 +0000 (10:20 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoPatch in support for service= DSN syntax
Mark Hymers [Tue, 22 Mar 2011 10:18:57 +0000 (10:18 +0000)]
Patch in support for service= DSN syntax

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoadd ries
Joerg Jaspert [Tue, 22 Mar 2011 10:14:10 +0000 (11:14 +0100)]
add ries

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Mark Hymers [Mon, 21 Mar 2011 21:45:58 +0000 (21:45 +0000)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Mon, 21 Mar 2011 21:45:43 +0000 (21:45 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse PK at twerners suggestion
Mark Hymers [Mon, 21 Mar 2011 21:38:29 +0000 (21:38 +0000)]
Use PK at twerners suggestion

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoset db schema version
Mark Hymers [Mon, 21 Mar 2011 21:35:47 +0000 (21:35 +0000)]
set db schema version

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd method reset() to class DBConn() and test it.
Torsten Werner [Mon, 21 Mar 2011 21:26:21 +0000 (22:26 +0100)]
Add method reset() to class DBConn() and test it.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Mon, 21 Mar 2011 20:55:49 +0000 (20:55 +0000)]
Merge remote branch 'ftpmaster/master'

13 years agoFirst pass at P/S database schema
Mark Hymers [Mon, 21 Mar 2011 20:26:30 +0000 (20:26 +0000)]
First pass at P/S database schema

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFirst pass at extra_src_references table
Mark Hymers [Mon, 21 Mar 2011 20:18:26 +0000 (20:18 +0000)]
First pass at extra_src_references table

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd table src_contents.
Torsten Werner [Mon, 21 Mar 2011 20:07:33 +0000 (21:07 +0100)]
Add table src_contents.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak
Torsten Werner [Mon, 21 Mar 2011 19:44:39 +0000 (20:44 +0100)]
Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak

13 years agoAdd logging to update-db including transaction id.
Torsten Werner [Mon, 21 Mar 2011 19:43:29 +0000 (20:43 +0100)]
Add logging to update-db including transaction id.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Mon, 21 Mar 2011 19:23:58 +0000 (19:23 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoReally update to DB version #44.
Torsten Werner [Mon, 21 Mar 2011 19:18:53 +0000 (20:18 +0100)]
Really update to DB version #44.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Mon, 21 Mar 2011 17:21:16 +0000 (18:21 +0100)]
Merge branch 'master' into dbtests

Conflicts:
dak/update_db.py

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRename DB upgrade #43 to #44.
Torsten Werner [Mon, 21 Mar 2011 17:14:26 +0000 (18:14 +0100)]
Rename DB upgrade #43 to #44.

bad, bad mhy...

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agomake check_overrides not delete stuff thats not at least 14 days old
Joerg Jaspert [Mon, 21 Mar 2011 15:56:26 +0000 (16:56 +0100)]
make check_overrides not delete stuff thats not at least 14 days old

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoDon't contradict ourselves within 2 lines
Mark Hymers [Mon, 21 Mar 2011 15:32:10 +0000 (15:32 +0000)]
Don't contradict ourselves within 2 lines

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoadd mvo quote
Mark Hymers [Mon, 21 Mar 2011 15:06:30 +0000 (15:06 +0000)]
add mvo quote

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Mon, 21 Mar 2011 13:17:57 +0000 (14:17 +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:
  Prepare for pg 9.0

13 years agogps
Joerg Jaspert [Mon, 21 Mar 2011 13:17:45 +0000 (14:17 +0100)]
gps

change the way we run the pool once more, hopefully being less bad now. also, this tool is EOL somehwat, so who cares how bad it looks

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoPrepare for pg 9.0
Mark Hymers [Mon, 21 Mar 2011 11:44:59 +0000 (11:44 +0000)]
Prepare for pg 9.0

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agogps timeout/error handling
Joerg Jaspert [Mon, 21 Mar 2011 11:32:16 +0000 (12:32 +0100)]
gps timeout/error handling

return the result of the a-f call.
additionally get it using a timeout.
when either a TimeoutError occurs or the result is non-zero, complain about it
and then exit non-zero, so dinstall could stop.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agomhy, das kruemelmonster
Joerg Jaspert [Mon, 21 Mar 2011 11:28:45 +0000 (12:28 +0100)]
mhy, das kruemelmonster

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodatabase backup foo
Joerg Jaspert [Mon, 21 Mar 2011 09:39:05 +0000 (10:39 +0100)]
database backup foo

no longer dump the full database on each dinstall run. instead we just
save a transaction id. DSA is doing the backup dumps in whatever cycle,
and keeping the WAL stuff around, so we can tell them to get us to
whatever point in our db which we might need, ie. the specific transaction
id.

as those are just 9 bytes per file, and not 4gigabytes, we now also save
wth we have been before and after unchecked runs, which makes our backup
be nearer to actual filesystem state than ever.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoremove pgdakdev
Joerg Jaspert [Mon, 21 Mar 2011 08:43:58 +0000 (09:43 +0100)]
remove pgdakdev

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