]> git.decadent.org.uk Git - dak.git/log
dak.git
11 years agouse yaml.safe_{load,dump} functions
Ansgar Burchardt [Sun, 29 Sep 2013 20:57:42 +0000 (22:57 +0200)]
use yaml.safe_{load,dump} functions

The yaml.load() function can run arbitrary code, the safe_load() variant only
understands a safe subset of YAML which is enough for dak.

11 years agodaklib/archive.py: fix copying between components
Ansgar Burchardt [Thu, 26 Sep 2013 07:13:44 +0000 (09:13 +0200)]
daklib/archive.py: fix copying between components

The _copy_file() method needs to check if the file is already in the target
component. Having it in any component is not enough if it should be copied to
an additional component in the same archive.

11 years agodaklib/archive.py: allow copying files between components
Ansgar Burchardt [Wed, 25 Sep 2013 21:58:55 +0000 (23:58 +0200)]
daklib/archive.py: allow copying files between components

Copying files between components is useful when a package moves between
components as otherwise the .changes would have to include the upstream
tarball (even if it did not change).

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agoRun clean-suites after processing policy queues
Ansgar Burchardt [Wed, 18 Sep 2013 18:36:51 +0000 (20:36 +0200)]
Run clean-suites after processing policy queues

Files belonging to rejected uploads should be removed as soon as possible in
case a modified package with the same version is uploaded.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agodaklib/dbconn.py: one relation from components to suites is enough.
Ansgar Burchardt [Tue, 10 Sep 2013 21:39:39 +0000 (23:39 +0200)]
daklib/dbconn.py: one relation from components to suites is enough.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agoMerge remote-tracking branch 'origin/master'
Ansgar Burchardt [Tue, 10 Sep 2013 21:23:12 +0000 (23:23 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agoImport only primary key fingerprints from keyring.
Ansgar Burchardt [Tue, 10 Sep 2013 21:22:14 +0000 (23:22 +0200)]
Import only primary key fingerprints from keyring.

Reference: https://lists.debian.org/debian-project/2013/09/msg00039.html
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agoMerge remote-tracking branch 'mithrandir/master' into merge
Joerg Jaspert [Tue, 10 Sep 2013 21:00:53 +0000 (23:00 +0200)]
Merge remote-tracking branch 'mithrandir/master' into merge

* mithrandir/master:
  dak/admin.py: Add commands to manipulate the suite-component mapping
  daklib/dbconn.py: Add relation from a component to the suites that include it
  dak/update_db.py: Allow version numbers > 99 in db
  Drop unused function get_architecture_suites()
  Only publish components in suites where they exist.
  daklib/dbconn.py: Typo, quotes
  dak/dakdb/update100.py: Add component - suite mapping table
  dak/admin.py: optionally output the archive as well as the suite name in suite list
  dak/admin.py: add component management commands
  dak/admin.py: use get_archive wrapper, simplifying the code slightly
  Add ordering to component table and use this when checking policy
  Add support for rm-ing suites

11 years agodak/admin.py: Add commands to manipulate the suite-component mapping
Tollef Fog Heen [Tue, 10 Sep 2013 11:29:46 +0000 (13:29 +0200)]
dak/admin.py: Add commands to manipulate the suite-component mapping

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodaklib/dbconn.py: Add relation from a component to the suites that include it
Tollef Fog Heen [Tue, 10 Sep 2013 11:29:20 +0000 (13:29 +0200)]
daklib/dbconn.py: Add relation from a component to the suites that include it

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodak/update_db.py: Allow version numbers > 99 in db
Tollef Fog Heen [Mon, 9 Sep 2013 11:32:26 +0000 (13:32 +0200)]
dak/update_db.py: Allow version numbers > 99 in db

max(['100', '99]) returns '99', not '100', so switch order around a
bit to allow for higher versions.

Signed-off-by: Tollef Fog Heen <tfheen@err.no>
11 years agoDrop unused function get_architecture_suites()
Tollef Fog Heen [Wed, 9 Jan 2013 13:45:27 +0000 (14:45 +0100)]
Drop unused function get_architecture_suites()

Not in use, and fixes a TODO item

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agoOnly publish components in suites where they exist.
Tollef Fog Heen [Wed, 9 Jan 2013 13:17:23 +0000 (14:17 +0100)]
Only publish components in suites where they exist.

When generating the sources and packages file, just generate those
that should exist, according to the component_suite mapping.

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodaklib/dbconn.py: Typo, quotes
Tollef Fog Heen [Wed, 9 Jan 2013 13:03:24 +0000 (14:03 +0100)]
daklib/dbconn.py: Typo, quotes

Avoid confusing emacs' syntax highlighter by switching the types of
quotes for a docstring and fix a typo

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodak/dakdb/update100.py: Add component - suite mapping table
Tollef Fog Heen [Wed, 9 Jan 2013 12:46:26 +0000 (13:46 +0100)]
dak/dakdb/update100.py: Add component - suite mapping table

This table will be used to only expose certain components in certain
suites.

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodak/admin.py: optionally output the archive as well as the suite name in suite list
Tollef Fog Heen [Wed, 9 Jan 2013 12:26:01 +0000 (13:26 +0100)]
dak/admin.py: optionally output the archive as well as the suite name in suite list

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodak/admin.py: add component management commands
Tollef Fog Heen [Wed, 9 Jan 2013 12:16:11 +0000 (13:16 +0100)]
dak/admin.py: add component management commands

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodak/admin.py: use get_archive wrapper, simplifying the code slightly
Tollef Fog Heen [Thu, 13 Dec 2012 07:40:41 +0000 (08:40 +0100)]
dak/admin.py: use get_archive wrapper, simplifying the code slightly

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agoAdd ordering to component table and use this when checking policy
Tollef Fog Heen [Thu, 22 Nov 2012 07:52:42 +0000 (08:52 +0100)]
Add ordering to component table and use this when checking policy

This allows us to accept source-only into
other components than {main,contrib,non-free}.

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agoAdd support for rm-ing suites
Tollef Fog Heen [Tue, 6 Nov 2012 13:00:51 +0000 (14:00 +0100)]
Add support for rm-ing suites

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agoddtp-i18n-check.sh: testing is jessie
Ansgar Burchardt [Sun, 8 Sep 2013 10:12:24 +0000 (12:12 +0200)]
ddtp-i18n-check.sh: testing is jessie

11 years agoRevert "Finds newer or equal versions in lowersuite_name"
Ansgar Burchardt [Wed, 4 Sep 2013 20:03:21 +0000 (22:03 +0200)]
Revert "Finds newer or equal versions in lowersuite_name"

This reverts commit 76b59a19769bc4468e528bb1e35623da2bc6ad5c.

In case packages in testing get binNMU'ed, testing-proposed-updates will
contain the same source version as testing, but binaries with a higher
version. The cruft-report should not suggest removing these packages.

11 years agodont sleep and code. i now know why we have <> there. meh
Joerg Jaspert [Fri, 23 Aug 2013 05:59:43 +0000 (07:59 +0200)]
dont sleep and code. i now know why we have <> there. meh

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoa -f or an rm does enable gzip to work...
Joerg Jaspert [Fri, 23 Aug 2013 05:50:21 +0000 (07:50 +0200)]
a -f or an rm does enable gzip to work...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoWhyever we had <> there, remove them.
Joerg Jaspert [Thu, 22 Aug 2013 20:44:30 +0000 (22:44 +0200)]
Whyever we had <> there, remove them.
added benefit of actually removing the uncompressed version

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agolintian.tags: reject uploads with files in /run, /var/lock or /var/run
Ansgar Burchardt [Sat, 17 Aug 2013 13:26:21 +0000 (15:26 +0200)]
lintian.tags: reject uploads with files in /run, /var/lock or /var/run

Reference: http://lists.debian.org/debian-devel/2012/10/msg00094.html

11 years agoMerge remote-tracking branch 'drkranz/stats' into merge
Joerg Jaspert [Mon, 12 Aug 2013 13:19:52 +0000 (15:19 +0200)]
Merge remote-tracking branch 'drkranz/stats' into merge

* drkranz/stats:
  Generate NEW queue stats daily
  Implement stats related to NEW processing
  Implement get_users_from_ldap function

11 years agoGenerate NEW queue stats daily
Luca Falavigna [Mon, 12 Aug 2013 12:03:06 +0000 (12:03 +0000)]
Generate NEW queue stats daily

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
11 years agoImplement stats related to NEW processing
Luca Falavigna [Mon, 12 Aug 2013 12:00:48 +0000 (12:00 +0000)]
Implement stats related to NEW processing

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
11 years agoImplement get_users_from_ldap function
Luca Falavigna [Mon, 12 Aug 2013 12:00:06 +0000 (12:00 +0000)]
Implement get_users_from_ldap function

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
11 years agodaklib/checks.py: make sure all fields in control files are UTF-8
Ansgar Burchardt [Sun, 4 Aug 2013 13:58:06 +0000 (15:58 +0200)]
daklib/checks.py: make sure all fields in control files are UTF-8

Reference: http://bugs.debian.org/717851

11 years agodak/generate_index_diffs.py: stop using deprecated settings from dak.conf
Ansgar Burchardt [Sat, 3 Aug 2013 14:59:08 +0000 (16:59 +0200)]
dak/generate_index_diffs.py: stop using deprecated settings from dak.conf

11 years agoconfig/debian/dak.conf: remove deprecated settings
Ansgar Burchardt [Sat, 3 Aug 2013 13:09:54 +0000 (15:09 +0200)]
config/debian/dak.conf: remove deprecated settings

Remove some deprecated settings from the main archive configuration.

11 years agoconfig/debian-security/*: remove deprecated settings
Ansgar Burchardt [Sat, 3 Aug 2013 01:34:23 +0000 (03:34 +0200)]
config/debian-security/*: remove deprecated settings

Remove some deprecated settings from the security archive configuration.

11 years agodak/rm.py: remove some output
Ansgar Burchardt [Fri, 2 Aug 2013 20:51:04 +0000 (22:51 +0200)]
dak/rm.py: remove some output

Deciding which packages to remove became much quicker now that only the
database is queried and no files are accessed. So the indication that work is
in progress is no longer needed.

11 years agodak/rm.py: add -B/--binary-only option
Ansgar Burchardt [Fri, 2 Aug 2013 20:47:58 +0000 (22:47 +0200)]
dak/rm.py: add -B/--binary-only option

Add an option to remove all binaries built by a given source package, but
keep the source package. This is useful in addition with -a/--architecture.

11 years agodak/rm.py: rename Binary-Only to Binary
Ansgar Burchardt [Fri, 2 Aug 2013 20:32:26 +0000 (22:32 +0200)]
dak/rm.py: rename Binary-Only to Binary

The -b option selects packages by binary name instead of source name.

11 years agoconfig/debian/dinstall.functions: add timestamps for Packages/Sources and Contents
Ansgar Burchardt [Tue, 30 Jul 2013 21:13:30 +0000 (23:13 +0200)]
config/debian/dinstall.functions: add timestamps for Packages/Sources and Contents

11 years agoconfig/debian-security/cron.buildd: use new buildd queue location
Ansgar Burchardt [Sun, 28 Jul 2013 15:48:56 +0000 (17:48 +0200)]
config/debian-security/cron.buildd: use new buildd queue location

11 years agodak/rm.py: Remove a now useless query.
Ansgar Burchardt [Sun, 28 Jul 2013 13:38:57 +0000 (15:38 +0200)]
dak/rm.py: Remove a now useless query.

11 years agodak/rm.py: use database instead of file access
Ansgar Burchardt [Sun, 28 Jul 2013 13:35:21 +0000 (15:35 +0200)]
dak/rm.py: use database instead of file access

The projectb database knows which binary packages is built from which
source package. So use this information instead of looking at the actual
files.

This makes the rm command faster and also works with an outdated version
of the archive, as for example present on the developer-accessible
mirror.

11 years agoStop calling export-suite for old buildd queues.
Ansgar Burchardt [Sun, 28 Jul 2013 12:07:25 +0000 (14:07 +0200)]
Stop calling export-suite for old buildd queues.

11 years agodak/dakdb/update98.py: Use DROP AGGREGATE for aggregate function.
Ansgar Burchardt [Sun, 28 Jul 2013 11:42:24 +0000 (13:42 +0200)]
dak/dakdb/update98.py: Use DROP AGGREGATE for aggregate function.

11 years agodak/dakdb/update98.py: Remove an additional function.
Ansgar Burchardt [Sun, 28 Jul 2013 11:38:56 +0000 (13:38 +0200)]
dak/dakdb/update98.py: Remove an additional function.

Also remove the "space_separated_list" function which is present on
ftp-master and security-master, but which is not included in the
database schema dump.

11 years agosync-dd: exclude additional temporary files from sync
Ansgar Burchardt [Sun, 28 Jul 2013 11:26:44 +0000 (13:26 +0200)]
sync-dd: exclude additional temporary files from sync

11 years agoDisable old buildd queues.
Ansgar Burchardt [Sun, 28 Jul 2013 11:23:04 +0000 (13:23 +0200)]
Disable old buildd queues.

Reference: <http://bugs.debian.org/706929>

11 years agosync-dd: ignore ftp and mirror even if they are symlinks
Ansgar Burchardt [Mon, 22 Jul 2013 21:23:05 +0000 (23:23 +0200)]
sync-dd: ignore ftp and mirror even if they are symlinks

On the ftp-master mirror "ftp" and "mirror" are symlinks to a Debian
archive mirror. These should be left untouched even though they are not
directories.

11 years agodaklib/dbconn.py: use global LDAP options for TLS
Ansgar Burchardt [Mon, 22 Jul 2013 21:01:23 +0000 (23:01 +0200)]
daklib/dbconn.py: use global LDAP options for TLS

Using connection-specific options made the code fail when calling
simple_bind_s() for some reason.

11 years agodaklib/dbconn.py: allow use with SQLAlchemy 0.8
Ansgar Burchardt [Sun, 21 Jul 2013 21:49:56 +0000 (23:49 +0200)]
daklib/dbconn.py: allow use with SQLAlchemy 0.8

11 years agoRemove dak/find_null_maintainers.py
Ansgar Burchardt [Sun, 21 Jul 2013 21:04:15 +0000 (23:04 +0200)]
Remove dak/find_null_maintainers.py

The find-null-maintainers command is not used anywhere and was broken
when I tried to run it.

11 years agoRemove obsolete SQL functions.
Ansgar Burchardt [Sun, 21 Jul 2013 21:02:56 +0000 (23:02 +0200)]
Remove obsolete SQL functions.

11 years agoRemove dak/import_ldap_fingerprints.py
Ansgar Burchardt [Sun, 21 Jul 2013 20:05:09 +0000 (22:05 +0200)]
Remove dak/import_ldap_fingerprints.py

Importing fingerprints from LDAP is now handled by import-keyring.

11 years agoAdd option to specify CAs to trust for LDAP connection over TLS
Ansgar Burchardt [Sun, 21 Jul 2013 19:59:45 +0000 (21:59 +0200)]
Add option to specify CAs to trust for LDAP connection over TLS

An explicit option makes us not rely on ldap.conf to be setup correctly
for dak's use of LDAP.

11 years agoMerge remote-tracking branch 'dktrkranz/fixes'
Ansgar Burchardt [Wed, 10 Jul 2013 17:30:18 +0000 (19:30 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'

11 years agoAdjust obsolete_lintian_tags.pl to work with lintian 2.5.13
Luca Falavigna [Tue, 11 Jun 2013 06:51:04 +0000 (06:51 +0000)]
Adjust obsolete_lintian_tags.pl to work with lintian 2.5.13

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
11 years agoconfig/homedir/ssh/*: ries-sync3 is no longer used
Ansgar Burchardt [Sat, 6 Jul 2013 23:10:04 +0000 (01:10 +0200)]
config/homedir/ssh/*: ries-sync3 is no longer used

11 years agosync-dd: exclude .nobackup
Ansgar Burchardt [Sat, 6 Jul 2013 23:07:59 +0000 (01:07 +0200)]
sync-dd: exclude .nobackup

On the mirror a .nobackup file is present to exclude the mirror copy
from backups. Exclude it so that rsync will not delete the file.

11 years agoSwitch to a different way to update backports.debian.org mirrors.
Ansgar Burchardt [Sat, 6 Jul 2013 22:36:32 +0000 (00:36 +0200)]
Switch to a different way to update backports.debian.org mirrors.

11 years agodak.conf-etc: Update hostname for developer-accessible archive.
Ansgar Burchardt [Sat, 6 Jul 2013 21:52:05 +0000 (23:52 +0200)]
dak.conf-etc: Update hostname for developer-accessible archive.

11 years agodeveloper-accessible archive copy moved to coccia.debian.org
Ansgar Burchardt [Sat, 6 Jul 2013 21:29:12 +0000 (23:29 +0200)]
developer-accessible archive copy moved to coccia.debian.org

The developer-accessible copy of the archive moved to coccia.debian.org.
As there already is a mirror available, we use that instead of adding a
second copy in /srv/ftp-master.debian.org/ftp/.

11 years agosync-dd: No longer sync build-queues/ directory.
Ansgar Burchardt [Sat, 6 Jul 2013 21:18:03 +0000 (23:18 +0200)]
sync-dd: No longer sync build-queues/ directory.

11 years agoNo longer generate i18n/Index.
Ansgar Burchardt [Thu, 4 Jul 2013 18:01:15 +0000 (20:01 +0200)]
No longer generate i18n/Index.

11 years agoadd Auto-Submitted header to mails
Ansgar Burchardt [Wed, 3 Jul 2013 15:06:25 +0000 (17:06 +0200)]
add Auto-Submitted header to mails

Add an Auto-Submitted header in addition to the Precedence header.

11 years agodebianqueued: add Precedence: bulk header to mails
Ansgar Burchardt [Wed, 3 Jul 2013 15:01:46 +0000 (17:01 +0200)]
debianqueued: add Precedence: bulk header to mails

11 years agostable point release: reminder to update main/i18n/Index for wheezy
Ansgar Burchardt [Tue, 18 Jun 2013 18:32:03 +0000 (20:32 +0200)]
stable point release: reminder to update main/i18n/Index for wheezy

11 years agonew-security-install: run process-policy after we acquired the lock
Ansgar Burchardt [Mon, 17 Jun 2013 18:17:53 +0000 (20:17 +0200)]
new-security-install: run process-policy after we acquired the lock

We don't want cron.unchecked to do anything while we run process-policy.
Especially not running another process-policy process or moving files
out of queue/accepted/ while we are installing files there.

11 years agostable point release: mention -r0 additions, win32-loader
Ansgar Burchardt [Sat, 15 Jun 2013 13:05:50 +0000 (15:05 +0200)]
stable point release: mention -r0 additions, win32-loader

11 years agodinstall: no longer regenerate buildd queues
Ansgar Burchardt [Sat, 15 Jun 2013 13:05:16 +0000 (15:05 +0200)]
dinstall: no longer regenerate buildd queues

11 years agosync-dd: Add missing backslash.
Ansgar Burchardt [Tue, 11 Jun 2013 20:39:23 +0000 (22:39 +0200)]
sync-dd: Add missing backslash.

11 years agosync-dd: exclude queue/bts_version_track
Ansgar Burchardt [Tue, 11 Jun 2013 19:37:16 +0000 (21:37 +0200)]
sync-dd: exclude queue/bts_version_track

The files in bts_version_track are short-lived and often removed while
syncing the public mirror. This causes annoying complaint from rsync.
As there is nothing interesting there we can just not sync it.

11 years agoImprove wording of rejection a bit more.
Ansgar Burchardt [Tue, 11 Jun 2013 06:12:47 +0000 (08:12 +0200)]
Improve wording of rejection a bit more.

Many version checks fail because the uploaded version is identical to the one
already present. Make the message correct for that case as well.

11 years agoImprove rejection message for version checks.
Ansgar Burchardt [Mon, 10 Jun 2013 21:24:27 +0000 (23:24 +0200)]
Improve rejection message for version checks.

11 years agodaklib/archive.py: handle byhand files without underscores
Ansgar Burchardt [Tue, 4 Jun 2013 22:18:50 +0000 (00:18 +0200)]
daklib/archive.py: handle byhand files without underscores

11 years agoMake byhand-debian-faq executable.
Ansgar Burchardt [Tue, 4 Jun 2013 22:09:47 +0000 (00:09 +0200)]
Make byhand-debian-faq executable.

11 years agoAdd byhand script for debian-faq.
Ansgar Burchardt [Tue, 4 Jun 2013 19:52:35 +0000 (21:52 +0200)]
Add byhand script for debian-faq.

11 years agobyhand-win32-loader: first argument is full path to byhand file
Ansgar Burchardt [Mon, 3 Jun 2013 17:57:43 +0000 (19:57 +0200)]
byhand-win32-loader: first argument is full path to byhand file

The first argument is the full path to the byhand file, not just the
filename itself.

11 years agoMerge remote-tracking branch 'origin/master'
Ansgar Burchardt [Fri, 31 May 2013 08:12:47 +0000 (10:12 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agodaklib/archive.py: extension is optional for byhand rules
Ansgar Burchardt [Fri, 31 May 2013 08:07:39 +0000 (10:07 +0200)]
daklib/archive.py: extension is optional for byhand rules

11 years agolintian.tags: remove missing-pre-dependency-on-multiarch-support
Ansgar Burchardt [Thu, 30 May 2013 12:36:56 +0000 (14:36 +0200)]
lintian.tags: remove missing-pre-dependency-on-multiarch-support

The tag was removed from lintian (2.5.13).

11 years agoAllow timestamps in binary packages starting from 1975
Ansgar Burchardt [Thu, 30 May 2013 12:33:30 +0000 (14:33 +0200)]
Allow timestamps in binary packages starting from 1975

Reference: <http://bugs.debian.org/710086#15>

11 years agodaklib/checks.py: Add missing "self.".
Ansgar Burchardt [Thu, 30 May 2013 12:28:57 +0000 (14:28 +0200)]
daklib/checks.py: Add missing "self.".

11 years agocron.daily: nag backports team about pending uploads
Ansgar Burchardt [Thu, 30 May 2013 12:19:08 +0000 (14:19 +0200)]
cron.daily: nag backports team about pending uploads

Requested-by: Alexander Wirt <formorer@debian.org>
11 years agodak.conf-backports: use mailing list as contact address
Ansgar Burchardt [Thu, 30 May 2013 12:12:04 +0000 (14:12 +0200)]
dak.conf-backports: use mailing list as contact address

Use the mailing list as contact address so that the BCC for rejections
and replies go there.

Requested-by: Alexander Wirt <formorer@debian.org>
11 years agodak.conf: only use ftpmaster@ftp-master.d.o
Ansgar Burchardt [Thu, 30 May 2013 12:10:40 +0000 (14:10 +0200)]
dak.conf: only use ftpmaster@ftp-master.d.o

Use the same mail address for MyEmailAddress and MyAdminAddress. They
end in the same mailbox anyway.

11 years agodaklib/checks.py: correct error message for hijacks
Ansgar Burchardt [Wed, 29 May 2013 07:06:01 +0000 (09:06 +0200)]
daklib/checks.py: correct error message for hijacks

Return the binary package name for the error message and not the package
object.

11 years agodaklib/upload.py: handle missing Architecture field like an empty one
Ansgar Burchardt [Tue, 28 May 2013 19:00:58 +0000 (21:00 +0200)]
daklib/upload.py: handle missing Architecture field like an empty one

This should allow dak to reject some more invalid uploads without throwing an
unhandled exception.

11 years agodaklib/upload.py: handle missing Files (Checksums-*) fields like empty ones
Ansgar Burchardt [Mon, 27 May 2013 22:12:33 +0000 (00:12 +0200)]
daklib/upload.py: handle missing Files (Checksums-*) fields like empty ones

The upload will still be rejected later, but process-upload will be
happier.

11 years agoconfig/debian/lintian.tags: add non-standard-toplevel-dir as non-fatal
Ansgar Burchardt [Mon, 27 May 2013 18:22:51 +0000 (20:22 +0200)]
config/debian/lintian.tags: add non-standard-toplevel-dir as non-fatal

11 years agodak/check_archive.py: multi-archive adjustment for check_checksums()
Ansgar Burchardt [Sun, 26 May 2013 01:49:18 +0000 (03:49 +0200)]
dak/check_archive.py: multi-archive adjustment for check_checksums()

Locations went away with the multi-archive changes, but
check_checksums() was still using them.

Reported-by: Matthias Klumpp <mak@debian.org>
11 years agostop using deprecated methods from apt_pkg
Ansgar Burchardt [Sun, 26 May 2013 01:43:23 +0000 (03:43 +0200)]
stop using deprecated methods from apt_pkg

One occurence of apt_pkg.TagFile's Step() method was missed in
52c35949e1e7948a29133ffc9b24897d66af23c1.

11 years agoPass absolute path to queue directory to punew_do()
Ansgar Burchardt [Sat, 25 May 2013 17:26:35 +0000 (19:26 +0200)]
Pass absolute path to queue directory to punew_do()

The new backports-policy queue exists in a different queue directory.

11 years agoProcess backports-policy queue.
Ansgar Burchardt [Sat, 25 May 2013 17:12:23 +0000 (19:12 +0200)]
Process backports-policy queue.

11 years agoMerge remote-tracking branch 'origin/master'
Ansgar Burchardt [Sat, 25 May 2013 11:26:42 +0000 (13:26 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agostop using deprecated methods from apt_pkg
Ansgar Burchardt [Sat, 25 May 2013 11:20:34 +0000 (13:20 +0200)]
stop using deprecated methods from apt_pkg

More deprecated python-apt stuff:

  renamed methods in apt_pkg.TagFile:
    Section -> section
    Step    -> step

  renamed methods in apt_pkg.TagSection:
    Find    -> find

Reported-by: Matthias Klumpp <mak@debian.org>
Reference: https://lists.debian.org/debian-dak/2013/03/msg00028.html

11 years agoMerge remote-tracking branch 'drkranz/fixes' into merge
Joerg Jaspert [Tue, 21 May 2013 16:51:01 +0000 (18:51 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge

* drkranz/fixes:
  Fix glob regex, which generated wrong filenames
  Fix indentation

11 years agoFix glob regex, which generated wrong filenames
Luca Falavigna [Mon, 20 May 2013 22:51:16 +0000 (22:51 +0000)]
Fix glob regex, which generated wrong filenames

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
11 years agoFix indentation
Luca Falavigna [Wed, 15 May 2013 06:33:28 +0000 (06:33 +0000)]
Fix indentation

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
11 years agoSend copy of rejections to the rejector
Ansgar Burchardt [Mon, 20 May 2013 10:39:45 +0000 (12:39 +0200)]
Send copy of rejections to the rejector

Copies of rejections should go to the people responsible for the rejection and
not to the dak's mail address: if the backports team in Debian rejects uploads,
they should get the copy and not the ftp team.

11 years agoStop using deprecated functions from python-apt
Ansgar Burchardt [Mon, 20 May 2013 10:19:57 +0000 (12:19 +0200)]
Stop using deprecated functions from python-apt

A few deprecated functions from python-apt were still used:

  ParseDepends      -> parse_depends
  ParseSrcDepends   -> parse_src_depends
  ParseTagFile      -> TagFile
  ReadConfigFileISC -> read_config_file_isc

11 years agoREADME.first: remove a bit old cruft
Ansgar Burchardt [Sun, 19 May 2013 12:09:10 +0000 (14:09 +0200)]
README.first: remove a bit old cruft