]>
git.decadent.org.uk Git - dak.git/log
Luca Falavigna [Mon, 29 Apr 2013 12:29:38 +0000 (12:29 +0000)]
Add changelog column to archive table
Luca Falavigna [Mon, 29 Apr 2013 08:55:03 +0000 (08:55 +0000)]
xzip changelog listing file
Joerg Jaspert [Mon, 29 Apr 2013 05:46:41 +0000 (07:46 +0200)]
Off for now until our tools can actually handle multiple archives and different configs for them. which they cant (not dak.conf, except for unix group based)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 28 Apr 2013 21:16:38 +0000 (23:16 +0200)]
turn make-changelog back on
also let it run for backports, though we don't have that on metadata
yet.
also, we need a nicer way to deal with the env vars.
Joerg Jaspert [Sun, 28 Apr 2013 21:01:52 +0000 (23:01 +0200)]
Merge remote-tracking branch 'drkranz/p-n' into merge
* drkranz/p-n:
Do not hardcode suite names
Simplify code to avoid executing the same query twice
Use a better name for function name and output string
source should not be a list
Luca Falavigna [Sun, 28 Apr 2013 01:18:51 +0000 (01:18 +0000)]
Do not hardcode suite names
Luca Falavigna [Sat, 27 Apr 2013 11:36:05 +0000 (11:36 +0000)]
Simplify code to avoid executing the same query twice
Luca Falavigna [Sat, 27 Apr 2013 11:19:24 +0000 (11:19 +0000)]
Use a better name for function name and output string
Luca Falavigna [Sat, 27 Apr 2013 11:16:51 +0000 (11:16 +0000)]
source should not be a list
Joerg Jaspert [Sun, 28 Apr 2013 10:33:15 +0000 (12:33 +0200)]
Merge remote-tracking branch 'drkranz/changelogs' into merge
* drkranz/changelogs:
Define changelog export directory for backports
Automatically remove empty directories
Generate a listing of the exported files
Fix number of removed files when rmtree'ing directories
Luca Falavigna [Sun, 28 Apr 2013 10:16:53 +0000 (10:16 +0000)]
Define changelog export directory for backports
Luca Falavigna [Sun, 28 Apr 2013 10:06:37 +0000 (10:06 +0000)]
Automatically remove empty directories
Luca Falavigna [Sun, 28 Apr 2013 10:01:30 +0000 (10:01 +0000)]
Generate a listing of the exported files
Luca Falavigna [Sun, 28 Apr 2013 01:43:37 +0000 (01:43 +0000)]
Fix number of removed files when rmtree'ing directories
Joerg Jaspert [Fri, 26 Apr 2013 18:02:13 +0000 (20:02 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge
* drkranz/fixes:
make-changelog: use a better separator for extracted files
Luca Falavigna [Fri, 26 Apr 2013 14:34:32 +0000 (14:34 +0000)]
make-changelog: use a better separator for extracted files
Joerg Jaspert [Fri, 26 Apr 2013 12:40:34 +0000 (14:40 +0200)]
Merge branch 'merge'
* merge:
make-changelog: implement progress option
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 26 Apr 2013 12:40:20 +0000 (14:40 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge
* drkranz/fixes:
make-changelog: implement progress option
Luca Falavigna [Fri, 26 Apr 2013 12:38:09 +0000 (12:38 +0000)]
make-changelog: implement progress option
Joerg Jaspert [Fri, 26 Apr 2013 12:06:45 +0000 (14:06 +0200)]
turn off until the long manual run is done
Luca Falavigna [Fri, 26 Apr 2013 10:21:47 +0000 (10:21 +0000)]
make-changelog: fix wrong field name in the SQL query
Luca Falavigna [Fri, 26 Apr 2013 10:18:42 +0000 (10:18 +0000)]
make-changelog. document --archive option
Luca Falavigna [Thu, 25 Apr 2013 08:00:33 +0000 (08:00 +0000)]
Improve reporting of processed packages in NEW
Luca Falavigna [Mon, 22 Apr 2013 20:52:52 +0000 (20:52 +0000)]
Use distinct() to avoid listing duplicated claimed overrides
Joerg Jaspert [Sun, 21 Apr 2013 14:57:36 +0000 (16:57 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge
* drkranz/fixes:
process-new: display existing overrides
Luca Falavigna [Sun, 21 Apr 2013 13:28:00 +0000 (13:28 +0000)]
process-new: display existing overrides
Display overrides belonging to other sources to avoid accepting
packages which "steal" binary packages (Closes: #697729).
Joerg Jaspert [Sun, 21 Apr 2013 08:34:29 +0000 (10:34 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge
* drkranz/fixes:
Add md5sum-mismatch tag to nonfatal autoreject list (Closes: #688300)
Finds newer or equal versions in lowersuite_name
queue-report: sort changes correctly (Closes: #704231)
dak: ls: Calculate optimal column sizes
Luca Falavigna [Sun, 21 Apr 2013 08:13:18 +0000 (08:13 +0000)]
Add md5sum-mismatch tag to nonfatal autoreject list (Closes: #688300)
Luca Falavigna [Sun, 21 Apr 2013 01:02:50 +0000 (01:02 +0000)]
Finds newer or equal versions in lowersuite_name
This is particularly useful when the same package has migrated
to a different suite (e.g. t-p-u -> testing), so it is displayed
in cruft-report to be manually removed.
Luca Falavigna [Sun, 21 Apr 2013 01:01:22 +0000 (01:01 +0000)]
queue-report: sort changes correctly (Closes: #704231)
Julian Andres Klode [Sun, 21 Apr 2013 00:59:25 +0000 (00:59 +0000)]
dak: ls: Calculate optimal column sizes
If a package name is longer than 10 characters, or a version
longer than 13 characters, columns had different widths in
different rows. By calculating the maximum column size and
using that instead of hard-coded values, we have a nice
table again (Closes: #705289).
Ansgar Burchardt [Thu, 11 Apr 2013 16:21:35 +0000 (18:21 +0200)]
Add world.site_summary view.
The view is used by the backports team to generate a listing of packages in the
backports suites.
Ansgar Burchardt [Thu, 11 Apr 2013 09:52:01 +0000 (11:52 +0200)]
dak.conf-backports: Actually set Dinstall::MyAdminAddress
b9e1322334152efd870a0ad6ddf0df819d05b4a3 had a "Dinstall::" prefix even though
the variable was set inside a "Dinstall" block.
Ansgar Burchardt [Wed, 10 Apr 2013 21:04:00 +0000 (23:04 +0200)]
Remove dak/metadata.py and daklib/metadata.py.
dak imports package metadata at installation time for some time already.
There is no longer need for an extra subcommand to do so.
Ansgar Burchardt [Tue, 9 Apr 2013 09:16:52 +0000 (11:16 +0200)]
dak.conf-backports: Change Dinstall::MyAdminAddress
The backports team address should be used as From for rejections from the
backports-new queue. As this is written into the REJECT.* file by process-new,
we can just change it here.
Ansgar Burchardt [Mon, 8 Apr 2013 21:49:47 +0000 (23:49 +0200)]
Require SHA-1 and SHA-256 checksums in "files" table
We are already assuming that these are never NULL in several places, for
example generate-packages-sources2.
Matthias Klumpp [Thu, 28 Mar 2013 17:48:21 +0000 (18:48 +0100)]
Add missing sections to database init script
Update the list of sections to the latest version of the Debian policy,
Ansgar Burchardt [Mon, 8 Apr 2013 21:20:44 +0000 (23:20 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'
Joerg Jaspert [Mon, 8 Apr 2013 12:15:27 +0000 (14:15 +0200)]
s/team@backports.d.o/backports-team@d.o/
Luca Falavigna [Sun, 7 Apr 2013 22:05:35 +0000 (22:05 +0000)]
Colorize Pre-Depends packages too
Luca Falavigna [Sun, 7 Apr 2013 20:08:06 +0000 (20:08 +0000)]
processnew.lock is no longer required
Joerg Jaspert [Sun, 7 Apr 2013 19:14:00 +0000 (21:14 +0200)]
include backports archive in (pool) sync
Ansgar Burchardt [Tue, 2 Apr 2013 13:57:36 +0000 (15:57 +0200)]
dak.conf-backports: change location of removal logs
Ansgar Burchardt [Mon, 1 Apr 2013 12:16:06 +0000 (14:16 +0200)]
Merge remote-tracking branch 'origin/master'
Ansgar Burchardt [Mon, 1 Apr 2013 12:10:03 +0000 (14:10 +0200)]
Generate backports-new.html
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>
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>
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.
Ansgar Burchardt [Sun, 17 Mar 2013 08:04:36 +0000 (09:04 +0100)]
backports queued: pid and log files are in run subdirectory.
Ansgar Burchardt [Sun, 17 Mar 2013 07:57:26 +0000 (08:57 +0100)]
backports queued: forward uploads to ftp-master
Joerg Jaspert [Sat, 16 Mar 2013 22:37:25 +0000 (23:37 +0100)]
misleading log msg
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
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>
Ansgar Burchardt [Sat, 16 Mar 2013 19:46:34 +0000 (20:46 +0100)]
config/debian/apache.conf-incoming: add buildd-squeeze-backports alias
Ansgar Burchardt [Sat, 16 Mar 2013 19:32:55 +0000 (20:32 +0100)]
config/debian/dak.conf: no longer reject uploads to squeeze-backports
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>
Ansgar Burchardt [Sat, 16 Mar 2013 17:01:23 +0000 (18:01 +0100)]
dak/import.py: commit after each imported package
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.
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.
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']".
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).
Ansgar Burchardt [Wed, 27 Feb 2013 12:25:52 +0000 (13:25 +0100)]
Stop processing uploads to forbidden suites earlier.
Ansgar Burchardt [Sun, 24 Feb 2013 20:04:39 +0000 (21:04 +0100)]
config/debian/dinstall.functions: create ${archiveroot}/indices
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.
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
Ansgar Burchardt [Sun, 24 Feb 2013 13:23:27 +0000 (14:23 +0100)]
dak/process_new.py: document -q/--queue option
Ansgar Burchardt [Sun, 24 Feb 2013 13:22:13 +0000 (14:22 +0100)]
dak/admin.py: suite add has a archive=ARCHIVE option.
Ansgar Burchardt [Sun, 24 Feb 2013 13:18:26 +0000 (14:18 +0100)]
config/debian/cron.hourly: import backports acl
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.
Ansgar Burchardt [Sun, 24 Feb 2013 10:20:33 +0000 (11:20 +0100)]
Use backports-new by default in process-new and queue-report.
Ansgar Burchardt [Sun, 24 Feb 2013 09:54:29 +0000 (10:54 +0100)]
Restore __WARNINGS__ in NEW mail template.
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>
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.
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...
Ansgar Burchardt [Sun, 3 Feb 2013 12:42:51 +0000 (13:42 +0100)]
debianqueued: open ftp connection when trying to upload .dak-commands
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.
Ansgar Burchardt [Sun, 27 Jan 2013 12:48:23 +0000 (13:48 +0100)]
dak/acl.py: allow comments and empty lines
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
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.
Ansgar Burchardt [Tue, 22 Jan 2013 23:50:51 +0000 (00:50 +0100)]
debianqueued: add armhf and s390x keyrings for security-master.
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
Ansgar Burchardt [Tue, 22 Jan 2013 17:54:32 +0000 (18:54 +0100)]
daklib/archive.py: Use correct variable for the rejected suite.
Ansgar Burchardt [Sun, 20 Jan 2013 09:59:40 +0000 (10:59 +0100)]
Handle *.dak-commands files owned by a different user.
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
Ansgar Burchardt [Sat, 19 Jan 2013 15:13:59 +0000 (16:13 +0100)]
config/debian/cron.monthly: debianqueued now runs as dak-unpriv
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.
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.
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.
Ansgar Burchardt [Sat, 12 Jan 2013 15:30:49 +0000 (16:30 +0100)]
debianqueued: remove current directory from @INC
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
Ansgar Burchardt [Sat, 12 Jan 2013 13:49:00 +0000 (14:49 +0100)]
config/debian/apache.conf-incoming: allow access to robots.txt
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.
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.
Ansgar Burchardt [Mon, 7 Jan 2013 10:24:48 +0000 (11:24 +0100)]
dak/process_new.py: show target suite and changed-by
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.
Ansgar Burchardt [Sun, 6 Jan 2013 13:07:42 +0000 (14:07 +0100)]
config/debian/dak.conf: There is no dak group.
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.
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.
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.
Ansgar Burchardt [Fri, 4 Jan 2013 15:08:16 +0000 (16:08 +0100)]
Export buildd queues on security archive.