]> git.decadent.org.uk Git - dak.git/log
dak.git
13 years agoMerge remote branch 'ansgar/version-checks' into merge
Mark Hymers [Thu, 24 Mar 2011 19:56:53 +0000 (19:56 +0000)]
Merge remote branch 'ansgar/version-checks' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote-tracking branch 'origin/master' into version-checks
Ansgar Burchardt [Thu, 24 Mar 2011 19:33:06 +0000 (20:33 +0100)]
Merge remote-tracking branch 'origin/master' into version-checks

Conflicts:
dak/update_db.py

13 years agoMerge remote branch 'origin/master'
Mark Hymers [Thu, 24 Mar 2011 19:04:29 +0000 (19:04 +0000)]
Merge remote branch 'origin/master'

13 years agoMore fixes for stupid suitesuffix stuff
Mark Hymers [Thu, 24 Mar 2011 19:03:40 +0000 (19:03 +0000)]
More fixes for stupid suitesuffix stuff

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMore fixes for suite_suffix
Mark Hymers [Thu, 24 Mar 2011 18:57:57 +0000 (18:57 +0000)]
More fixes for suite_suffix

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak
Torsten Werner [Thu, 24 Mar 2011 18:57:09 +0000 (19:57 +0100)]
Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak

13 years agoFix up config file
Mark Hymers [Thu, 24 Mar 2011 18:56:28 +0000 (18:56 +0000)]
Fix up config file

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge branch 'maintainer'
Torsten Werner [Thu, 24 Mar 2011 18:56:11 +0000 (19:56 +0100)]
Merge branch 'maintainer'

13 years agoFix up output path for security
Mark Hymers [Thu, 24 Mar 2011 18:54:12 +0000 (18:54 +0000)]
Fix up output path for security

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoExtend debugging info for DBSource.
Torsten Werner [Thu, 24 Mar 2011 18:34:30 +0000 (18:34 +0000)]
Extend debugging info for DBSource.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoReplace SrcUploaders class by SQLA relationship.
Torsten Werner [Thu, 24 Mar 2011 18:30:39 +0000 (19:30 +0100)]
Replace SrcUploaders class by SQLA relationship.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove more debug code (sigh)
Mark Hymers [Thu, 24 Mar 2011 18:29:22 +0000 (18:29 +0000)]
Remove more debug code (sigh)

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAnd don't strip the leading / anymore
Mark Hymers [Thu, 24 Mar 2011 18:28:44 +0000 (18:28 +0000)]
And don't strip the leading / anymore

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoWhoops - remove debug code
Mark Hymers [Thu, 24 Mar 2011 18:27:56 +0000 (18:27 +0000)]
Whoops - remove debug code

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/g-r' into merge
Mark Hymers [Thu, 24 Mar 2011 18:26:33 +0000 (18:26 +0000)]
Merge remote branch 'mhy/g-r' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoNew g-r command
Mark Hymers [Thu, 24 Mar 2011 18:25:21 +0000 (18:25 +0000)]
New g-r command

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoupdate-db: Increase required schema version to 52
Ansgar Burchardt [Thu, 24 Mar 2011 17:43:11 +0000 (18:43 +0100)]
update-db: Increase required schema version to 52

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agocontrol-suite: Correct typo and error message
Ansgar Burchardt [Thu, 24 Mar 2011 17:34:05 +0000 (17:34 +0000)]
control-suite: Correct typo and error message

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoupdate52: Add version_check table.
Ansgar Burchardt [Thu, 24 Mar 2011 16:43:02 +0000 (16:43 +0000)]
update52: Add version_check table.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoadmin: Add version-check subcommands.
Ansgar Burchardt [Thu, 24 Mar 2011 16:39:55 +0000 (16:39 +0000)]
admin: Add version-check subcommands.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agocontrol-suite: Validate version_checks
Ansgar Burchardt [Thu, 24 Mar 2011 16:38:18 +0000 (16:38 +0000)]
control-suite: Validate version_checks

Also test version_checks when using control-suite instead of only for
uploaded packages.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoMove version_checks to the database
Ansgar Burchardt [Thu, 24 Mar 2011 16:35:45 +0000 (16:35 +0000)]
Move version_checks to the database

No longer use Suite::*::VersionCheck::* from the configuration file.
Instead move these settings to the version_checks table.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agobugfix
Torsten Werner [Thu, 24 Mar 2011 15:38:31 +0000 (15:38 +0000)]
bugfix

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoDon't assume arch 'all' has id 2 in daklib/lists.py.
Torsten Werner [Thu, 24 Mar 2011 15:36:25 +0000 (16:36 +0100)]
Don't assume arch 'all' has id 2 in daklib/lists.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix SIGPIPE errors in source contents scan.
Torsten Werner [Thu, 24 Mar 2011 15:19:04 +0000 (16:19 +0100)]
Fix SIGPIPE errors in source contents scan.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix and improve cron.unchecked.
Torsten Werner [Thu, 24 Mar 2011 13:33:08 +0000 (14:33 +0100)]
Fix and improve cron.unchecked.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into contents
Torsten Werner [Thu, 24 Mar 2011 13:26:26 +0000 (14:26 +0100)]
Merge branch 'master' into contents

13 years agoFix table src_contents.
Torsten Werner [Thu, 24 Mar 2011 13:11:31 +0000 (14:11 +0100)]
Fix table src_contents.

- Add missing index.
- Add missing columns 'created' and 'modified'.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'ganneff/gr2' into g-r
Mark Hymers [Thu, 24 Mar 2011 13:09:28 +0000 (13:09 +0000)]
Merge remote branch 'ganneff/gr2' into g-r

13 years agoincomplete, non-working, just to give over
Joerg Jaspert [Thu, 24 Mar 2011 11:54:17 +0000 (12:54 +0100)]
incomplete, non-working, just to give over

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' into contents
Torsten Werner [Thu, 24 Mar 2011 11:40:38 +0000 (12:40 +0100)]
Merge branch 'master' into contents

13 years agoImprove source contents logging a bit.
Torsten Werner [Thu, 24 Mar 2011 11:38:06 +0000 (11:38 +0000)]
Improve source contents logging a bit.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoStart writing source contents.
Torsten Werner [Thu, 24 Mar 2011 11:30:28 +0000 (12:30 +0100)]
Start writing source contents.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd class SourceContentsWriter.
Torsten Werner [Thu, 24 Mar 2011 11:21:22 +0000 (12:21 +0100)]
Add class SourceContentsWriter.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix reject message generation
Mark Hymers [Thu, 24 Mar 2011 11:05:29 +0000 (11:05 +0000)]
Fix reject message generation

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agodeal with NULL source_acls
Mark Hymers [Thu, 24 Mar 2011 10:56:33 +0000 (10:56 +0000)]
deal with NULL source_acls

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agofilter on active keyrings only
Mark Hymers [Thu, 24 Mar 2011 10:56:14 +0000 (10:56 +0000)]
filter on active keyrings only

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

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAllow us to mark keyrings as no longer in use
Mark Hymers [Thu, 24 Mar 2011 10:50:36 +0000 (10:50 +0000)]
Allow us to mark keyrings as no longer in use

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

Conflicts:
daklib/utils.py

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoLoad keyring names from the database instead of the config file
Mark Hymers [Thu, 24 Mar 2011 10:42:09 +0000 (10:42 +0000)]
Load keyring names from the database instead of the config file

Signed-off-by: Mark Hymers <mhy@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 agoRefactor class ContentsWriter to prepare for source contents.
Torsten Werner [Thu, 24 Mar 2011 09:19:02 +0000 (10:19 +0100)]
Refactor class ContentsWriter to prepare for source contents.

Signed-off-by: Torsten Werner <twerner@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 agomark doesnt like ; even though he gave me one
Joerg Jaspert [Wed, 23 Mar 2011 21:57:20 +0000 (22:57 +0100)]
mark doesnt like ; even though he gave me one

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoa shorter version for attribs/subattribs, thanks mark
Joerg Jaspert [Wed, 23 Mar 2011 21:54:42 +0000 (22:54 +0100)]
a shorter version for attribs/subattribs, thanks mark

Signed-off-by: Joerg Jaspert <joerg@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 agostart a new generate-releases
Joerg Jaspert [Wed, 23 Mar 2011 21:38:32 +0000 (22:38 +0100)]
start a new generate-releases

Signed-off-by: Joerg Jaspert <joerg@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'