]> git.decadent.org.uk Git - dak.git/log
dak.git
11 years agoinclude backports archive in (pool) sync
Joerg Jaspert [Sun, 7 Apr 2013 19:14:00 +0000 (21:14 +0200)]
include backports archive in (pool) sync

11 years agodak.conf-backports: change location of removal logs
Ansgar Burchardt [Tue, 2 Apr 2013 13:57:36 +0000 (15:57 +0200)]
dak.conf-backports: change location of removal logs

11 years agoMerge remote-tracking branch 'origin/master'
Ansgar Burchardt [Mon, 1 Apr 2013 12:16:06 +0000 (14:16 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agoGenerate backports-new.html
Ansgar Burchardt [Mon, 1 Apr 2013 12:10:03 +0000 (14:10 +0200)]
Generate backports-new.html

11 years agoMerge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Mon, 18 Mar 2013 18:36:04 +0000 (19:36 +0100)]
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:
  mkchecksums: store md5sums in correct location
  backports queued: pid and log files are in run subdirectory.
  backports queued: forward uploads to ftp-master

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agofix dm_suites var
Joerg Jaspert [Mon, 18 Mar 2013 18:35:49 +0000 (19:35 +0100)]
fix dm_suites var

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agomkchecksums: store md5sums in correct location
Ansgar Burchardt [Sun, 17 Mar 2013 16:11:30 +0000 (17:11 +0100)]
mkchecksums: store md5sums in correct location

We cannot use $indices as the location is specific to each archive.

11 years agobackports queued: pid and log files are in run subdirectory.
Ansgar Burchardt [Sun, 17 Mar 2013 08:04:36 +0000 (09:04 +0100)]
backports queued: pid and log files are in run subdirectory.

11 years agobackports queued: forward uploads to ftp-master
Ansgar Burchardt [Sun, 17 Mar 2013 07:57:26 +0000 (08:57 +0100)]
backports queued: forward uploads to ftp-master

11 years agomisleading log msg
Joerg Jaspert [Sat, 16 Mar 2013 22:37:25 +0000 (23:37 +0100)]
misleading log msg

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoMerge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Sat, 16 Mar 2013 21:12:20 +0000 (22:12 +0100)]
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:
  config/debian/apache.conf-incoming: add buildd-squeeze-backports alias
  config/debian/dak.conf: no longer reject uploads to squeeze-backports

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoalso push the backports archive
Joerg Jaspert [Sat, 16 Mar 2013 21:12:13 +0000 (22:12 +0100)]
also push the backports archive

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoconfig/debian/apache.conf-incoming: add buildd-squeeze-backports alias
Ansgar Burchardt [Sat, 16 Mar 2013 19:46:34 +0000 (20:46 +0100)]
config/debian/apache.conf-incoming: add buildd-squeeze-backports alias

11 years agoconfig/debian/dak.conf: no longer reject uploads to squeeze-backports
Ansgar Burchardt [Sat, 16 Mar 2013 19:32:55 +0000 (20:32 +0100)]
config/debian/dak.conf: no longer reject uploads to squeeze-backports

11 years agoadjust for backports merge
Joerg Jaspert [Sat, 16 Mar 2013 19:02:12 +0000 (20:02 +0100)]
adjust for backports merge

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agodak/import.py: commit after each imported package
Ansgar Burchardt [Sat, 16 Mar 2013 17:01:23 +0000 (18:01 +0100)]
dak/import.py: commit after each imported package

11 years agoconfig/debian/common: make sure old-style buildd directory exists
Ansgar Burchardt [Tue, 12 Mar 2013 20:34:55 +0000 (21:34 +0100)]
config/debian/common: make sure old-style buildd directory exists

An empty build queue would result in $incoming/dists/$suite/buildd no
longer existing. This later triggers an error.

11 years agoconfig/debian/*: generate old-style buildd archive for squeeze-backports
Ansgar Burchardt [Fri, 8 Mar 2013 10:47:50 +0000 (11:47 +0100)]
config/debian/*: generate old-style buildd archive for squeeze-backports

The suite will be needed until the squeeze-backports buildds switch to the new
location.

11 years agoparse_file_list: really handle files without an entry in the Files field
Ansgar Burchardt [Thu, 7 Mar 2013 06:42:44 +0000 (07:42 +0100)]
parse_file_list: really handle files without an entry in the Files field

We have to raise an exception right away after all if "entry" is None as we
later assign to "entry['sha*sum']".

11 years agoparse_file_list: handle files without an entry in the Files field
Ansgar Burchardt [Thu, 7 Mar 2013 06:17:27 +0000 (07:17 +0100)]
parse_file_list: handle files without an entry in the Files field

If a file is only listed in the Checksums-* fields, "entry" will be None and we
cannot call the get method to compare the size in the different fields.

This change just skips the comparison when "entry" is None. We can do this as
we later check that each entry has all required checksums (i.e. is listed in
Files and the Checksums-* fields).

11 years agoStop processing uploads to forbidden suites earlier.
Ansgar Burchardt [Wed, 27 Feb 2013 12:25:52 +0000 (13:25 +0100)]
Stop processing uploads to forbidden suites earlier.

11 years agoconfig/debian/dinstall.functions: create ${archiveroot}/indices
Ansgar Burchardt [Sun, 24 Feb 2013 20:04:39 +0000 (21:04 +0100)]
config/debian/dinstall.functions: create ${archiveroot}/indices

11 years agoUse /bin/bash as interpreter.
Ansgar Burchardt [Sun, 24 Feb 2013 15:24:32 +0000 (16:24 +0100)]
Use /bin/bash as interpreter.

Since 5390eff0ba7a732269f040b0a4c4a3b9a0db2733 we use a few bash
features like arrays in config/debian/vars.

11 years agoconfig/debian/dak.conf-backports: correct path to log and lock directories
Ansgar Burchardt [Sun, 24 Feb 2013 14:12:53 +0000 (15:12 +0100)]
config/debian/dak.conf-backports: correct path to log and lock directories

11 years agodak/process_new.py: document -q/--queue option
Ansgar Burchardt [Sun, 24 Feb 2013 13:23:27 +0000 (14:23 +0100)]
dak/process_new.py: document -q/--queue option

11 years agodak/admin.py: suite add has a archive=ARCHIVE option.
Ansgar Burchardt [Sun, 24 Feb 2013 13:22:13 +0000 (14:22 +0100)]
dak/admin.py: suite add has a archive=ARCHIVE option.

11 years agoconfig/debian/cron.hourly: import backports acl
Ansgar Burchardt [Sun, 24 Feb 2013 13:18:26 +0000 (14:18 +0100)]
config/debian/cron.hourly: import backports acl

11 years agoFirst set of dinstall changes for backports merge
Ansgar Burchardt [Sat, 12 Jan 2013 11:40:03 +0000 (12:40 +0100)]
First set of dinstall changes for backports merge

Still missing is everything that makes the backports archive public,
e.g. the mirror push itself.

11 years agoUse backports-new by default in process-new and queue-report.
Ansgar Burchardt [Sun, 24 Feb 2013 10:20:33 +0000 (11:20 +0100)]
Use backports-new by default in process-new and queue-report.

11 years agoRestore __WARNINGS__ in NEW mail template.
Ansgar Burchardt [Sun, 24 Feb 2013 09:54:29 +0000 (10:54 +0100)]
Restore __WARNINGS__ in NEW mail template.

11 years agoremove arm/hppa keyrings
Joerg Jaspert [Sat, 23 Feb 2013 20:30:46 +0000 (21:30 +0100)]
remove arm/hppa keyrings

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoscripts/debian/byhand-di: don't append -proposed-updates if it's already there
Ansgar Burchardt [Thu, 7 Feb 2013 09:17:08 +0000 (10:17 +0100)]
scripts/debian/byhand-di: don't append -proposed-updates if it's already there

A .changes file might upload directly to a *-proposed-updates suite. We do not
want to append another -proposed-updates in this case.

11 years agodebianqueued: set LC_ALL in the environment
Ansgar Burchardt [Sun, 3 Feb 2013 13:03:25 +0000 (14:03 +0100)]
debianqueued: set LC_ALL in the environment

Make sure all processes we start also run in the C locale.

queued currently parses the output from gpg to get the name of the
person who signed an upload. A better fix would be to pass --with-colon
to gpg, but as this information is only used for logging anyway...

11 years agodebianqueued: open ftp connection when trying to upload .dak-commands
Ansgar Burchardt [Sun, 3 Feb 2013 12:42:51 +0000 (13:42 +0100)]
debianqueued: open ftp connection when trying to upload .dak-commands

11 years agodak/acl.py: only add fingerprints from active keyrings to an ACL.
Ansgar Burchardt [Sun, 27 Jan 2013 12:50:40 +0000 (13:50 +0100)]
dak/acl.py: only add fingerprints from active keyrings to an ACL.

11 years agodak/acl.py: allow comments and empty lines
Ansgar Burchardt [Sun, 27 Jan 2013 12:48:23 +0000 (13:48 +0100)]
dak/acl.py: allow comments and empty lines

11 years agodak/acl.py: raise an exception when an unknown selector is used
Ansgar Burchardt [Sun, 27 Jan 2013 10:52:38 +0000 (11:52 +0100)]
dak/acl.py: raise an exception when an unknown selector is used

11 years agodak/acl.py: allow to filter by keyring
Ansgar Burchardt [Sun, 27 Jan 2013 10:50:38 +0000 (11:50 +0100)]
dak/acl.py: allow to filter by keyring

This is intended to be used for the backports ACL to allow all buildd
keys to upload.

11 years agodebianqueued: add armhf and s390x keyrings for security-master.
Ansgar Burchardt [Tue, 22 Jan 2013 23:50:51 +0000 (00:50 +0100)]
debianqueued: add armhf and s390x keyrings for security-master.

11 years agodebianqueued: move log and pid files to run directory for security archive
Ansgar Burchardt [Tue, 22 Jan 2013 23:07:20 +0000 (00:07 +0100)]
debianqueued: move log and pid files to run directory for security archive

11 years agodaklib/archive.py: Use correct variable for the rejected suite.
Ansgar Burchardt [Tue, 22 Jan 2013 17:54:32 +0000 (18:54 +0100)]
daklib/archive.py: Use correct variable for the rejected suite.

11 years agoHandle *.dak-commands files owned by a different user.
Ansgar Burchardt [Sun, 20 Jan 2013 09:59:40 +0000 (10:59 +0100)]
Handle *.dak-commands files owned by a different user.

11 years agoinclude Built-Using sources in Sources indices
Ansgar Burchardt [Tue, 8 Jan 2013 14:49:21 +0000 (15:49 +0100)]
include Built-Using sources in Sources indices

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

11 years agoconfig/debian/cron.monthly: debianqueued now runs as dak-unpriv
Ansgar Burchardt [Sat, 19 Jan 2013 15:13:59 +0000 (16:13 +0100)]
config/debian/cron.monthly: debianqueued now runs as dak-unpriv

11 years agoconfig/debian/dak.conf: keep dak-unpriv user in postgres
Ansgar Burchardt [Sat, 19 Jan 2013 14:42:33 +0000 (15:42 +0100)]
config/debian/dak.conf: keep dak-unpriv user in postgres

dak show-deferred now runs as dak-unpriv and needs a (read-only) database
connection.

11 years agoRun debianqueued as dak-unpriv.
Ansgar Burchardt [Sat, 19 Jan 2013 14:20:58 +0000 (15:20 +0100)]
Run debianqueued as dak-unpriv.

We also need to run show-deferred as dak-unpriv as it changes
permissions of some files in the deferred queues.

11 years agodebianqueued: move log and pid files to run subdirectory
Ansgar Burchardt [Sat, 19 Jan 2013 14:20:02 +0000 (15:20 +0100)]
debianqueued: move log and pid files to run subdirectory

The dak-unpriv user needs to be able to write these files.

11 years agodebianqueued: remove current directory from @INC
Ansgar Burchardt [Sat, 12 Jan 2013 15:30:49 +0000 (16:30 +0100)]
debianqueued: remove current directory from @INC

11 years ago<Files> matches only the basename, so wrap it inside a <Directory> block
Ansgar Burchardt [Sat, 12 Jan 2013 13:53:24 +0000 (14:53 +0100)]
<Files> matches only the basename, so wrap it inside a <Directory> block

11 years agoconfig/debian/apache.conf-incoming: allow access to robots.txt
Ansgar Burchardt [Sat, 12 Jan 2013 13:49:00 +0000 (14:49 +0100)]
config/debian/apache.conf-incoming: allow access to robots.txt

11 years agoStop generating dm-uploaders.html.
Ansgar Burchardt [Sat, 12 Jan 2013 13:40:16 +0000 (14:40 +0100)]
Stop generating dm-uploaders.html.

dm-uploaders.html is huge (74 MB) which makes is unusable. DM upload
permissions can now be seen in dm.txt.

11 years agoAdd robots.txt for incoming.debian.org.
Ansgar Burchardt [Sat, 12 Jan 2013 13:37:30 +0000 (14:37 +0100)]
Add robots.txt for incoming.debian.org.

Files on incoming.debian.org only exist for a short while so it makes no
sense to have them indexed.

11 years agodak/process_new.py: show target suite and changed-by
Ansgar Burchardt [Mon, 7 Jan 2013 10:24:48 +0000 (11:24 +0100)]
dak/process_new.py: show target suite and changed-by

11 years agodak/show_new.py: use apply_async instead of map_async
Ansgar Burchardt [Mon, 7 Jan 2013 09:32:19 +0000 (10:32 +0100)]
dak/show_new.py: use apply_async instead of map_async

The map variant established multiple database connections in each worker
exceeding the maximum number of connections configured in PostgreSQL.
apply_async doesn't have this problem with our wrapper in DakProcessPool.

However as a regression we longer have a timeout and always have to wait for
the job to finish. This could be worked around by using the timeout function
for individual results.

11 years agoconfig/debian/dak.conf: There is no dak group.
Ansgar Burchardt [Sun, 6 Jan 2013 13:07:42 +0000 (14:07 +0100)]
config/debian/dak.conf: There is no dak group.

11 years agodak/show_new.py: set examine_package.use_html before creating worker pool
Ansgar Burchardt [Sun, 6 Jan 2013 12:48:07 +0000 (13:48 +0100)]
dak/show_new.py: set examine_package.use_html before creating worker pool

We want examine_package.use_html to be set everywhere. So we have to
change it before we create the worker pool.

This was broken by 24cb4fe2729e5805e8a9d81149dce947787ee20d where the
worker pool was setup earlier.

11 years agoshow-new: run lintian as unprivileged user
Ansgar Burchardt [Sun, 6 Jan 2013 12:44:51 +0000 (13:44 +0100)]
show-new: run lintian as unprivileged user

As dak/examine_package.py is also used by process-new we cannot run
lintian unconditionally as the unprivileged user. Therefore move the
Unpriv{User,Group} setting from the database to a (group-specific)
dak.conf.

11 years agodak/admin.py: add new subcommand to add buildd keyring
Ansgar Burchardt [Fri, 4 Jan 2013 19:15:29 +0000 (20:15 +0100)]
dak/admin.py: add new subcommand to add buildd keyring

This also creates a new ACL which is not fun to do by hand.

11 years agoExport buildd queues on security archive.
Ansgar Burchardt [Fri, 4 Jan 2013 15:08:16 +0000 (16:08 +0100)]
Export buildd queues on security archive.

11 years agoapache.conf-incoming: add alias for /debian-buildd.
Ansgar Burchardt [Fri, 4 Jan 2013 14:39:56 +0000 (15:39 +0100)]
apache.conf-incoming: add alias for /debian-buildd.

11 years agoscriptdir vs. scriptsdir is confusing
Ansgar Burchardt [Fri, 4 Jan 2013 12:13:58 +0000 (13:13 +0100)]
scriptdir vs. scriptsdir is confusing

11 years agoExport buildd queues to public location
Ansgar Burchardt [Fri, 4 Jan 2013 12:08:56 +0000 (13:08 +0100)]
Export buildd queues to public location

The dists/ directory should be updated as atomic as possible. Therefore
buildds access a copy that can be updated with two file renames.

11 years agodak/show_new.py: setup worker pool before connecting to database
Ansgar Burchardt [Thu, 3 Jan 2013 20:30:36 +0000 (21:30 +0100)]
dak/show_new.py: setup worker pool before connecting to database

11 years agodaklib/archive.py: always copy files instead of using symlinks
Ansgar Burchardt [Wed, 2 Jan 2013 16:01:07 +0000 (17:01 +0100)]
daklib/archive.py: always copy files instead of using symlinks

Some files in pool locations might not be accessible to the user dak runs
lintian as. So always copy the files and set appropriate permissions.

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

11 years agocruft-report: check for rdeps of arch:all packages on all architectures
Adam D. Barratt [Tue, 1 Jan 2013 16:40:02 +0000 (16:40 +0000)]
cruft-report: check for rdeps of arch:all packages on all architectures

When checking for reverse dependencies of sourceless arch:all packages
only those rdeps which were also arch-indep were detected.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoUse Squeezy key instead of the expired Lenny key.
Ansgar Burchardt [Tue, 1 Jan 2013 10:00:52 +0000 (11:00 +0100)]
Use Squeezy key instead of the expired Lenny key.

11 years ago%Y works so much nicer than here
Joerg Jaspert [Tue, 1 Jan 2013 10:03:05 +0000 (11:03 +0100)]
%Y works so much nicer than  here

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agomonthly rotation of the queued log on franck
Joerg Jaspert [Tue, 1 Jan 2013 10:01:14 +0000 (11:01 +0100)]
monthly rotation of the queued log on franck

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoConfigure dm-{remove,migrate}.
Ansgar Burchardt [Sat, 29 Dec 2012 11:28:25 +0000 (12:28 +0100)]
Configure dm-{remove,migrate}.

People allowed to use dm-{remove,migrate} are the keyring maintainers
and ftp masters for now.

11 years agoImplement dm-remove and dm-migrate commands.
Ansgar Burchardt [Sat, 29 Dec 2012 11:22:06 +0000 (12:22 +0100)]
Implement dm-remove and dm-migrate commands.

The dm-remove command can be used to remove all DM ACL entries for a
given fingerprint:

  Action: dm-remove
  Fingerprint: ...

The dm-migrate command can be used to migrate all DM ACL entries from
one key to another:

  Action: dm-migrate
  From: ...
  To: ...

11 years agodaklib/upload.py: more verbose message for hash mismatches
Ansgar Burchardt [Sat, 29 Dec 2012 10:11:23 +0000 (11:11 +0100)]
daklib/upload.py: more verbose message for hash mismatches

Reported-by: Laszlo Kajan <lkajan@rostlab.org>
11 years agodaklib/checks.py: name of local variable changed: what -> filename
Ansgar Burchardt [Thu, 20 Dec 2012 10:39:26 +0000 (11:39 +0100)]
daklib/checks.py: name of local variable changed: what -> filename

When moving the hash validation in e6b1c633b7127f1d2ef938b7ea2181ce9e184906
one occurrence of "what" was not changed to "filename".

11 years agoCheck hashes from .changes before loading .dsc.
Ansgar Burchardt [Tue, 18 Dec 2012 16:13:55 +0000 (17:13 +0100)]
Check hashes from .changes before loading .dsc.

11 years agoDo not load .dsc to check if an upload is sourceful.
Ansgar Burchardt [Tue, 18 Dec 2012 16:10:00 +0000 (17:10 +0100)]
Do not load .dsc to check if an upload is sourceful.

This caused an error when rejecting an upload with an invalid .dsc.

We also do not want to load the .dsc before we have made sure it matches the
hash from the .changes.

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>
11 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.

11 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.

11 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'

11 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>