]> err.no Git - dak/log
dak
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>
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