]> err.no Git - dak/log
dak
12 years agodak/manage_build_queues.py: update for multi-archive changes
Ansgar Burchardt [Thu, 14 Jun 2012 17:35:17 +0000 (19:35 +0200)]
dak/manage_build_queues.py: update for multi-archive changes

12 years agodak/rm.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

12 years agodaklib/contents.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

12 years agodak/ls.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

12 years agodak/control_suite.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

12 years agodak/check_overrides.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

12 years agodaklib/checks.py, daklib/utils.py: check for source files
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.

12 years agodak/queue_report.py: update for multi-archive changes
Ansgar Burchardt [Sat, 7 Jul 2012 17:39:06 +0000 (11:39 -0600)]
dak/queue_report.py: update for multi-archive changes

12 years agodak/show_new.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

12 years agodak/check_archive.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

12 years agodak/process_new.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

12 years agodak/process_policy.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

12 years agodak/process_upload.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

12 years agodak/clean_suites.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

12 years agodaklib/policy.py: handle mapped components
Ansgar Burchardt [Mon, 6 Aug 2012 15:03:02 +0000 (17:03 +0200)]
daklib/policy.py: handle mapped components

12 years agomove method to evaluate component mappings to dbconn.py
Ansgar Burchardt [Thu, 9 Aug 2012 13:24:47 +0000 (15:24 +0200)]
move method to evaluate component mappings to dbconn.py

12 years agodaklib/utils.py (poolify): no longer include component
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.

12 years agodak/generate_packages_sources2.py: update for multi-archive
Ansgar Burchardt [Tue, 31 Jul 2012 17:11:03 +0000 (19:11 +0200)]
dak/generate_packages_sources2.py: update for multi-archive

12 years agodak/admin.py: new suites need an archive
Ansgar Burchardt [Tue, 31 Jul 2012 17:09:17 +0000 (19:09 +0200)]
dak/admin.py: new suites need an archive

12 years agodak/dakdb/update76.py: add closes to changes table
Ansgar Burchardt [Thu, 5 Jul 2012 19:01:00 +0000 (13:01 -0600)]
dak/dakdb/update76.py: add closes to changes table

12 years agodaklib/dbconn.py: remove two unused backreferences
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.

12 years agodaklib/dbconn.py (PoolFile): add component property
Ansgar Burchardt [Mon, 6 Aug 2012 15:51:57 +0000 (17:51 +0200)]
daklib/dbconn.py (PoolFile): add component property

12 years agoconfig/*/dak.conf: set Dir::Base
Ansgar Burchardt [Fri, 10 Aug 2012 14:01:51 +0000 (16:01 +0200)]
config/*/dak.conf: set Dir::Base

12 years agodatabase changes for multi-archive support
Ansgar Burchardt [Tue, 31 Jul 2012 17:08:53 +0000 (19:08 +0200)]
database changes for multi-archive support

12 years agoUse archive path instead of Dir::Root
Ansgar Burchardt [Tue, 31 Jul 2012 17:33:06 +0000 (19:33 +0200)]
Use archive path instead of Dir::Root

12 years agodak/init_dirs.py: only create directories for active keyrings
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.

12 years agodak/init_dirs.py: do not use Dir::Pool
Ansgar Burchardt [Wed, 6 Jun 2012 13:43:54 +0000 (15:43 +0200)]
dak/init_dirs.py: do not use Dir::Pool

12 years agochange documentation style
Ansgar Burchardt [Wed, 1 Aug 2012 15:35:24 +0000 (17:35 +0200)]
change documentation style

12 years agoPython modules should not be executable
Ansgar Burchardt [Mon, 6 Aug 2012 08:43:33 +0000 (10:43 +0200)]
Python modules should not be executable

12 years agodaklib/archive.py, daklib/checks.py: implement transition blocks
Ansgar Burchardt [Mon, 6 Aug 2012 09:59:34 +0000 (11:59 +0200)]
daklib/archive.py, daklib/checks.py: implement transition blocks

12 years agodaklib/archive.py: use method to decide which policy queue to use
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.

12 years agodaklib/archive.py, daklib/checks.py: implement upload blocks
Ansgar Burchardt [Fri, 3 Aug 2012 14:11:47 +0000 (16:11 +0200)]
daklib/archive.py, daklib/checks.py: implement upload blocks

12 years agodaklib/dbconn.py: use apt_pkg.TagSection instead of implementing our own parser
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

12 years agodaklib/archive.py: check for source when copying binaries
Ansgar Burchardt [Tue, 7 Aug 2012 14:06:07 +0000 (16:06 +0200)]
daklib/archive.py: check for source when copying binaries

12 years agoAdd export subcommand to export upload from policy queues.
Ansgar Burchardt [Sun, 1 Jul 2012 12:13:42 +0000 (14:13 +0200)]
Add export subcommand to export upload from policy queues.

12 years agodaklib/dbconn.py: add basename property to PoolFile
Ansgar Burchardt [Sat, 7 Jul 2012 17:38:42 +0000 (11:38 -0600)]
daklib/dbconn.py: add basename property to PoolFile

12 years agodaklib/dbconn.py: add path property to Suite
Ansgar Burchardt [Fri, 15 Jun 2012 13:40:36 +0000 (15:40 +0200)]
daklib/dbconn.py: add path property to Suite

12 years agodaklib/archive.py: guess source component even with component mappings
Ansgar Burchardt [Fri, 20 Jul 2012 11:10:54 +0000 (13:10 +0200)]
daklib/archive.py: guess source component even with component mappings

12 years agodaklib/archive.py: implement component mappings
Ansgar Burchardt [Sat, 14 Jul 2012 16:32:57 +0000 (10:32 -0600)]
daklib/archive.py: implement component mappings

12 years agoAdd BinaryTimestampCheck.
Ansgar Burchardt [Sat, 14 Jul 2012 00:09:44 +0000 (18:09 -0600)]
Add BinaryTimestampCheck.

12 years agodaklib/config.py: add find_i method
Ansgar Burchardt [Sat, 14 Jul 2012 20:59:17 +0000 (14:59 -0600)]
daklib/config.py: add find_i method

12 years agodaklib/checks.py: add missing join
Ansgar Burchardt [Mon, 9 Jul 2012 16:43:16 +0000 (10:43 -0600)]
daklib/checks.py: add missing join

12 years agodaklib/checks.py: use apt_pkg.version_compare correctly
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

12 years agodaklib/checks.py: make version check slightly more verbose
Ansgar Burchardt [Sun, 8 Jul 2012 21:40:34 +0000 (15:40 -0600)]
daklib/checks.py: make version check slightly more verbose

12 years agodaklib/archive.py: handle unexpected names for byhand files
Ansgar Burchardt [Tue, 10 Jul 2012 17:32:59 +0000 (11:32 -0600)]
daklib/archive.py: handle unexpected names for byhand files

12 years agodaklib/archive.py: session → self.session
Ansgar Burchardt [Mon, 9 Jul 2012 16:19:21 +0000 (10:19 -0600)]
daklib/archive.py: session → self.session

12 years agodaklib/checks.py: allow DMs to upload to all suites
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.

12 years agodaklib/archive.py (install_binary): fix use of source_suites
Ansgar Burchardt [Sun, 8 Jul 2012 19:23:25 +0000 (13:23 -0600)]
daklib/archive.py (install_binary): fix use of source_suites

12 years agodaklib/archive.py: use SQLAlchemy 0.6 syntax for join
Ansgar Burchardt [Sun, 8 Jul 2012 18:29:54 +0000 (12:29 -0600)]
daklib/archive.py: use SQLAlchemy 0.6 syntax for join

12 years agodaklib/regexes.py: re_file_binary: arch names can have dashes
Ansgar Burchardt [Sun, 8 Jul 2012 20:55:03 +0000 (14:55 -0600)]
daklib/regexes.py: re_file_binary: arch names can have dashes

12 years agodaklib/regexes.py: re_field_source: fix matching version numbers
Ansgar Burchardt [Sun, 8 Jul 2012 19:53:58 +0000 (13:53 -0600)]
daklib/regexes.py: re_field_source: fix matching version numbers

12 years agodaklib/contents.py: close db session after use
Ansgar Burchardt [Sun, 8 Jul 2012 00:11:56 +0000 (18:11 -0600)]
daklib/contents.py: close db session after use

12 years agoerror out if sql query fails
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>
12 years agouse "set -o pipefail" for shell scripts
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>
12 years agoMerge remote-tracking branch 'drkranz/cruft' into merge
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>
12 years agocruft_report.py: fix alignment of help description
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>
12 years agoPass -R option to cruft-report cron jobs
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>
12 years agoImplement rdeps checking in cruft-report
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>
12 years agoUse check_reverse_depends function from utils
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>
12 years agoImplement check_reverse_depends function
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>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
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>
12 years agoMerge remote-tracking branch 'drkranz/rrd' into merge
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>
12 years agoDrop column origin_server from archive table.
Ansgar Burchardt [Sun, 1 Jul 2012 15:19:03 +0000 (17:19 +0200)]
Drop column origin_server from archive table.

12 years agoReference archive table from suite and add path to archive root
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>
12 years agotypo: "pakcages" → "packages"
Ansgar Burchardt [Sat, 7 Jul 2012 14:28:51 +0000 (08:28 -0600)]
typo: "pakcages" → "packages"

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoAlso import re_bin_only_nmu from daklib.regexes
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>
12 years agodon't require all binaries to be included
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>
12 years agouse discard instead of remove
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>
12 years agoAdd module to process policy queue uploads.
Ansgar Burchardt [Sun, 10 Jun 2012 11:10:23 +0000 (13:10 +0200)]
Add module to process policy queue uploads.

12 years agoAdd module with pre-acceptance tests.
Ansgar Burchardt [Thu, 31 May 2012 07:19:57 +0000 (09:19 +0200)]
Add module with pre-acceptance tests.

12 years agoAdd module to handle archive manipulation.
Ansgar Burchardt [Sun, 1 Jul 2012 12:06:21 +0000 (14:06 +0200)]
Add module to handle archive manipulation.

12 years agoAdd module to handle uploads not yet installed to the archive.
Ansgar Burchardt [Sun, 1 Jul 2012 12:06:32 +0000 (14:06 +0200)]
Add module to handle uploads not yet installed to the archive.

12 years agoprocess-unchecked.new: drop __SUMMARY__ for now
Ansgar Burchardt [Fri, 6 Jul 2012 15:58:14 +0000 (09:58 -0600)]
process-unchecked.new: drop __SUMMARY__ for now

The multi-archive changes don't have a useful value for __SUMMARY__
so far.  So drop it at least temporarily from the templates.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoremove two template variables
Ansgar Burchardt [Fri, 6 Jul 2012 15:52:06 +0000 (09:52 -0600)]
remove two template variables

Drop __SHORT_SUMMARY__ and __STABLE_WARNING__.  The former provides no
interesting information (just a list of installed files); the latter
seems no longer used and nobody missed it so far.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoutils.py: add call_editor function
Ansgar Burchardt [Thu, 5 Jul 2012 16:23:28 +0000 (10:23 -0600)]
utils.py: add call_editor function

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoutils (send_message): add option to write mail to files
Ansgar Burchardt [Thu, 5 Jul 2012 20:18:50 +0000 (14:18 -0600)]
utils (send_message): add option to write mail to files

Add an option to write outgoing mails to a file in the directory given
by Dir::Mail.  This is intended for use on development installations
where no real mail should be sent.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoutils.py (mail_addresses_for_upload): only try to use address from key if there is one
Ansgar Burchardt [Sun, 1 Jul 2012 23:09:20 +0000 (01:09 +0200)]
utils.py (mail_addresses_for_upload): only try to use address from key if there is one

12 years agorrd-release-freeze-dates: add wheezy freeze date
Luca Falavigna [Fri, 6 Jul 2012 15:10:16 +0000 (15:10 +0000)]
rrd-release-freeze-dates: add wheezy freeze date

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Sun, 1 Jul 2012 12:14:35 +0000 (14:14 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  config.py: Add __contains__ method
  fstransactions.py: allow mode to be a string
  fstransactions.py: also use mode for directories
  tests: add a few packages for testing dak
  utils.py: add mail_addresses_for_upload function
  gpg_get_key_addresses: return a list instead of a set
  textutils.py: don't try to convert unicode strings again
  Add regexp to match .changes files.
  Correctly match version part of source tarballs
  dominate: convert to str
  Remove no longer used templates.
  Remove unused functions.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoconfig.py: Add __contains__ method
Ansgar Burchardt [Thu, 14 Jun 2012 17:38:31 +0000 (19:38 +0200)]
config.py: Add __contains__ method

12 years agofstransactions.py: allow mode to be a string
Ansgar Burchardt [Fri, 15 Jun 2012 13:42:10 +0000 (15:42 +0200)]
fstransactions.py: allow mode to be a string

12 years agofstransactions.py: also use mode for directories
Ansgar Burchardt [Fri, 15 Jun 2012 13:41:47 +0000 (15:41 +0200)]
fstransactions.py: also use mode for directories

12 years agotests: add a few packages for testing dak
Ansgar Burchardt [Sat, 16 Jun 2012 07:44:00 +0000 (09:44 +0200)]
tests: add a few packages for testing dak

12 years agoutils.py: add mail_addresses_for_upload function
Ansgar Burchardt [Thu, 28 Jun 2012 10:10:03 +0000 (12:10 +0200)]
utils.py: add mail_addresses_for_upload function

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agogpg_get_key_addresses: return a list instead of a set
Ansgar Burchardt [Thu, 28 Jun 2012 10:07:42 +0000 (12:07 +0200)]
gpg_get_key_addresses: return a list instead of a set

gpg tries to return the primary uid (or newest uid if there is no explicit
primary) first.  dak should prefer this address, but we need a list to know the
order of addresses gpg returned.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agotextutils.py: don't try to convert unicode strings again
Ansgar Burchardt [Sun, 17 Jun 2012 07:33:25 +0000 (09:33 +0200)]
textutils.py: don't try to convert unicode strings again

12 years agoMerge remote-tracking branch 'algernon/b/queue-report/byhand-trainee' into merge
Joerg Jaspert [Thu, 14 Jun 2012 11:48:55 +0000 (13:48 +0200)]
Merge remote-tracking branch 'algernon/b/queue-report/byhand-trainee' into merge

* algernon/b/queue-report/byhand-trainee:
  queue-report: Also print unprocessed changes files
  queue_report: Ignore stuff without a source

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoAdd regexp to match .changes files.
Ansgar Burchardt [Fri, 8 Jun 2012 15:24:51 +0000 (17:24 +0200)]
Add regexp to match .changes files.

Also use raw strings for the other regular expressions.

12 years agoCorrectly match version part of source tarballs
Ansgar Burchardt [Mon, 4 Jun 2012 15:48:24 +0000 (17:48 +0200)]
Correctly match version part of source tarballs

The version part must not be greedy in order to not include the .orig.tar.*
part.  Also add .debian.tar.* which I forgot earlier.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agodominate: convert to str
Ansgar Burchardt [Sun, 10 Jun 2012 14:20:57 +0000 (16:20 +0200)]
dominate: convert to str

apt_pkg.Configuration does only allow str values; trying to assign a
unicode object raises a TypeError.

12 years agoRemove no longer used templates.
Ansgar Burchardt [Sun, 10 Jun 2012 15:08:27 +0000 (17:08 +0200)]
Remove no longer used templates.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoRemove unused functions.
Ansgar Burchardt [Fri, 8 Jun 2012 15:06:43 +0000 (17:06 +0200)]
Remove unused functions.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoqueue-report: Also print unprocessed changes files
Gergely Nagy [Thu, 14 Jun 2012 08:14:43 +0000 (08:14 +0000)]
queue-report: Also print unprocessed changes files

For the sake of clarity, if there are any changes files that couldn't
be processed (due to our inability to find the source, see byhand +
ftptrainee case), also display those in the text report.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
12 years agoqueue_report: Ignore stuff without a source
Gergely Nagy [Wed, 13 Jun 2012 13:19:42 +0000 (13:19 +0000)]
queue_report: Ignore stuff without a source

Trainees can't see files in byhand, therefore process_changes_file in
queue_report is unable to handle changes files in queue/byhand. As a
workaround, whenever it encounters a changes file that it can't read
(and thus, cache[filename] has no source key), ignore that and
continue.

The result is that trainees will be able to use queue-report without a
backtrace, they just won't be able to see byhand, as intended. For
everyone else, queue-report should work as before.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
12 years agofirst get the lockfile, then sync to ftpmaster. and wait longer for it
Joerg Jaspert [Thu, 7 Jun 2012 20:15:52 +0000 (22:15 +0200)]
first get the lockfile, then sync to ftpmaster. and wait longer for it

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'refs/remotes/ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Sat, 2 Jun 2012 13:50:28 +0000 (15:50 +0200)]
Merge remote-tracking branch 'refs/remotes/ansgar/pu/multiarchive-1' into merge

* refs/remotes/ansgar/pu/multiarchive-1:
  add module for filesystem transactions
  Add nicer and stricter regular expressions.
  override, override-disparity: rename suite variable to suite_name
  daklib/dbconn.py: Don't list install_date twice in not-null constraint.
  fix typo in daklib/gpg.py: seqeuence -> sequence
  Allow to set fingerprint in __init__ for DBBinary and DBSource.
  Remove split-done.
  Remove import-known-changes and import-new-files.
  process-upload: document -d, --directory option
  We now allow non-gzip data in udebs

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoadd module for filesystem transactions
Ansgar Burchardt [Thu, 24 May 2012 13:45:22 +0000 (15:45 +0200)]
add module for filesystem transactions

daklib.fstransactions allows to copy, remove, and move files around in
transactions, that is all operations will succeed or be reverted.

12 years agoAdd nicer and stricter regular expressions.
Ansgar Burchardt [Thu, 31 May 2012 18:50:33 +0000 (20:50 +0200)]
Add nicer and stricter regular expressions.

12 years agooverride, override-disparity: rename suite variable to suite_name
Ansgar Burchardt [Tue, 15 May 2012 12:03:24 +0000 (14:03 +0200)]
override, override-disparity: rename suite variable to suite_name

12 years agodaklib/dbconn.py: Don't list install_date twice in not-null constraint.
Ansgar Burchardt [Tue, 29 May 2012 17:30:53 +0000 (19:30 +0200)]
daklib/dbconn.py: Don't list install_date twice in not-null constraint.