]> git.decadent.org.uk Git - dak.git/log
dak.git
11 years agodaklib/archive.py: don't fail in prepare() if the .dsc is invalid
Ansgar Burchardt [Tue, 18 Dec 2012 15:37:36 +0000 (16:37 +0100)]
daklib/archive.py: don't fail in prepare() if the .dsc is invalid

We only need the .dsc here to try and grab any files not included in the
upload. If there is an error loading the .dsc, do not throw an exception here,
but do so later instead.

11 years agodebianqueued: check pgp signature before any further processing
Ansgar Burchardt [Sat, 15 Dec 2012 10:17:20 +0000 (11:17 +0100)]
debianqueued: check pgp signature before any further processing

As we no longer look at the file in the case of a bad signature, we
cannot know the maintainer address and this cannot send a mail about
the bad signature.

11 years agodebianqueued: make pgp_check stricter
Ansgar Burchardt [Sat, 15 Dec 2012 10:16:54 +0000 (11:16 +0100)]
debianqueued: make pgp_check stricter

11 years agoconfig/debian/cron.hourly: remove unchecked lock on failure
Ansgar Burchardt [Sat, 15 Dec 2012 08:31:00 +0000 (09:31 +0100)]
config/debian/cron.hourly: remove unchecked lock on failure

11 years agodaklib/policy.py: REJECT.* files should not be executable
Ansgar Burchardt [Sat, 15 Dec 2012 08:26:48 +0000 (09:26 +0100)]
daklib/policy.py: REJECT.* files should not be executable

11 years agodak/process_policy.py: handle rejecting the same package twice
Ansgar Burchardt [Sat, 15 Dec 2012 08:25:59 +0000 (09:25 +0100)]
dak/process_policy.py: handle rejecting the same package twice

11 years agodak/generate_releases.py: Add -q option to be a bit more quiet
Tollef Fog Heen [Tue, 11 Dec 2012 11:56:12 +0000 (12:56 +0100)]
dak/generate_releases.py: Add -q option to be a bit more quiet

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agodebianqueued: escape "." in ".changes" in regular expression
Ansgar Burchardt [Fri, 7 Dec 2012 12:07:17 +0000 (13:07 +0100)]
debianqueued: escape "." in ".changes" in regular expression

Reported-by: Jakub Wilk <jwilk@debian.org>
Reference: https://lists.debian.org/debian-dak/2012/12/msg00016.html

11 years agodebianqueued: use POSIX::access to check for write access
Ansgar Burchardt [Thu, 6 Dec 2012 15:04:52 +0000 (16:04 +0100)]
debianqueued: use POSIX::access to check for write access

11 years agodebianqueued: don't use shell to start gpg
Ansgar Burchardt [Thu, 6 Dec 2012 13:52:05 +0000 (14:52 +0100)]
debianqueued: don't use shell to start gpg

11 years agodebianqueued: remove unused variables
Ansgar Burchardt [Thu, 6 Dec 2012 13:31:23 +0000 (14:31 +0100)]
debianqueued: remove unused variables

11 years agodebianqueued: use Perl, not shell
Ansgar Burchardt [Thu, 6 Dec 2012 13:01:22 +0000 (14:01 +0100)]
debianqueued: use Perl, not shell

11 years agodebianqueued: construct Digest::MD5 object before trying to use it
Ansgar Burchardt [Thu, 6 Dec 2012 11:32:30 +0000 (12:32 +0100)]
debianqueued: construct Digest::MD5 object before trying to use it

11 years agodebianqueued: only start processing files with a sane name
Ansgar Burchardt [Thu, 6 Dec 2012 11:32:02 +0000 (12:32 +0100)]
debianqueued: only start processing files with a sane name

11 years agodebianqueued: remove two no longer used functions
Ansgar Burchardt [Thu, 6 Dec 2012 11:25:44 +0000 (12:25 +0100)]
debianqueued: remove two no longer used functions

11 years agodebianqueued: use three argument form of open() in most places
Ansgar Burchardt [Thu, 6 Dec 2012 11:01:30 +0000 (12:01 +0100)]
debianqueued: use three argument form of open() in most places

11 years agodebianqueued: remove notifications for incomplete uploads
Ansgar Burchardt [Thu, 6 Dec 2012 10:53:02 +0000 (11:53 +0100)]
debianqueued: remove notifications for incomplete uploads

We do not want to inspect unsigned files if we can avoid doing so.

This also fixes get_maintainer not making sure the filename is safe to pass to
shell commands by removing the function.

11 years agodebianqueued: use Digest::MD5 instead of external md5sum binary
Ansgar Burchardt [Thu, 6 Dec 2012 10:47:10 +0000 (11:47 +0100)]
debianqueued: use Digest::MD5 instead of external md5sum binary

11 years agodebianqueued: use stricter filename pattern
Ansgar Burchardt [Thu, 6 Dec 2012 10:38:29 +0000 (11:38 +0100)]
debianqueued: use stricter filename pattern

The new pattern is taken from daklib/regexes.py.

11 years agosanitize variable before using it
Joerg Jaspert [Wed, 5 Dec 2012 22:20:48 +0000 (23:20 +0100)]
sanitize  variable before using it

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agodaklib/checks.py: fix index in format string
Ansgar Burchardt [Sun, 2 Dec 2012 22:21:44 +0000 (23:21 +0100)]
daklib/checks.py: fix index in format string

11 years agodak/generate_releases.py: pull components from the database
Tollef Fog Heen [Tue, 27 Nov 2012 10:13:33 +0000 (11:13 +0100)]
dak/generate_releases.py: pull components from the database

Address FIXME that talks about pulling Components from the DB.

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoupdate93.py: update world.files-1 to handle backports archive on ftp-master
Ansgar Burchardt [Sun, 25 Nov 2012 11:25:20 +0000 (12:25 +0100)]
update93.py: update world.files-1 to handle backports archive on ftp-master

The addition of the backports archive on ftp-master broke the assumption
that only one of the backports, ftp-master and security archives exist.

12 years agoconfig/debian/dak.conf: reject uploads to squeeze-backports
Ansgar Burchardt [Sun, 25 Nov 2012 10:50:15 +0000 (11:50 +0100)]
config/debian/dak.conf: reject uploads to squeeze-backports

We do not want to accept uploads to squeeze-backports on ftp-master for
now.

12 years agoMerge remote-tracking branch 'origin/master'
Ansgar Burchardt [Sun, 25 Nov 2012 10:48:41 +0000 (11:48 +0100)]
Merge remote-tracking branch 'origin/master'

12 years agoremove DMUA flag handling
Joerg Jaspert [Sat, 24 Nov 2012 20:08:05 +0000 (21:08 +0100)]
remove DMUA flag handling

drop usage of the DMUA flag, only use the new ACL set, as announced in
https://lists.debian.org/debian-devel-announce/2012/09/msg00012.html
and
https://lists.debian.org/debian-devel-announce/2012/09/msg00008.html

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoAdd archive rename command
Tollef Fog Heen [Thu, 22 Nov 2012 14:06:56 +0000 (15:06 +0100)]
Add archive rename command

Make it possible to rename archives using

     dak admin archive rename OLD NEW

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
12 years agoTypo in comment
Tollef Fog Heen [Thu, 22 Nov 2012 14:08:54 +0000 (15:08 +0100)]
Typo in comment

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
12 years agodaklib/dbconn.py: use unicode workaround also for sqlalchemy 0.7
Ansgar Burchardt [Tue, 20 Nov 2012 14:51:31 +0000 (15:51 +0100)]
daklib/dbconn.py: use unicode workaround also for sqlalchemy 0.7

Reference: https://lists.debian.org/debian-dak/2012/11/msg00043.html

12 years agoapache.conf-incoming: allow access from nagini.codelibre.net
Ansgar Burchardt [Sat, 24 Nov 2012 14:01:16 +0000 (15:01 +0100)]
apache.conf-incoming: allow access from nagini.codelibre.net

Allow access from nagini.codelibre.net to allow testing sbuild-db.

12 years agodak/process_policy.py: don't try to copy files to accepted twice
Ansgar Burchardt [Sat, 17 Nov 2012 15:39:53 +0000 (16:39 +0100)]
dak/process_policy.py: don't try to copy files to accepted twice

We might already have copied files to accepted before, for example when
accepting multiple uploads that use the same upstream tarball. So we
have to ignore existing files here.

12 years agodaklib/archive.py: give a nicer error message for already known .changes
Ansgar Burchardt [Sat, 17 Nov 2012 13:25:25 +0000 (14:25 +0100)]
daklib/archive.py: give a nicer error message for already known .changes

Bug-Debian: http://bugs.debian.org/693163

12 years agodak/rm.py: also close forwarded bug reports
Ansgar Burchardt [Sat, 17 Nov 2012 12:12:15 +0000 (13:12 +0100)]
dak/rm.py: also close forwarded bug reports

Bug-Debian: http://bugs.debian.org/693491

12 years agoconfig/debian-security/cron.buildd: $DISTS should only be stable and testing
Ansgar Burchardt [Tue, 13 Nov 2012 19:13:26 +0000 (20:13 +0100)]
config/debian-security/cron.buildd: $DISTS should only be stable and testing

The archive now has more (private) suites for handling policy and build
queues. These are not of interest here.

12 years agoconfig/debian-security/cron.unchecked: call process-upload before process-policy
Ansgar Burchardt [Tue, 13 Nov 2012 19:01:24 +0000 (20:01 +0100)]
config/debian-security/cron.unchecked: call process-upload before process-policy

This saves one run for uploads that are automatically accepted from the
policy queues (eg. buildd uploads for an already accepted source).

12 years agoconfig/debian-security/cron.unchecked: calling process-policy once per queue is enough
Ansgar Burchardt [Tue, 13 Nov 2012 19:00:10 +0000 (20:00 +0100)]
config/debian-security/cron.unchecked: calling process-policy once per queue is enough

12 years agodak/import.py: control -> source
Ansgar Burchardt [Thu, 8 Nov 2012 07:34:15 +0000 (08:34 +0100)]
dak/import.py: control -> source

Don' try to fix bugs while eating breakfast, you will miss things.

12 years agodak/import.py: control -> source
Ansgar Burchardt [Thu, 8 Nov 2012 07:29:02 +0000 (08:29 +0100)]
dak/import.py: control -> source

12 years agodak/import.py: use section_name variable where we need it
Ansgar Burchardt [Thu, 8 Nov 2012 07:22:02 +0000 (08:22 +0100)]
dak/import.py: use section_name variable where we need it

12 years agoImprove dak/import.py.
Ansgar Burchardt [Wed, 7 Nov 2012 20:01:06 +0000 (21:01 +0100)]
Improve dak/import.py.

12 years agoAdd new import subcommand.
Ansgar Burchardt [Wed, 7 Nov 2012 14:19:53 +0000 (15:19 +0100)]
Add new import subcommand.

12 years agodaklib/upload.py: add from_file classmethods
Ansgar Burchardt [Wed, 7 Nov 2012 13:47:22 +0000 (14:47 +0100)]
daklib/upload.py: add from_file classmethods

Allow to create HashedFile, Binary and Source objects from existing files.
This will be used to directly import binary and source packages into an
archive.

12 years agodaklib/archive.py: use right name for .dsc dict
Ansgar Burchardt [Mon, 5 Nov 2012 08:07:07 +0000 (09:07 +0100)]
daklib/archive.py: use right name for .dsc dict

12 years agoconfig/debian-security/cron.unchecked: be silent
Ansgar Burchardt [Sun, 4 Nov 2012 19:46:24 +0000 (20:46 +0100)]
config/debian-security/cron.unchecked: be silent

12 years agoMake sure *.new directories do exist.
Ansgar Burchardt [Sun, 4 Nov 2012 18:56:35 +0000 (19:56 +0100)]
Make sure *.new directories do exist.

The directories will not be created by dak export / dak export-suite if
they have no files to put there.

12 years agoAlways regenerate policy queue exports.
Ansgar Burchardt [Sun, 4 Nov 2012 18:38:00 +0000 (19:38 +0100)]
Always regenerate policy queue exports.

Otherwise outdated symlinks will be kept around for a while after
dak new-security-install was run until cron.unchecked does some real
work again.

12 years agodak/make_changelog.py: use correct column name
Ansgar Burchardt [Sun, 4 Nov 2012 18:00:11 +0000 (19:00 +0100)]
dak/make_changelog.py: use correct column name

12 years agomake_changelog.py: typo
Ansgar Burchardt [Sun, 4 Nov 2012 17:59:01 +0000 (18:59 +0100)]
make_changelog.py: typo

12 years agoOnly move accepted files in cron.unchecked
Ansgar Burchardt [Sun, 4 Nov 2012 17:44:11 +0000 (18:44 +0100)]
Only move accepted files in cron.unchecked

This avoids triggering the taint check in spawn().

12 years agodak/export_suite.py: add workaround to allow exporting broken build queues
Ansgar Burchardt [Sun, 4 Nov 2012 17:24:17 +0000 (18:24 +0100)]
dak/export_suite.py: add workaround to allow exporting broken build queues

12 years agoconfig/debian-security/cron.unchecked: export policy queues in old format
Ansgar Burchardt [Sun, 4 Nov 2012 17:12:25 +0000 (18:12 +0100)]
config/debian-security/cron.unchecked: export policy queues in old format

12 years agoconfig/debian-security/cron.weekly: only regenerate Release for public archive
Ansgar Burchardt [Sun, 4 Nov 2012 17:02:45 +0000 (18:02 +0100)]
config/debian-security/cron.weekly: only regenerate Release for public archive

12 years agoconfig/debian-security/cron.daily: use explicit list of suites
Ansgar Burchardt [Sun, 4 Nov 2012 17:02:26 +0000 (18:02 +0100)]
config/debian-security/cron.daily: use explicit list of suites

12 years agoconfig/debian-security/cron.unchecked: just run process-policy to see if there were...
Ansgar Burchardt [Sun, 4 Nov 2012 16:52:49 +0000 (17:52 +0100)]
config/debian-security/cron.unchecked: just run process-policy to see if there were files to process

12 years agodak/new_security_install.py: remove reference to newstage
Ansgar Burchardt [Sun, 4 Nov 2012 16:51:59 +0000 (17:51 +0100)]
dak/new_security_install.py: remove reference to newstage

12 years agoconfig/debian-security/cron.unchecked: fix gpg call, use correct description
Ansgar Burchardt [Sun, 4 Nov 2012 16:37:24 +0000 (17:37 +0100)]
config/debian-security/cron.unchecked: fix gpg call, use correct description

12 years agodaklib/archive.py (install_source): always copy source files to target archive
Ansgar Burchardt [Sun, 4 Nov 2012 16:26:35 +0000 (17:26 +0100)]
daklib/archive.py (install_source): always copy source files to target archive

12 years agodak/export_suite.py: same file might be in multiple components
Ansgar Burchardt [Sun, 4 Nov 2012 15:58:36 +0000 (16:58 +0100)]
dak/export_suite.py: same file might be in multiple components

Use first() instead of one() in case the file is available in multiple
components.

12 years agodak/export_suite.py: take archive file for the archive we are exporting from
Ansgar Burchardt [Sun, 4 Nov 2012 15:51:49 +0000 (16:51 +0100)]
dak/export_suite.py: take archive file for the archive we are exporting from

12 years agoconfig/debian-security/cron.unchecked: pass right override file
Ansgar Burchardt [Sun, 4 Nov 2012 15:27:40 +0000 (16:27 +0100)]
config/debian-security/cron.unchecked: pass right override file

apt-ftparchive appends '.src' on its own when generating Sources.

12 years agoRevert "config/debian/common: pass source overrides to apt-ftparchive sources"
Ansgar Burchardt [Sun, 4 Nov 2012 15:26:21 +0000 (16:26 +0100)]
Revert "config/debian/common: pass source overrides to apt-ftparchive sources"

This reverts commit f92f5bd318e254805016bb9b92ee683f912d3cf2.

12 years agodaklib/archive.py (_binary_override): evaluate component mapping
Ansgar Burchardt [Sun, 4 Nov 2012 14:57:05 +0000 (15:57 +0100)]
daklib/archive.py (_binary_override): evaluate component mapping

12 years agodaklib/archive.py: add warning explaining why a package is NEW
Ansgar Burchardt [Sun, 4 Nov 2012 14:53:01 +0000 (15:53 +0100)]
daklib/archive.py: add warning explaining why a package is NEW

12 years agodak/process_upload.py: show warnings when processing upload
Ansgar Burchardt [Sun, 4 Nov 2012 14:52:35 +0000 (15:52 +0100)]
dak/process_upload.py: show warnings when processing upload

12 years agodak/dakdb/update75.py: handle "/" in component names.
Ansgar Burchardt [Sun, 4 Nov 2012 14:52:14 +0000 (15:52 +0100)]
dak/dakdb/update75.py: handle "/" in component names.

12 years agomake-changelog: add archive option
Ansgar Burchardt [Sun, 4 Nov 2012 13:58:04 +0000 (14:58 +0100)]
make-changelog: add archive option

We do not want to export changelogs for policy queues such as embargoed.

12 years agoconfig/debian-security/*: More updates for multiarchive changes.
Ansgar Burchardt [Sun, 4 Nov 2012 13:37:24 +0000 (14:37 +0100)]
config/debian-security/*: More updates for multiarchive changes.

12 years agoconfig/debian/common: pass source overrides to apt-ftparchive sources
Ansgar Burchardt [Sun, 4 Nov 2012 13:35:43 +0000 (14:35 +0100)]
config/debian/common: pass source overrides to apt-ftparchive sources

12 years agoconfig/debian-security/cron.*: update for multiarchive changes
Ansgar Burchardt [Sun, 4 Nov 2012 13:09:12 +0000 (14:09 +0100)]
config/debian-security/cron.*: update for multiarchive changes

First set of updates for multiarchive changes.

12 years agodak/new_security_install.py: Update for multiarchive changes.
Ansgar Burchardt [Sun, 4 Nov 2012 12:53:49 +0000 (13:53 +0100)]
dak/new_security_install.py: Update for multiarchive changes.

newstage is gone. Instead we need to run process-policy and grab
accepted files from $queuedir/accepted.

12 years agodak/process_policy.py: Add option to copy accepted packages somewhere
Ansgar Burchardt [Sun, 4 Nov 2012 12:45:42 +0000 (13:45 +0100)]
dak/process_policy.py: Add option to copy accepted packages somewhere

To sync packages accepted into the security archive to the main archive
we need to grab all accepted uploads. The right time to do so is when we
install them from the policy queue into the public archive, ie. in
process-policy.

12 years agodak/generate_releases.py: create worker pool before connection to database
Ansgar Burchardt [Sun, 4 Nov 2012 11:19:36 +0000 (12:19 +0100)]
dak/generate_releases.py: create worker pool before connection to database

We do not want to have the file descriptor for the database connection
in the worker processes.

12 years agoimport_dataset.sh: use shell redirection instead of cat
Ansgar Burchardt [Wed, 24 Oct 2012 21:34:05 +0000 (23:34 +0200)]
import_dataset.sh: use shell redirection instead of cat

This will give an error when ${INPUTFILE} does not exist instead of feeding an
empty input to control-suite.

12 years agoinclude only packages in the right component in Sources
Ansgar Burchardt [Fri, 12 Oct 2012 08:20:01 +0000 (10:20 +0200)]
include only packages in the right component in Sources

Having overrides for the same package in multiple components should not
cause source packages to be listed in the wrong Sources index.

Reference: https://lists.debian.org/debian-mirrors/2012/09/msg00020.html

12 years agodak/generate_releases.py: also add the ugly hack for wheezy-updates
Ansgar Burchardt [Wed, 10 Oct 2012 16:50:41 +0000 (18:50 +0200)]
dak/generate_releases.py: also add the ugly hack for wheezy-updates

12 years agoconfig/debian/dak.conf: add suite map for {wheezy,testing}-updates
Ansgar Burchardt [Wed, 10 Oct 2012 16:40:42 +0000 (18:40 +0200)]
config/debian/dak.conf: add suite map for {wheezy,testing}-updates

12 years agodak/examine_package.py: remove confusing parentheses
Ansgar Burchardt [Sun, 7 Oct 2012 14:43:46 +0000 (16:43 +0200)]
dak/examine_package.py: remove confusing parentheses

12 years agoMerge remote-tracking branch 'dktrkranz/fixes'
Ansgar Burchardt [Sun, 7 Oct 2012 14:42:42 +0000 (16:42 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'

12 years agoscripts/debian/sync-dd: rsync should stay quiet
Ansgar Burchardt [Sun, 7 Oct 2012 14:32:20 +0000 (16:32 +0200)]
scripts/debian/sync-dd: rsync should stay quiet

12 years agoPass basename as title parameter to foldable_output function
Luca Falavigna [Sun, 7 Oct 2012 14:02:04 +0000 (14:02 +0000)]
Pass basename as title parameter to foldable_output function

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoscripts/debian/sync-dd: add two missing backslashes
Ansgar Burchardt [Sun, 7 Oct 2012 13:15:11 +0000 (15:15 +0200)]
scripts/debian/sync-dd: add two missing backslashes

12 years agopush mirror on ries instead of having ries pull from franck
Ansgar Burchardt [Sun, 7 Oct 2012 13:10:29 +0000 (15:10 +0200)]
push mirror on ries instead of having ries pull from franck

12 years agolet cron.reboot sleep a bit to have all resources ready
Joerg Jaspert [Mon, 1 Oct 2012 14:29:05 +0000 (16:29 +0200)]
let cron.reboot sleep a bit to have all resources ready

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Mon, 1 Oct 2012 14:28:23 +0000 (16:28 +0200)]
Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak

* 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak:
  setup/README: update for recent changes
  Strip contrib/non-free from source names

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoUpdate from squeezer6
Joerg Jaspert [Sun, 30 Sep 2012 18:48:45 +0000 (20:48 +0200)]
Update from squeezer6

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agosetup/README: update for recent changes
Ansgar Burchardt [Sun, 30 Sep 2012 15:47:52 +0000 (17:47 +0200)]
setup/README: update for recent changes

12 years agoMerge remote-tracking branch 'dktrkranz/fixes'
Ansgar Burchardt [Sun, 30 Sep 2012 13:04:31 +0000 (15:04 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'

12 years agoStrip contrib/non-free from source names
Luca Falavigna [Sun, 30 Sep 2012 12:58:08 +0000 (12:58 +0000)]
Strip contrib/non-free from source names

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agodaklib/lists: output one less / for the pool/
Joerg Jaspert [Sat, 29 Sep 2012 11:03:51 +0000 (13:03 +0200)]
daklib/lists: output one less / for the pool/

or otherwise apt-ftparchive is writing non-useful stuff into the
generated files

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/archive.py: allow source to be in enhanced suite
Ansgar Burchardt [Wed, 26 Sep 2012 20:05:55 +0000 (22:05 +0200)]
daklib/archive.py: allow source to be in enhanced suite

This allows binNMUs for which the source is in stable to be accepted
into proposed-updates.

A better fix would be to handle this in _install_to_suite which already
does the right thing when source_suites is None.

12 years agodaklib/archive.py: fix autobyhand for binNMUs
Ansgar Burchardt [Wed, 26 Sep 2012 19:41:40 +0000 (21:41 +0200)]
daklib/archive.py: fix autobyhand for binNMUs

12 years agodaklib/policy.py: don't list missing overrides for each arch
Ansgar Burchardt [Mon, 24 Sep 2012 21:31:38 +0000 (23:31 +0200)]
daklib/policy.py: don't list missing overrides for each arch

If an upload include binary packages for multiple architectures, dak
should only display (and add) the missing overrides once.

12 years agoMerge branch 'new-dm'
Ansgar Burchardt [Mon, 24 Sep 2012 19:32:37 +0000 (21:32 +0200)]
Merge branch 'new-dm'

12 years agodak/acl.py: include fingerprint of person who granted upload permission
Ansgar Burchardt [Mon, 24 Sep 2012 19:29:43 +0000 (21:29 +0200)]
dak/acl.py: include fingerprint of person who granted upload permission

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

12 years agoMerge branch 'fix-acl'
Ansgar Burchardt [Mon, 24 Sep 2012 18:42:09 +0000 (20:42 +0200)]
Merge branch 'fix-acl'

12 years agodaklib/checks.py: include acl name in reason for rejection
Ansgar Burchardt [Mon, 24 Sep 2012 18:41:44 +0000 (20:41 +0200)]
daklib/checks.py: include acl name in reason for rejection

12 years agoremove per-fingerprint ACLs that are identical to keyring ACL
Ansgar Burchardt [Mon, 24 Sep 2012 18:30:06 +0000 (20:30 +0200)]
remove per-fingerprint ACLs that are identical to keyring ACL

With the changes in 707a89a3b86961755a99cb9e1a0a5f23690f9529 dak uses
the keyring acl if there is no acl for the fingerprint. Also
import_keyring.py stopped updating the fingerprint acl. This caused
problems for old fingerprints (with an acl set) that move between
keyrings as they would continue to use the old acl.

This update sets the acl to NULL for fingerprints using the keyring acl
to avoid these issues.

12 years agodaklib/command.py: give a real error message for unknown fingerprints
Ansgar Burchardt [Sat, 22 Sep 2012 08:43:46 +0000 (10:43 +0200)]
daklib/command.py: give a real error message for unknown fingerprints

12 years agodak/import_keyring.py: fix SQL syntax error
Ansgar Burchardt [Sat, 22 Sep 2012 08:14:10 +0000 (10:14 +0200)]
dak/import_keyring.py: fix SQL syntax error

This was broken by 707a89a3b86961755a99cb9e1a0a5f23690f9529.

12 years agoMerge branch 'new-dm'
Ansgar Burchardt [Sat, 22 Sep 2012 07:58:53 +0000 (09:58 +0200)]
Merge branch 'new-dm'