]>
git.decadent.org.uk Git - dak.git/log
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>
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>
Ansgar Burchardt [Tue, 10 Sep 2013 21:23:12 +0000 (23:23 +0200)]
Merge remote-tracking branch 'origin/master'
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ansgar Burchardt [Sun, 8 Sep 2013 10:12:24 +0000 (12:12 +0200)]
ddtp-i18n-check.sh: testing is jessie
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.
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>
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>
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>
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
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
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>
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>
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>
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
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
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.
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.
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.
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.
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.
Ansgar Burchardt [Tue, 30 Jul 2013 21:13:30 +0000 (23:13 +0200)]
config/debian/dinstall.functions: add timestamps for Packages/Sources and Contents
Ansgar Burchardt [Sun, 28 Jul 2013 15:48:56 +0000 (17:48 +0200)]
config/debian-security/cron.buildd: use new buildd queue location
Ansgar Burchardt [Sun, 28 Jul 2013 13:38:57 +0000 (15:38 +0200)]
dak/rm.py: Remove a now useless query.
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.
Ansgar Burchardt [Sun, 28 Jul 2013 12:07:25 +0000 (14:07 +0200)]
Stop calling export-suite for old buildd queues.
Ansgar Burchardt [Sun, 28 Jul 2013 11:42:24 +0000 (13:42 +0200)]
dak/dakdb/update98.py: Use DROP AGGREGATE for aggregate 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.
Ansgar Burchardt [Sun, 28 Jul 2013 11:26:44 +0000 (13:26 +0200)]
sync-dd: exclude additional temporary files from sync
Ansgar Burchardt [Sun, 28 Jul 2013 11:23:04 +0000 (13:23 +0200)]
Disable old buildd queues.
Reference: <http://bugs.debian.org/706929>
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.
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.
Ansgar Burchardt [Sun, 21 Jul 2013 21:49:56 +0000 (23:49 +0200)]
daklib/dbconn.py: allow use with SQLAlchemy 0.8
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.
Ansgar Burchardt [Sun, 21 Jul 2013 21:02:56 +0000 (23:02 +0200)]
Remove obsolete SQL functions.
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.
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.
Ansgar Burchardt [Wed, 10 Jul 2013 17:30:18 +0000 (19:30 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'
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>
Ansgar Burchardt [Sat, 6 Jul 2013 23:10:04 +0000 (01:10 +0200)]
config/homedir/ssh/*: ries-sync3 is no longer used
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.
Ansgar Burchardt [Sat, 6 Jul 2013 22:36:32 +0000 (00:36 +0200)]
Switch to a different way to update backports.debian.org mirrors.
Ansgar Burchardt [Sat, 6 Jul 2013 21:52:05 +0000 (23:52 +0200)]
dak.conf-etc: Update hostname for developer-accessible archive.
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/.
Ansgar Burchardt [Sat, 6 Jul 2013 21:18:03 +0000 (23:18 +0200)]
sync-dd: No longer sync build-queues/ directory.
Ansgar Burchardt [Thu, 4 Jul 2013 18:01:15 +0000 (20:01 +0200)]
No longer generate i18n/Index.
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.
Ansgar Burchardt [Wed, 3 Jul 2013 15:01:46 +0000 (17:01 +0200)]
debianqueued: add Precedence: bulk header to mails
Ansgar Burchardt [Tue, 18 Jun 2013 18:32:03 +0000 (20:32 +0200)]
stable point release: reminder to update main/i18n/Index for wheezy
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.
Ansgar Burchardt [Sat, 15 Jun 2013 13:05:50 +0000 (15:05 +0200)]
stable point release: mention -r0 additions, win32-loader
Ansgar Burchardt [Sat, 15 Jun 2013 13:05:16 +0000 (15:05 +0200)]
dinstall: no longer regenerate buildd queues
Ansgar Burchardt [Tue, 11 Jun 2013 20:39:23 +0000 (22:39 +0200)]
sync-dd: Add missing backslash.
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.
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.
Ansgar Burchardt [Mon, 10 Jun 2013 21:24:27 +0000 (23:24 +0200)]
Improve rejection message for version checks.
Ansgar Burchardt [Tue, 4 Jun 2013 22:18:50 +0000 (00:18 +0200)]
daklib/archive.py: handle byhand files without underscores
Ansgar Burchardt [Tue, 4 Jun 2013 22:09:47 +0000 (00:09 +0200)]
Make byhand-debian-faq executable.
Ansgar Burchardt [Tue, 4 Jun 2013 19:52:35 +0000 (21:52 +0200)]
Add byhand script for debian-faq.
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.
Ansgar Burchardt [Fri, 31 May 2013 08:12:47 +0000 (10:12 +0200)]
Merge remote-tracking branch 'origin/master'
Ansgar Burchardt [Fri, 31 May 2013 08:07:39 +0000 (10:07 +0200)]
daklib/archive.py: extension is optional for byhand rules
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).
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>
Ansgar Burchardt [Thu, 30 May 2013 12:28:57 +0000 (14:28 +0200)]
daklib/checks.py: Add missing "self.".
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>
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>
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.
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.
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.
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.
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
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>
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 .
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.
Ansgar Burchardt [Sat, 25 May 2013 17:12:23 +0000 (19:12 +0200)]
Process backports-policy queue.
Ansgar Burchardt [Sat, 25 May 2013 11:26:42 +0000 (13:26 +0200)]
Merge remote-tracking branch 'origin/master'
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
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
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>
Luca Falavigna [Wed, 15 May 2013 06:33:28 +0000 (06:33 +0000)]
Fix indentation
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
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.
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
Ansgar Burchardt [Sun, 19 May 2013 12:09:10 +0000 (14:09 +0200)]
README.first: remove a bit old cruft
Ansgar Burchardt [Fri, 17 May 2013 20:35:55 +0000 (22:35 +0200)]
build queues: keep packages pending in policy queues
manage-build-queues will now keep packages that are still pending in a
policy queue. This is important for the security archive where we
already want packages to be built, but not accept packages into the
public archive yet.
Packages will now also be removed from build queues right away if they
are no longer present in any suite or policy queue associated with the
build queue. Before the packages would stay in the build queue until
they expired and still be visible by buildds.
Ansgar Burchardt [Wed, 15 May 2013 17:03:24 +0000 (19:03 +0200)]
queued: add config for embargoed and disembargo queues
Joerg Jaspert [Tue, 14 May 2013 18:13:05 +0000 (20:13 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge
* drkranz/fixes:
Close master bugs only, not merged ones (Closes:# 707808)
Whoops, removing changelogs lock on success