]> err.no Git - dak/log
dak
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.

12 years agofix typo in daklib/gpg.py: seqeuence -> sequence
Ansgar Burchardt [Wed, 23 May 2012 15:20:48 +0000 (17:20 +0200)]
fix typo in daklib/gpg.py: seqeuence -> sequence

12 years agoAllow to set fingerprint in __init__ for DBBinary and DBSource.
Ansgar Burchardt [Wed, 30 May 2012 17:45:18 +0000 (19:45 +0200)]
Allow to set fingerprint in __init__ for DBBinary and DBSource.

12 years agoRemove split-done.
Ansgar Burchardt [Mon, 21 May 2012 22:12:11 +0000 (00:12 +0200)]
Remove split-done.

Since 0ce7303ebc8d854fa8061669d39aba933665af6c we store changes files directly
into date-based directories.

12 years agoRemove import-known-changes and import-new-files.
Ansgar Burchardt [Mon, 21 May 2012 21:16:53 +0000 (23:16 +0200)]
Remove import-known-changes and import-new-files.

12 years agoprocess-upload: document -d, --directory option
Ansgar Burchardt [Mon, 14 May 2012 11:24:28 +0000 (13:24 +0200)]
process-upload: document -d, --directory option

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoWe now allow non-gzip data in udebs
Mark Hymers [Mon, 14 May 2012 20:46:34 +0000 (21:46 +0100)]
We now allow non-gzip data in udebs

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/wheezy' into merge
Joerg Jaspert [Fri, 11 May 2012 21:41:13 +0000 (23:41 +0200)]
Merge remote-tracking branch 'ansgar/pu/wheezy' into merge

* ansgar/pu/wheezy:
  Go back to temporary tables.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoGo back to temporary tables.
Ansgar Burchardt [Fri, 11 May 2012 21:32:28 +0000 (23:32 +0200)]
Go back to temporary tables.

Using with statements as done in c9f2c29661e8d95215966aa52228febe0fec50cf
requires more resources, so revert back to using temporary tables.

We keep the statements to create and fill the temporary table separate from the
SELECT query itself which should fix the original problem in a different way.

12 years agoMerge remote-tracking branch 'ansgar/pu/wheezy' into merge
Joerg Jaspert [Fri, 11 May 2012 19:46:56 +0000 (21:46 +0200)]
Merge remote-tracking branch 'ansgar/pu/wheezy' into merge

* ansgar/pu/wheezy:
  Change how compression methods are selected in FileWriter
  Use with statement instead of temporary table
  Move "import utils" into function

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoChange how compression methods are selected in FileWriter
Ansgar Burchardt [Fri, 11 May 2012 16:26:53 +0000 (18:26 +0200)]
Change how compression methods are selected in FileWriter

12 years agoUse with statement instead of temporary table
Ansgar Burchardt [Fri, 11 May 2012 13:09:52 +0000 (15:09 +0200)]
Use with statement instead of temporary table

SQLAlchemy might use server-side cursors and prepend a

  DECLARE "..." CURSOR WITHOUT HOLD FOR

to the statement.  This does not work if the statement starts with creating a
temporary table.

12 years agoMove "import utils" into function
Ansgar Burchardt [Fri, 11 May 2012 10:54:12 +0000 (12:54 +0200)]
Move "import utils" into function

This breaks a dependency cycle (as utils.py imports dbconn.py again) and allows
the tests to pass again.

12 years agoMerge remote-tracking branch 'ansgar/pu/wheezy' into merge
Joerg Jaspert [Fri, 11 May 2012 10:17:59 +0000 (12:17 +0200)]
Merge remote-tracking branch 'ansgar/pu/wheezy' into merge

* ansgar/pu/wheezy:
  Remove dead code.
  Remove redundant indices from database.
  Add path to removal logs to minimal configuration.
  Make dominate -s <suite> work without Obsolete::Options::Suite set.
  setup/README: update for postgresql-9.1
  setup/README: remove no longer needed postgresql packages
  stop using deprecated python-apt functions
  merge check for Description field with other checks
  add our own deb_extract_control function
  Stop passing order_by as a string.
  Allow use with SQLAlchemy 0.7

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoRemove dead code.
Ansgar Burchardt [Thu, 10 May 2012 12:11:23 +0000 (14:11 +0200)]
Remove dead code.

In ca9e3716b22771d88dcd7ca2e2f180f9e1707a10 the code to create system users was
removed from add_user.py, but related functions and a command line argument
were still kept.  This commit removes that code.

12 years agoRemove redundant indices from database.
Ansgar Burchardt [Thu, 10 May 2012 11:06:03 +0000 (13:06 +0200)]
Remove redundant indices from database.

12 years agoAdd path to removal logs to minimal configuration.
Ansgar Burchardt [Thu, 10 May 2012 08:31:34 +0000 (10:31 +0200)]
Add path to removal logs to minimal configuration.

dak rm will not work otherwise.

12 years agoMake dominate -s <suite> work without Obsolete::Options::Suite set.
Ansgar Burchardt [Thu, 10 May 2012 08:22:40 +0000 (10:22 +0200)]
Make dominate -s <suite> work without Obsolete::Options::Suite set.

12 years agosetup/README: update for postgresql-9.1
Ansgar Burchardt [Wed, 9 May 2012 14:47:40 +0000 (16:47 +0200)]
setup/README: update for postgresql-9.1

Refer to the current postgresql-9.1 packages. Also use the extension versions
of debversion and plpgsql and drop them from the schema definition.

12 years agosetup/README: remove no longer needed postgresql packages
Ansgar Burchardt [Wed, 9 May 2012 13:22:28 +0000 (15:22 +0200)]
setup/README: remove no longer needed postgresql packages

dak no longer uses plperl or plpython.

12 years agostop using deprecated python-apt functions
Ansgar Burchardt [Sun, 6 May 2012 15:16:52 +0000 (17:16 +0200)]
stop using deprecated python-apt functions

Renamed functions and methods:

  Find              -> find
  FindB             -> find_b
  newConfiguration  -> Configuration
  ParseCommandLine  -> parse_commandline
  ParseSrcDepends   -> parse_src_depends
  ReadConfigFileISC -> read_config_file_isc
  SubTree           -> subtree
  ValueList         -> value_list
  VersionCompare    -> version_compare

Removed functions:

  debExtractControl: replaced with utils.deb_extract_control

Other changes:

  x.has_key(y) -> y in x
  x.Find(y)    -> x[y]

The last change was only done in places where `y' is sure to exists (`x.Find'
would return None otherwise, `x[y]' would raise an exception).

12 years agoask before installing security updates
Joerg Jaspert [Wed, 9 May 2012 18:20:53 +0000 (20:20 +0200)]
ask before installing security updates

helps avoiding accidental *changes commandline arguments

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agomerge check for Description field with other checks
Ansgar Burchardt [Wed, 9 May 2012 10:46:20 +0000 (12:46 +0200)]
merge check for Description field with other checks

12 years agoadd our own deb_extract_control function
Ansgar Burchardt [Wed, 9 May 2012 10:44:08 +0000 (12:44 +0200)]
add our own deb_extract_control function

debExtractControl from apt_inst was deprecated and removed.

12 years agoStop passing order_by as a string.
Ansgar Burchardt [Sun, 6 May 2012 15:47:15 +0000 (17:47 +0200)]
Stop passing order_by as a string.

This no longer worked with SQLAlchemy 0.7.

12 years agoAllow use with SQLAlchemy 0.7
Ansgar Burchardt [Sun, 6 May 2012 15:36:32 +0000 (17:36 +0200)]
Allow use with SQLAlchemy 0.7

12 years ago* scripts/debian/link_morgue.sh: New script, converting morgue/ into a
Joerg Jaspert [Fri, 20 Apr 2012 16:37:22 +0000 (18:37 +0200)]
* scripts/debian/link_morgue.sh: New script, converting morgue/ into a
  set of symlinks, then transferring them to the morgue host
* config/debian/cron.daily: Add link_morgue

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'youam/master' into merge
Joerg Jaspert [Thu, 29 Mar 2012 05:25:25 +0000 (07:25 +0200)]
Merge remote-tracking branch 'youam/master' into merge

* youam/master:
  define used variable, as we're now using strict

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge branch 'master' of http://ftp-master.debian.org/git/dak
Uli Martens [Thu, 29 Mar 2012 05:24:33 +0000 (07:24 +0200)]
Merge branch 'master' of http://ftp-master.debian.org/git/dak

12 years agodefine used variable, as we're now using strict
Uli Martens [Thu, 29 Mar 2012 05:23:56 +0000 (07:23 +0200)]
define used variable, as we're now using strict

12 years agoMerge remote-tracking branch 'youam/master' into merge
Joerg Jaspert [Wed, 28 Mar 2012 19:32:47 +0000 (21:32 +0200)]
Merge remote-tracking branch 'youam/master' into merge

* youam/master:
  warn on read errors in update-ftpstats, don't die
  handle compressed files transparently

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agowarn on read errors in update-ftpstats, don't die
Uli Martens [Wed, 28 Mar 2012 14:26:36 +0000 (16:26 +0200)]
warn on read errors in update-ftpstats, don't die

12 years agohandle compressed files transparently
Uli Martens [Wed, 28 Mar 2012 09:22:12 +0000 (11:22 +0200)]
handle compressed files transparently

12 years agoFix win32loader byhand not to update all hardlinks
Mark Hymers [Mon, 26 Mar 2012 11:25:06 +0000 (11:25 +0000)]
Fix win32loader byhand not to update all hardlinks

Signed-off-by: Mark Hymers <mhy@debian.org>
12 years agoAdd stable back to the suite block, thanks Adam
Joerg Jaspert [Mon, 26 Mar 2012 06:05:34 +0000 (08:05 +0200)]
Add stable back to the suite block, thanks Adam

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agowoops, more oldstable going away
Joerg Jaspert [Sun, 25 Mar 2012 22:01:47 +0000 (00:01 +0200)]
woops, more oldstable going away

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoremove lenny
Joerg Jaspert [Sun, 25 Mar 2012 09:16:04 +0000 (11:16 +0200)]
remove lenny

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agobuildd add keys
Joerg Jaspert [Sat, 24 Mar 2012 17:04:14 +0000 (18:04 +0100)]
buildd add keys

ignore the gpg error message, redirecting to dev/null. can appear if we have a new arch/buildd, then its a key-not-found complaint, which we dont care about. and we also care nothing about any other error it might give us here, so off it goes

also log if we have too many keys

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agominimal change to correctly publish auto-accepted security stuff even without an...
Joerg Jaspert [Thu, 22 Mar 2012 22:05:50 +0000 (23:05 +0100)]
minimal change to correctly publish auto-accepted security stuff even without an extra dsa OR a simultaneous event in the unchecked queue

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agofix reading $HOME/etc/dak/dak.conf
Torsten Werner [Mon, 19 Mar 2012 20:21:30 +0000 (21:21 +0100)]
fix reading $HOME/etc/dak/dak.conf

Previously the default_config would get loaded twice if $HOME/etc/dak/dak.conf
was found.

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
12 years agoIgnore 'Operation not permitted' error.
Torsten Werner [Mon, 19 Mar 2012 20:11:38 +0000 (21:11 +0100)]
Ignore 'Operation not permitted' error.

Signed-off-by: Torsten Werner <twerner@debian.org>