]>
git.decadent.org.uk Git - dak.git/log
Ansgar Burchardt [Sun, 12 Aug 2012 11:20:17 +0000 (13:20 +0200)]
dak/dakdb/update78.py: alter permissions for new tables and set default permissions
Ansgar Burchardt [Sun, 12 Aug 2012 10:41:20 +0000 (12:41 +0200)]
daklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead
Ansgar Burchardt [Sun, 12 Aug 2012 10:34:24 +0000 (12:34 +0200)]
daklib/policy.py: also import Suite from daklib.dbconn
Ansgar Burchardt [Sun, 12 Aug 2012 10:29:35 +0000 (12:29 +0200)]
daklib/checks.py: set control variable
Ansgar Burchardt [Sun, 12 Aug 2012 10:17:35 +0000 (12:17 +0200)]
config/debian/common: also process BYHAND
Ansgar Burchardt [Sun, 12 Aug 2012 10:16:14 +0000 (12:16 +0200)]
dak/process_new.py: auto-accept uploads if we have all overrides
Ansgar Burchardt [Sun, 12 Aug 2012 09:49:19 +0000 (11:49 +0200)]
dak/show_new.py: remove obsolete import
Ansgar Burchardt [Sun, 12 Aug 2012 09:15:25 +0000 (11:15 +0200)]
config/debian/*: update for multiarchive changes
Ansgar Burchardt [Sun, 12 Aug 2012 09:06:40 +0000 (11:06 +0200)]
dak/contents.py, daklib/contents.py: add archive option
Ansgar Burchardt [Sun, 12 Aug 2012 08:57:24 +0000 (10:57 +0200)]
dak/export.py, daklib/policy.py: ignore existing files
The same upstream tarball can be used by multiple uploads so we have to
ignore already existing files.
Ansgar Burchardt [Sun, 12 Aug 2012 08:09:42 +0000 (10:09 +0200)]
Revert "config/*/common: do not touch incoming"
This reverts commit
58fc1503ab1484b42e66a93155441634eff6e604 .
Ansgar Burchardt [Sun, 12 Aug 2012 07:50:38 +0000 (09:50 +0200)]
add export-suite subcommand to export a suite to a flat directory
Ansgar Burchardt [Sun, 12 Aug 2012 06:45:30 +0000 (08:45 +0200)]
dak/clean_suites.py: allow limiting file removal to specific archives
This allows us to remove all obsolete files from the NEW queue even when
the maximum number of removals would be reached normally.
Ansgar Burchardt [Sat, 11 Aug 2012 17:51:35 +0000 (19:51 +0200)]
dak/process_upload.py: ignore non-existing files when rejecting
Ansgar Burchardt [Sat, 11 Aug 2012 17:44:56 +0000 (19:44 +0200)]
dak/process_upload.py: add missing import
Ansgar Burchardt [Sat, 11 Aug 2012 17:42:32 +0000 (19:42 +0200)]
daklib/archive.py: try to get all source files from pool, even when listed in changes
Ansgar Burchardt [Sat, 11 Aug 2012 17:40:11 +0000 (19:40 +0200)]
daklib/archive.py: also ignore files from .changes that do not exist
Ansgar Burchardt [Sat, 11 Aug 2012 17:27:53 +0000 (19:27 +0200)]
daklib/archive.py: ignore missing source files when copying to temporary directory
Ansgar Burchardt [Sat, 11 Aug 2012 16:59:43 +0000 (18:59 +0200)]
dak/dakdb/update75.py: fix adding architectures for new and byhand
Ansgar Burchardt [Sat, 11 Aug 2012 15:37:24 +0000 (17:37 +0200)]
dak/clean_suites.py: implement per-archive stay of execution
Ansgar Burchardt [Sat, 11 Aug 2012 15:47:57 +0000 (17:47 +0200)]
dak/dakdb/update77.py: move stayofexecution to the database
Ansgar Burchardt [Sat, 11 Aug 2012 09:38:20 +0000 (11:38 +0200)]
dak/control_suite.py: prefetch files table when looking up a binary or source package
Ansgar Burchardt [Sat, 11 Aug 2012 11:41:52 +0000 (13:41 +0200)]
dak/generate_releases.py: add archive option
Ansgar Burchardt [Sat, 11 Aug 2012 11:41:37 +0000 (13:41 +0200)]
dak/generate_packages_sources2.py: add archive option
Ansgar Burchardt [Mon, 30 Jul 2012 13:43:21 +0000 (15:43 +0200)]
indicate who rejected a package
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Thu, 12 Jul 2012 17:32:20 +0000 (11:32 -0600)]
config/*/dinstall.functions: include Built-Using sources
Include source packages only referenced by Built-Using in per-suite
source indices.
Ansgar Burchardt [Thu, 12 Jul 2012 17:31:44 +0000 (11:31 -0600)]
config/*/dinstall.functions: use files_archive_map instead of location
Ansgar Burchardt [Thu, 12 Jul 2012 16:55:28 +0000 (10:55 -0600)]
config/*/common: do not touch incoming
The incoming build queue is now managed by manage-build-queues.
Ansgar Burchardt [Tue, 10 Jul 2012 18:28:48 +0000 (12:28 -0600)]
daklib/utils.py (check_reverse_depends): update for multi-archive changes
Ansgar Burchardt [Tue, 31 Jul 2012 17:13:17 +0000 (19:13 +0200)]
remove now unused code
REMOVE :: changesutils.py: no longer in use
Ansgar Burchardt [Sun, 10 Jun 2012 14:22:07 +0000 (16:22 +0200)]
dak/dominate.py: skip suites that are backends for policy queues
Ansgar Burchardt [Thu, 31 May 2012 08:24:57 +0000 (10:24 +0200)]
dak/admin.py: add archive subcommand
Ansgar Burchardt [Thu, 14 Jun 2012 17:35:17 +0000 (19:35 +0200)]
dak/manage_build_queues.py: update for multi-archive changes
Ansgar Burchardt [Mon, 11 Jun 2012 17:41:33 +0000 (19:41 +0200)]
dak/rm.py: update for multi-archive changes
Ansgar Burchardt [Sun, 8 Jul 2012 00:12:19 +0000 (18:12 -0600)]
daklib/contents.py: update for multi-archive changes
Ansgar Burchardt [Mon, 4 Jun 2012 16:16:42 +0000 (18:16 +0200)]
dak/ls.py: update for multi-archive changes
Ansgar Burchardt [Mon, 6 Aug 2012 15:52:13 +0000 (17:52 +0200)]
dak/control_suite.py: update for multi-archive changes
Ansgar Burchardt [Sat, 7 Jul 2012 18:59:01 +0000 (12:59 -0600)]
dak/check_overrides.py: update for multi-archive changes
Ansgar Burchardt [Sat, 7 Jul 2012 17:59:44 +0000 (11:59 -0600)]
daklib/checks.py, daklib/utils.py: check for source files
Reintroduce the check that all source files for the used format are
actually included.
Ansgar Burchardt [Sat, 7 Jul 2012 17:39:06 +0000 (11:39 -0600)]
dak/queue_report.py: update for multi-archive changes
Ansgar Burchardt [Sat, 7 Jul 2012 17:38:57 +0000 (11:38 -0600)]
dak/show_new.py: update for multi-archive changes
Ansgar Burchardt [Fri, 6 Jul 2012 00:11:28 +0000 (18:11 -0600)]
dak/check_archive.py: update for multi-archive changes
Ansgar Burchardt [Fri, 8 Jun 2012 15:21:15 +0000 (17:21 +0200)]
dak/process_new.py: update for multi-archive changes
Ansgar Burchardt [Fri, 8 Jun 2012 09:28:05 +0000 (11:28 +0200)]
dak/process_policy.py: update for multi-archive changes
Ansgar Burchardt [Thu, 31 May 2012 19:22:33 +0000 (21:22 +0200)]
dak/process_upload.py: update for multi-archive changes
Ansgar Burchardt [Sun, 10 Jun 2012 14:22:27 +0000 (16:22 +0200)]
dak/clean_suites.py: update for multi-archive changes
Ansgar Burchardt [Mon, 6 Aug 2012 15:03:02 +0000 (17:03 +0200)]
daklib/policy.py: handle mapped components
Ansgar Burchardt [Thu, 9 Aug 2012 13:24:47 +0000 (15:24 +0200)]
move method to evaluate component mappings to dbconn.py
Ansgar Burchardt [Tue, 31 Jul 2012 17:11:58 +0000 (19:11 +0200)]
daklib/utils.py (poolify): no longer include component
The component is no longer part of the filename we store. This is needed
to allow having the same file in multiple components at the same time.
Ansgar Burchardt [Tue, 31 Jul 2012 17:11:03 +0000 (19:11 +0200)]
dak/generate_packages_sources2.py: update for multi-archive
Ansgar Burchardt [Tue, 31 Jul 2012 17:09:17 +0000 (19:09 +0200)]
dak/admin.py: new suites need an archive
Ansgar Burchardt [Thu, 5 Jul 2012 19:01:00 +0000 (13:01 -0600)]
dak/dakdb/update76.py: add closes to changes table
Ansgar Burchardt [Tue, 29 May 2012 17:31:40 +0000 (19:31 +0200)]
daklib/dbconn.py: remove two unused backreferences
The backreferences were causing problems when creating new objects via
the ORM.
Ansgar Burchardt [Mon, 6 Aug 2012 15:51:57 +0000 (17:51 +0200)]
daklib/dbconn.py (PoolFile): add component property
Ansgar Burchardt [Fri, 10 Aug 2012 14:01:51 +0000 (16:01 +0200)]
config/*/dak.conf: set Dir::Base
Ansgar Burchardt [Tue, 31 Jul 2012 17:08:53 +0000 (19:08 +0200)]
database changes for multi-archive support
Ansgar Burchardt [Tue, 31 Jul 2012 17:33:06 +0000 (19:33 +0200)]
Use archive path instead of Dir::Root
Ansgar Burchardt [Sat, 7 Jul 2012 18:50:24 +0000 (12:50 -0600)]
dak/init_dirs.py: only create directories for active keyrings
This avoids problems if inactive keyrings in locations not writable by
the archive user are referenced.
Ansgar Burchardt [Wed, 6 Jun 2012 13:43:54 +0000 (15:43 +0200)]
dak/init_dirs.py: do not use Dir::Pool
Ansgar Burchardt [Wed, 1 Aug 2012 15:35:24 +0000 (17:35 +0200)]
change documentation style
Ansgar Burchardt [Mon, 6 Aug 2012 08:43:33 +0000 (10:43 +0200)]
Python modules should not be executable
Ansgar Burchardt [Mon, 6 Aug 2012 09:59:34 +0000 (11:59 +0200)]
daklib/archive.py, daklib/checks.py: implement transition blocks
Ansgar Burchardt [Tue, 31 Jul 2012 12:11:53 +0000 (14:11 +0200)]
daklib/archive.py: use method to decide which policy queue to use
This method can later decide which policy queue to use for the security
archive.
Ansgar Burchardt [Fri, 3 Aug 2012 14:11:47 +0000 (16:11 +0200)]
daklib/archive.py, daklib/checks.py: implement upload blocks
Ansgar Burchardt [Mon, 6 Aug 2012 13:55:23 +0000 (15:55 +0200)]
daklib/dbconn.py: use apt_pkg.TagSection instead of implementing our own parser
Ansgar Burchardt [Tue, 7 Aug 2012 14:06:07 +0000 (16:06 +0200)]
daklib/archive.py: check for source when copying binaries
Ansgar Burchardt [Sun, 1 Jul 2012 12:13:42 +0000 (14:13 +0200)]
Add export subcommand to export upload from policy queues.
Ansgar Burchardt [Sat, 7 Jul 2012 17:38:42 +0000 (11:38 -0600)]
daklib/dbconn.py: add basename property to PoolFile
Ansgar Burchardt [Fri, 15 Jun 2012 13:40:36 +0000 (15:40 +0200)]
daklib/dbconn.py: add path property to Suite
Ansgar Burchardt [Fri, 20 Jul 2012 11:10:54 +0000 (13:10 +0200)]
daklib/archive.py: guess source component even with component mappings
Ansgar Burchardt [Sat, 14 Jul 2012 16:32:57 +0000 (10:32 -0600)]
daklib/archive.py: implement component mappings
Ansgar Burchardt [Sat, 14 Jul 2012 00:09:44 +0000 (18:09 -0600)]
Add BinaryTimestampCheck.
Ansgar Burchardt [Sat, 14 Jul 2012 20:59:17 +0000 (14:59 -0600)]
daklib/config.py: add find_i method
Ansgar Burchardt [Mon, 9 Jul 2012 16:43:16 +0000 (10:43 -0600)]
daklib/checks.py: add missing join
Ansgar Burchardt [Sun, 8 Jul 2012 21:50:11 +0000 (15:50 -0600)]
daklib/checks.py: use apt_pkg.version_compare correctly
version_compare returns values less than, equal to or greater than zero.
This value is not always -1, 0 or 2(!) as the documentation claims.
Reference: http://bugs.debian.org/680891
Ansgar Burchardt [Sun, 8 Jul 2012 21:40:34 +0000 (15:40 -0600)]
daklib/checks.py: make version check slightly more verbose
Ansgar Burchardt [Tue, 10 Jul 2012 17:32:59 +0000 (11:32 -0600)]
daklib/archive.py: handle unexpected names for byhand files
Ansgar Burchardt [Mon, 9 Jul 2012 16:19:21 +0000 (10:19 -0600)]
daklib/archive.py: session → self.session
Ansgar Burchardt [Mon, 9 Jul 2012 16:00:52 +0000 (10:00 -0600)]
daklib/checks.py: allow DMs to upload to all suites
DMs may upload to all suites, but only the highest version currently in
unstable, experimental or *-backports will be considered for DM-U-A.
Ansgar Burchardt [Sun, 8 Jul 2012 19:23:25 +0000 (13:23 -0600)]
daklib/archive.py (install_binary): fix use of source_suites
Ansgar Burchardt [Sun, 8 Jul 2012 18:29:54 +0000 (12:29 -0600)]
daklib/archive.py: use SQLAlchemy 0.6 syntax for join
Ansgar Burchardt [Sun, 8 Jul 2012 20:55:03 +0000 (14:55 -0600)]
daklib/regexes.py: re_file_binary: arch names can have dashes
Ansgar Burchardt [Sun, 8 Jul 2012 19:53:58 +0000 (13:53 -0600)]
daklib/regexes.py: re_field_source: fix matching version numbers
Ansgar Burchardt [Sun, 8 Jul 2012 00:11:56 +0000 (18:11 -0600)]
daklib/contents.py: close db session after use
Ansgar Burchardt [Thu, 12 Jul 2012 15:59:43 +0000 (09:59 -0600)]
error out if sql query fails
Using "echo ... | psql" does not generate an error when something goes
wrong. Using "psql -c ..." instead does:
$ echo "SELECT * FROM does_not_exist" | psql projectb 2>/dev/null; echo $?
0
$ q="SELECT * FROM does_not_exist"; psql -c "$q" projectb 2>/dev/null; echo $?
1
This patch switches dak to use the second form to avoid silenty ignoring
errors.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Thu, 12 Jul 2012 15:48:28 +0000 (09:48 -0600)]
use "set -o pipefail" for shell scripts
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Joerg Jaspert [Mon, 9 Jul 2012 05:09:00 +0000 (07:09 +0200)]
Merge remote-tracking branch 'drkranz/cruft' into merge
* drkranz/cruft:
cruft_report.py: fix alignment of help description
Pass -R option to cruft-report cron jobs
Implement rdeps checking in cruft-report
Use check_reverse_depends function from utils
Implement check_reverse_depends function
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 8 Jul 2012 07:19:39 +0000 (07:19 +0000)]
cruft_report.py: fix alignment of help description
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 8 Jul 2012 00:14:53 +0000 (00:14 +0000)]
Pass -R option to cruft-report cron jobs
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 8 Jul 2012 00:07:42 +0000 (00:07 +0000)]
Implement rdeps checking in cruft-report
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 8 Jul 2012 00:07:11 +0000 (00:07 +0000)]
Use check_reverse_depends function from utils
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 8 Jul 2012 00:06:00 +0000 (00:06 +0000)]
Implement check_reverse_depends function
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sat, 7 Jul 2012 19:15:30 +0000 (21:15 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
* ansgar/pu/multiarchive-1:
Drop column origin_server from archive table.
Reference archive table from suite and add path to archive root
typo: "pakcages" → "packages"
Also import re_bin_only_nmu from daklib.regexes
don't require all binaries to be included
use discard instead of remove
Add module to process policy queue uploads.
Add module with pre-acceptance tests.
Add module to handle archive manipulation.
Add module to handle uploads not yet installed to the archive.
process-unchecked.new: drop __SUMMARY__ for now
remove two template variables
utils.py: add call_editor function
utils (send_message): add option to write mail to files
utils.py (mail_addresses_for_upload): only try to use address from key if there is one
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 7 Jul 2012 18:55:48 +0000 (20:55 +0200)]
Merge remote-tracking branch 'drkranz/rrd' into merge
* drkranz/rrd:
rrd-release-freeze-dates: add wheezy freeze date
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sun, 1 Jul 2012 15:19:03 +0000 (17:19 +0200)]
Drop column origin_server from archive table.
Ansgar Burchardt [Mon, 14 May 2012 11:24:07 +0000 (13:24 +0200)]
Reference archive table from suite and add path to archive root
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Sat, 7 Jul 2012 14:28:51 +0000 (08:28 -0600)]
typo: "pakcages" → "packages"
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Fri, 6 Jul 2012 21:16:56 +0000 (15:16 -0600)]
Also import re_bin_only_nmu from daklib.regexes
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Fri, 6 Jul 2012 21:14:48 +0000 (15:14 -0600)]
don't require all binaries to be included
If a package has architecture-specific packages or a buildd uploads only
architecture-dependant packages and there are also arch-indep packages,
the upload does not include all binaries from the Binary field.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Fri, 6 Jul 2012 21:13:41 +0000 (15:13 -0600)]
use discard instead of remove
Uploads that do not include source would trigger an exception when
remove is used. discard does not raise an exception when the element
does not exist.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>