]> git.decadent.org.uk Git - dak.git/log
dak.git
12 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Sun, 22 Jan 2012 15:32:28 +0000 (16:32 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Add a missing import.
  Remove --description-md5 option.
  Disable generation of newdists.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoAdd a missing import.
Ansgar Burchardt [Sun, 22 Jan 2012 12:54:51 +0000 (12:54 +0000)]
Add a missing import.

12 years agoRemove --description-md5 option.
Ansgar Burchardt [Sun, 22 Jan 2012 12:52:35 +0000 (12:52 +0000)]
Remove --description-md5 option.

It was only used during tests, still needs to be enabled on a per-suite
option via the database.

12 years agoDisable generation of newdists.
Ansgar Burchardt [Sun, 22 Jan 2012 12:19:36 +0000 (12:19 +0000)]
Disable generation of newdists.

12 years agoStore correct variable
Mark Hymers [Fri, 6 Jan 2012 13:49:00 +0000 (13:49 +0000)]
Store correct variable

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agoFix C/P error
Mark Hymers [Thu, 5 Jan 2012 20:30:55 +0000 (20:30 +0000)]
Fix C/P error

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agoDon't be verbose in unchecked
Mark Hymers [Mon, 2 Jan 2012 19:59:30 +0000 (19:59 +0000)]
Don't be verbose in unchecked

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agoRun policy from unchecked as well as dinstall
Mark Hymers [Mon, 2 Jan 2012 19:34:49 +0000 (19:34 +0000)]
Run policy from unchecked as well as dinstall

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agouse stat
Joerg Jaspert [Sun, 11 Dec 2011 19:58:09 +0000 (20:58 +0100)]
use stat

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Sun, 11 Dec 2011 19:55:36 +0000 (20:55 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Regenerate i18n/Index before generate-release.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoRegenerate i18n/Index before generate-release.
Ansgar Burchardt [Mon, 5 Dec 2011 22:03:31 +0000 (23:03 +0100)]
Regenerate i18n/Index before generate-release.

We need to regenerate i18n/Index as generate-packages-sources2 writes
Translation-en.  In the future we might get rid of it entirely.

12 years agono longer needed on bpo
Joerg Jaspert [Sun, 4 Dec 2011 13:20:34 +0000 (14:20 +0100)]
no longer needed on bpo

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoand another place to rename the queues to the right value
Joerg Jaspert [Sun, 4 Dec 2011 10:47:22 +0000 (11:47 +0100)]
and another place to rename the queues to the right value

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agosecurity no longer uses apt-ftparchive but also generate-packages-sources2
Joerg Jaspert [Sat, 3 Dec 2011 17:42:59 +0000 (18:42 +0100)]
security no longer uses apt-ftparchive but also generate-packages-sources2

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoallow buildd-wheezy too
Joerg Jaspert [Sat, 3 Dec 2011 16:29:20 +0000 (17:29 +0100)]
allow buildd-wheezy too

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoimport dm keyring on bpo
Joerg Jaspert [Sat, 3 Dec 2011 16:07:32 +0000 (17:07 +0100)]
import dm keyring on bpo

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agouse the right policy queue names
Joerg Jaspert [Sat, 3 Dec 2011 15:55:06 +0000 (16:55 +0100)]
use the right policy queue names

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agochange security build queues
Joerg Jaspert [Sat, 3 Dec 2011 14:40:12 +0000 (15:40 +0100)]
change security build queues

they are now using dak manage-build-queue
also adjust the way the trigger gets generated

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agouse right queue names
Joerg Jaspert [Sat, 3 Dec 2011 13:31:04 +0000 (14:31 +0100)]
use right queue names

security has unembargoed/embargoed in use

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoupdate71: set lastused NOT NULL NOW()
Joerg Jaspert [Sat, 3 Dec 2011 12:10:00 +0000 (13:10 +0100)]
update71: set lastused NOT NULL NOW()

lastused in build_queue_files and build_queue_policy_files always needs to be set, so
set it in the database not in code

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoAdd ironforge.sceen.net as hurt-i386 buildd
Joerg Jaspert [Fri, 2 Dec 2011 21:26:25 +0000 (22:26 +0100)]
Add ironforge.sceen.net as hurt-i386 buildd

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodont run gitpdiff right now
Joerg Jaspert [Fri, 2 Dec 2011 21:03:45 +0000 (22:03 +0100)]
dont run gitpdiff right now

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoInclude SHA256SUMS into Release files too
Joerg Jaspert [Fri, 2 Dec 2011 17:39:14 +0000 (18:39 +0100)]
Include SHA256SUMS into Release files too

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/lintian' into merge
Joerg Jaspert [Sun, 27 Nov 2011 22:49:58 +0000 (23:49 +0100)]
Merge remote-tracking branch 'drkranz/lintian' into merge

* drkranz/lintian:
  Add control-file-is-not-a-file to fata list (Closes: #641091)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/p-u' into merge
Joerg Jaspert [Sun, 27 Nov 2011 22:42:31 +0000 (23:42 +0100)]
Merge remote-tracking branch 'drkranz/p-u' into merge

* drkranz/p-u:
  Check whether suite is valid before referencing it (Closes: #634716)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoShow legend in 2 cols so it all gets showed
Mark Hymers [Sun, 27 Nov 2011 20:57:01 +0000 (20:57 +0000)]
Show legend in 2 cols so it all gets showed

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agoFix graphs
Mark Hymers [Sun, 27 Nov 2011 20:22:01 +0000 (20:22 +0000)]
Fix graphs

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agoCheck whether suite is valid before referencing it (Closes: #634716)
Luca Falavigna [Sun, 27 Nov 2011 12:44:17 +0000 (12:44 +0000)]
Check whether suite is valid before referencing it (Closes: #634716)

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoAdd armhf and s390x architectures
Mark Hymers [Wed, 23 Nov 2011 22:02:54 +0000 (22:02 +0000)]
Add armhf and s390x architectures

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote-tracking branch 'drkranz/graph' into merge
Joerg Jaspert [Sun, 20 Nov 2011 13:16:27 +0000 (14:16 +0100)]
Merge remote-tracking branch 'drkranz/graph' into merge

* drkranz/graph:
  Fix (o-)p-u-new graph generation (Closes: #648952)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdd control-file-is-not-a-file to fata list (Closes: #641091)
Luca Falavigna [Sun, 20 Nov 2011 11:08:35 +0000 (11:08 +0000)]
Add control-file-is-not-a-file to fata list (Closes: #641091)

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoFix (o-)p-u-new graph generation (Closes: #648952)
Luca Falavigna [Wed, 16 Nov 2011 21:08:39 +0000 (21:08 +0000)]
Fix (o-)p-u-new graph generation (Closes: #648952)

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Sat, 19 Nov 2011 21:24:25 +0000 (22:24 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Do not check for existance of unpacked Translation-* files.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoDo not check for existance of unpacked Translation-* files.
Ansgar Burchardt [Sat, 19 Nov 2011 21:10:54 +0000 (22:10 +0100)]
Do not check for existance of unpacked Translation-* files.

13 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Sat, 19 Nov 2011 15:38:18 +0000 (16:38 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Output size in bytes.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Sat, 19 Nov 2011 15:33:07 +0000 (16:33 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Include Translation-* in Release

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoOutput size in bytes.
Ansgar Burchardt [Sat, 19 Nov 2011 15:24:50 +0000 (15:24 +0000)]
Output size in bytes.

Bug: http://bugs.debian.org/649150

13 years agoInclude Translation-* in Release
Ansgar Burchardt [Sat, 19 Nov 2011 14:52:07 +0000 (14:52 +0000)]
Include Translation-* in Release

Bug: http://bugs.debian.org/649279

13 years agomorgue <-> snapshot love
Joerg Jaspert [Sun, 13 Nov 2011 20:19:09 +0000 (21:19 +0100)]
morgue <-> snapshot love

add short shell script to link files in morgue into the snapshot farm to save on disk space

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/package-list' into merge
Joerg Jaspert [Fri, 11 Nov 2011 21:21:04 +0000 (22:21 +0100)]
Merge remote-tracking branch 'ansgar/package-list' into merge

* ansgar/package-list:
  Adapt to changes to Package-List field.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Fri, 11 Nov 2011 21:20:32 +0000 (22:20 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Include short description.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdapt to changes to Package-List field.
Ansgar Burchardt [Fri, 11 Nov 2011 21:11:06 +0000 (21:11 +0000)]
Adapt to changes to Package-List field.

13 years agoInclude short description.
Ansgar Burchardt [Fri, 11 Nov 2011 20:27:26 +0000 (20:27 +0000)]
Include short description.

13 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Thu, 3 Nov 2011 21:03:57 +0000 (22:03 +0100)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Remove unused files.
  Use overridesuite when joining override table.
  dinstall: Generate dists/ with Description-MD5 for testing
  generate-releases: Add -o option to set arbitrary configuration options.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoRemove unused files.
Ansgar Burchardt [Thu, 3 Nov 2011 12:19:56 +0000 (12:19 +0000)]
Remove unused files.

daklib/threadpool.py should no longer be used anywhere. Also remove the
license for it (not used anywhere else).

13 years agoUse overridesuite when joining override table.
Ansgar Burchardt [Thu, 3 Nov 2011 11:58:27 +0000 (11:58 +0000)]
Use overridesuite when joining override table.

13 years agodinstall: Generate dists/ with Description-MD5 for testing
Ansgar Burchardt [Thu, 3 Nov 2011 10:54:16 +0000 (10:54 +0000)]
dinstall: Generate dists/ with Description-MD5 for testing

Run generate-packages-sources2 and generate-releases a second time with
the --description-md5 option enabled for testing.

13 years agogenerate-releases: Add -o option to set arbitrary configuration options.
Ansgar Burchardt [Thu, 27 Oct 2011 15:19:52 +0000 (15:19 +0000)]
generate-releases: Add -o option to set arbitrary configuration options.

13 years agoFix versionregex conversion
Mark Hymers [Thu, 6 Oct 2011 08:34:39 +0000 (09:34 +0100)]
Fix versionregex conversion

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote-tracking branch 'drkranz/fixes' into merge
Joerg Jaspert [Tue, 4 Oct 2011 21:07:53 +0000 (23:07 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge

* drkranz/fixes:
  Fix traceback when given suite is not recognized

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoFix traceback when given suite is not recognized
Luca Falavigna [Tue, 4 Oct 2011 09:26:20 +0000 (09:26 +0000)]
Fix traceback when given suite is not recognized

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agomuch better
Joerg Jaspert [Sat, 1 Oct 2011 13:39:41 +0000 (15:39 +0200)]
much better

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/add-missing-source-checksums' into merge
Joerg Jaspert [Tue, 6 Sep 2011 20:40:29 +0000 (22:40 +0200)]
Merge remote-tracking branch 'ansgar/add-missing-source-checksums' into merge

* ansgar/add-missing-source-checksums:
  Move query for add-missing-source-checksums to Python code
  Add missing checksums for source packages.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMove query for add-missing-source-checksums to Python code
Ansgar Burchardt [Tue, 6 Sep 2011 18:20:27 +0000 (18:20 +0000)]
Move query for add-missing-source-checksums to Python code

There is no real need for using a stored procedure and having the query
in the normal code makes future changes easier.

13 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Mon, 5 Sep 2011 20:14:06 +0000 (22:14 +0200)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Delay setting up worker pool.
  gps2: Add -o option to set arbitrary configuration options.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/britney-changelog' into merge
Joerg Jaspert [Mon, 5 Sep 2011 20:11:15 +0000 (22:11 +0200)]
Merge remote-tracking branch 'ansgar/britney-changelog' into merge

* ansgar/britney-changelog:
  Fix britney_changelog.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoDelay setting up worker pool.
Ansgar Burchardt [Mon, 5 Sep 2011 19:28:25 +0000 (19:28 +0000)]
Delay setting up worker pool.

We need to delay creating the worker pool until we have parsed the
command line options so that changes also take effect in child
processes.

13 years agogps2: Add -o option to set arbitrary configuration options.
Ansgar Burchardt [Mon, 5 Sep 2011 19:27:41 +0000 (19:27 +0000)]
gps2: Add -o option to set arbitrary configuration options.

13 years agoFix britney_changelog.
Ansgar Burchardt [Mon, 5 Sep 2011 08:49:56 +0000 (08:49 +0000)]
Fix britney_changelog.

674e520b01fd361fc2d88909f7da8ca3ed97d60c changed the keys in the package
list from a string to a tuple. This patch adapts britney_changelog to
this change.

13 years agoAdd missing checksums for source packages.
Ansgar Burchardt [Sun, 4 Sep 2011 21:58:09 +0000 (21:58 +0000)]
Add missing checksums for source packages.

Add a new subcommand, dak check-archive add-missing-source-checksums, to
add missing checksums for source packages to source_metadata.

Bug: http://bugs.debian.org/637563

13 years agoMerge remote-tracking branch 'mhy/override-cs-db' into merge
Joerg Jaspert [Sun, 4 Sep 2011 19:06:24 +0000 (21:06 +0200)]
Merge remote-tracking branch 'mhy/override-cs-db' into merge

* mhy/override-cs-db:
  Bump db version to 70
  Change make_overrides to use database config
  Use database for check_overrides configuration
  Move sanity check to use database
  Actually apply database update 69
  Add database fields to support overrides and c-s

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoBump db version to 70
Mark Hymers [Sun, 4 Sep 2011 18:17:20 +0000 (19:17 +0100)]
Bump db version to 70

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master' into override-cs-db
Mark Hymers [Sun, 4 Sep 2011 18:17:03 +0000 (19:17 +0100)]
Merge remote branch 'ftpmaster/master' into override-cs-db

Conflicts:
dak/dakdb/update69.py

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/description-md5' into merge
Joerg Jaspert [Sun, 4 Sep 2011 13:07:29 +0000 (15:07 +0200)]
Merge remote-tracking branch 'ansgar/description-md5' into merge

* ansgar/description-md5:
  Rename dakdb/update67.py -> dakdb/update69.py
  generate-packages-sources2: add --description-md5 option
  Include a trailing newline for the hash.
  generate-packages-sources2: Add support for Description-md5
  Add database support for Description-md5
  add TranslationFileWriter

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'origin/master' into description-md5
Ansgar Burchardt [Sun, 4 Sep 2011 12:53:45 +0000 (14:53 +0200)]
Merge remote-tracking branch 'origin/master' into description-md5

Conflicts:
dak/update_db.py

13 years agoRename dakdb/update67.py -> dakdb/update69.py
Ansgar Burchardt [Sun, 4 Sep 2011 12:52:49 +0000 (14:52 +0200)]
Rename dakdb/update67.py -> dakdb/update69.py

13 years agoMerge remote-tracking branch 'ansgar/control-suite-sort-by-version' into merge
Joerg Jaspert [Sun, 4 Sep 2011 12:50:31 +0000 (14:50 +0200)]
Merge remote-tracking branch 'ansgar/control-suite-sort-by-version' into merge

* ansgar/control-suite-sort-by-version:
  control-suite: sort list of desired packages as intended

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/rm' into merge
Joerg Jaspert [Sun, 4 Sep 2011 12:49:42 +0000 (14:49 +0200)]
Merge remote-tracking branch 'ansgar/rm' into merge

* ansgar/rm:
  Use sub-SELECT instead of LEFT OUTER JOIN.
  Check broken dependencies for arch-all packages only once.
  Get rid of WITH.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAnd one more lintian reject, nonfatal
Joerg Jaspert [Sun, 4 Sep 2011 12:39:08 +0000 (14:39 +0200)]
And one more lintian reject, nonfatal

added bad-perm-for-file-in-etc-sudoers.d to nonfatal rejects, (Closes: #632466)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoadd a fatal lintian tag. closes #637389
Joerg Jaspert [Sat, 3 Sep 2011 14:51:42 +0000 (16:51 +0200)]
add a fatal lintian tag. closes #637389

add udeb-uses-non-gzip-data-tarball as a fatal lintian tag, which closes #637389

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoChange make_overrides to use database config
Mark Hymers [Fri, 2 Sep 2011 20:48:24 +0000 (21:48 +0100)]
Change make_overrides to use database config

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse database for check_overrides configuration
Mark Hymers [Fri, 2 Sep 2011 20:45:05 +0000 (21:45 +0100)]
Use database for check_overrides configuration

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMove sanity check to use database
Mark Hymers [Fri, 2 Sep 2011 20:34:04 +0000 (21:34 +0100)]
Move sanity check to use database

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoActually apply database update 69
Mark Hymers [Fri, 2 Sep 2011 20:33:53 +0000 (21:33 +0100)]
Actually apply database update 69

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd database fields to support overrides and c-s
Mark Hymers [Fri, 2 Sep 2011 20:29:55 +0000 (21:29 +0100)]
Add database fields to support overrides and c-s

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoEnhance source package/version handling when adding a binary deb
Mark Hymers [Fri, 2 Sep 2011 17:09:16 +0000 (18:09 +0100)]
Enhance source package/version handling when adding a binary deb

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMake permissions cascade properly
Mark Hymers [Thu, 1 Sep 2011 21:07:47 +0000 (22:07 +0100)]
Make permissions cascade properly

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd missing python-debian dependency
Mark Hymers [Thu, 1 Sep 2011 20:32:07 +0000 (21:32 +0100)]
Add missing python-debian dependency

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUpdate current schema dump to v68
Mark Hymers [Wed, 31 Aug 2011 10:09:21 +0000 (11:09 +0100)]
Update current schema dump to v68

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix incorrect update number
Mark Hymers [Wed, 31 Aug 2011 10:07:25 +0000 (11:07 +0100)]
Fix incorrect update number

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoClean out unused languages
Mark Hymers [Wed, 31 Aug 2011 10:05:55 +0000 (11:05 +0100)]
Clean out unused languages

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoDon't use old style exception syntax
Mark Hymers [Wed, 31 Aug 2011 10:00:56 +0000 (11:00 +0100)]
Don't use old style exception syntax

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ansgar/clean-suites'
Mark Hymers [Wed, 31 Aug 2011 09:42:55 +0000 (10:42 +0100)]
Merge remote branch 'ansgar/clean-suites'

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse sub-SELECT instead of LEFT OUTER JOIN.
Ansgar Burchardt [Wed, 31 Aug 2011 08:08:33 +0000 (08:08 +0000)]
Use sub-SELECT instead of LEFT OUTER JOIN.

13 years agoCheck broken dependencies for arch-all packages only once.
Ansgar Burchardt [Tue, 30 Aug 2011 21:08:26 +0000 (21:08 +0000)]
Check broken dependencies for arch-all packages only once.

13 years agoGet rid of WITH.
Ansgar Burchardt [Tue, 30 Aug 2011 20:58:47 +0000 (20:58 +0000)]
Get rid of WITH.

13 years agoMerge remote branch 'ansgar/auditpackages'
Mark Hymers [Sun, 28 Aug 2011 19:23:24 +0000 (20:23 +0100)]
Merge remote branch 'ansgar/auditpackages'

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoReplace deprecated sys.exc_type and sys.exc_value.
Torsten Werner [Wed, 24 Aug 2011 18:38:25 +0000 (20:38 +0200)]
Replace deprecated sys.exc_type and sys.exc_value.

This is deprecated since Python 1.5!

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove deprecated xreadlines().
Torsten Werner [Wed, 24 Aug 2011 18:33:44 +0000 (20:33 +0200)]
Remove deprecated xreadlines().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoConvert raise statement to Python 2.6.
Torsten Werner [Wed, 24 Aug 2011 18:27:22 +0000 (20:27 +0200)]
Convert raise statement to Python 2.6.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoDon't import with_statement from __future__.
Torsten Werner [Wed, 24 Aug 2011 18:15:32 +0000 (20:15 +0200)]
Don't import with_statement from __future__.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoConvert octal literals to Python 2.6 syntax.
Torsten Werner [Wed, 24 Aug 2011 18:04:17 +0000 (20:04 +0200)]
Convert octal literals to Python 2.6 syntax.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoConvert exception handling to Python3 syntax.
Torsten Werner [Wed, 24 Aug 2011 17:12:09 +0000 (19:12 +0200)]
Convert exception handling to Python3 syntax.

That works in Python >= 2.6.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoString exceptions do not work in Python >= 2.6.
Torsten Werner [Wed, 24 Aug 2011 16:46:30 +0000 (18:46 +0200)]
String exceptions do not work in Python >= 2.6.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote-tracking branch 'origin/master' into auditpackages
Ansgar Burchardt [Wed, 24 Aug 2011 12:34:13 +0000 (14:34 +0200)]
Merge remote-tracking branch 'origin/master' into auditpackages

Conflicts:
dak/update_db.py

13 years agorename update66.py to update67.py
Ansgar Burchardt [Wed, 24 Aug 2011 12:33:36 +0000 (14:33 +0200)]
rename update66.py to update67.py

13 years agoMerge remote-tracking branch 'drkranz/rm' into merge
Joerg Jaspert [Tue, 23 Aug 2011 20:48:26 +0000 (22:48 +0200)]
Merge remote-tracking branch 'drkranz/rm' into merge

* drkranz/rm:
  rm.py: ignore binNMU versions

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agorm.py: ignore binNMU versions
Luca Falavigna [Mon, 22 Aug 2011 14:49:02 +0000 (14:49 +0000)]
rm.py: ignore binNMU versions

dak rm sometimes complains when closing bugs for
packages with multiple package versions.
Most of the times this is due to binNMUs, so don't
consider their versions.

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoclean-suites: preserve source packages referenced in extra_src_references
Ansgar Burchardt [Mon, 22 Aug 2011 12:15:08 +0000 (12:15 +0000)]
clean-suites: preserve source packages referenced in extra_src_references

13 years agocontrol-suite: sort list of desired packages as intended
Ansgar Burchardt [Mon, 22 Aug 2011 11:15:53 +0000 (11:15 +0000)]
control-suite: sort list of desired packages as intended

The list of desired packages contained a string of the form
"package-name version architecture".  Sorting with cmp_package_version
would sort this my the first two characters of the package name which is
not what was intended.

With this patch, the list instead contains tuples which means
cmp_package_version can now sort the list as intended.