]> git.donarmstrong.com Git - dak.git/log
dak.git
13 years agoSimplify config path
Mark Hymers [Wed, 27 Jul 2011 20:24:40 +0000 (21:24 +0100)]
Simplify config path

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFallback if DefaultSuite is not set
Mark Hymers [Wed, 27 Jul 2011 20:03:08 +0000 (21:03 +0100)]
Fallback if DefaultSuite is not set

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove Dinstall::LockFile
Mark Hymers [Wed, 27 Jul 2011 20:02:21 +0000 (21:02 +0100)]
Remove Dinstall::LockFile

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse database instead of config file for Archive::
Mark Hymers [Wed, 27 Jul 2011 19:18:53 +0000 (20:18 +0100)]
Use database instead of config file for Archive::

Leave in security and bpo configs for now as they need
upgrading before they're removed.

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUpdate schema to 63
Mark Hymers [Wed, 27 Jul 2011 19:10:55 +0000 (20:10 +0100)]
Update schema to 63

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMove PrimaryMirror field into database
Mark Hymers [Wed, 27 Jul 2011 19:07:48 +0000 (20:07 +0100)]
Move PrimaryMirror field into database

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unused value
Mark Hymers [Wed, 27 Jul 2011 18:45:57 +0000 (19:45 +0100)]
Remove unused value

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove GPGKeyring - it's no longer used
Mark Hymers [Wed, 27 Jul 2011 18:45:20 +0000 (19:45 +0100)]
Remove GPGKeyring - it's no longer used

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Wed, 27 Jul 2011 18:30:18 +0000 (19:30 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agoRemove unused option
Mark Hymers [Wed, 27 Jul 2011 17:13:19 +0000 (18:13 +0100)]
Remove unused option

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoClean up boolean logic
Mark Hymers [Wed, 27 Jul 2011 16:58:26 +0000 (17:58 +0100)]
Clean up boolean logic

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix suite case
Mark Hymers [Wed, 27 Jul 2011 16:26:20 +0000 (17:26 +0100)]
Fix suite case

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unused fields
Mark Hymers [Wed, 27 Jul 2011 15:49:51 +0000 (16:49 +0100)]
Remove unused fields

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove use of GPGKeyring and use database
Mark Hymers [Wed, 27 Jul 2011 14:18:09 +0000 (15:18 +0100)]
Remove use of GPGKeyring and use database

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix up component handling as it's not in config file any more
Mark Hymers [Wed, 27 Jul 2011 14:04:53 +0000 (15:04 +0100)]
Fix up component handling as it's not in config file any more

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd keyring helper routines
Mark Hymers [Wed, 27 Jul 2011 13:56:20 +0000 (14:56 +0100)]
Add keyring helper routines

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMove test case for extract_component to be a db test
Mark Hymers [Wed, 27 Jul 2011 11:52:24 +0000 (12:52 +0100)]
Move test case for extract_component to be a db test

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Wed, 27 Jul 2011 11:45:11 +0000 (12:45 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agocommit more often in clean-suites
Torsten Werner [Wed, 27 Jul 2011 11:05:19 +0000 (13:05 +0200)]
commit more often in clean-suites

... to avoid database leaks in case of exceptions

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove removed config options
Mark Hymers [Wed, 27 Jul 2011 10:17:09 +0000 (11:17 +0100)]
Remove removed config options

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove Component config section from config docs
Mark Hymers [Wed, 27 Jul 2011 10:10:58 +0000 (11:10 +0100)]
Remove Component config section from config docs

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove use of Component in dak.conf, use db instead
Mark Hymers [Wed, 27 Jul 2011 10:04:58 +0000 (11:04 +0100)]
Remove use of Component in dak.conf, use db instead

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFix up dsc-syntax check
Mark Hymers [Wed, 27 Jul 2011 09:37:51 +0000 (10:37 +0100)]
Fix up dsc-syntax check

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unused Location config
Mark Hymers [Wed, 27 Jul 2011 08:41:46 +0000 (09:41 +0100)]
Remove unused Location config

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoKill unused OverrideType from the config file
Mark Hymers [Wed, 27 Jul 2011 08:40:11 +0000 (09:40 +0100)]
Kill unused OverrideType from the config file

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoCentralise UrgencyLog handling
Mark Hymers [Wed, 27 Jul 2011 08:22:20 +0000 (09:22 +0100)]
Centralise UrgencyLog handling

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoRemove unused MorgueReject setting
Mark Hymers [Wed, 27 Jul 2011 08:13:18 +0000 (09:13 +0100)]
Remove unused MorgueReject setting

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse the database instead of Lists for check_archive
Mark Hymers [Wed, 27 Jul 2011 08:08:12 +0000 (09:08 +0100)]
Use the database instead of Lists for check_archive

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Tue, 26 Jul 2011 22:32:23 +0000 (23:32 +0100)]
Merge remote branch 'mhy/master'

13 years agoUpdate schema version
Mark Hymers [Tue, 26 Jul 2011 22:29:16 +0000 (23:29 +0100)]
Update schema version

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Tue, 26 Jul 2011 22:24:58 +0000 (23:24 +0100)]
Merge remote branch 'mhy/master'

13 years agoEnsure that suite_name is unique
Mark Hymers [Tue, 26 Jul 2011 22:15:37 +0000 (23:15 +0100)]
Ensure that suite_name is unique

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoDocument adding a suite
Mark Hymers [Tue, 26 Jul 2011 22:09:46 +0000 (23:09 +0100)]
Document adding a suite

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAllow adding a suite with all architectures
Mark Hymers [Tue, 26 Jul 2011 22:06:15 +0000 (23:06 +0100)]
Allow adding a suite with all architectures

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd newline
Mark Hymers [Tue, 26 Jul 2011 20:35:59 +0000 (21:35 +0100)]
Add newline

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMake init_core executable
Mark Hymers [Tue, 26 Jul 2011 20:29:07 +0000 (21:29 +0100)]
Make init_core executable

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'mhy/master'
Mark Hymers [Tue, 26 Jul 2011 20:27:37 +0000 (21:27 +0100)]
Merge remote branch 'mhy/master'

13 years agoAdd some core table setup
Mark Hymers [Tue, 26 Jul 2011 20:25:24 +0000 (21:25 +0100)]
Add some core table setup

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoCope with empty queue
Mark Hymers [Tue, 26 Jul 2011 18:59:39 +0000 (19:59 +0100)]
Cope with empty queue

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMore checks for Dinstall::BugServer
Mark Hymers [Tue, 26 Jul 2011 13:50:16 +0000 (14:50 +0100)]
More checks for Dinstall::BugServer

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoDon't use Dinstall::BugServer unless it's configured
Mark Hymers [Tue, 26 Jul 2011 13:42:41 +0000 (14:42 +0100)]
Don't use Dinstall::BugServer unless it's configured

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoOnly use PackagesServer if it exists
Mark Hymers [Tue, 26 Jul 2011 13:34:32 +0000 (14:34 +0100)]
Only use PackagesServer if it exists

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Tue, 26 Jul 2011 13:14:04 +0000 (14:14 +0100)]
Merge remote branch 'ftpmaster/master'

13 years agoStart directory creation
Mark Hymers [Tue, 26 Jul 2011 13:10:25 +0000 (14:10 +0100)]
Start directory creation

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUpdate database creation information
Mark Hymers [Tue, 26 Jul 2011 13:03:31 +0000 (14:03 +0100)]
Update database creation information

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge remote branch 'ansgar/xz'
Mark Hymers [Tue, 26 Jul 2011 06:55:39 +0000 (07:55 +0100)]
Merge remote branch 'ansgar/xz'

13 years agoMerge remote-tracking branch 'origin/master' into xz
Ansgar Burchardt [Mon, 25 Jul 2011 13:24:13 +0000 (15:24 +0200)]
Merge remote-tracking branch 'origin/master' into xz

13 years agoAvoid pipe
Mark Hymers [Mon, 25 Jul 2011 10:16:24 +0000 (11:16 +0100)]
Avoid pipe

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoCorrect variable name
Mark Hymers [Mon, 25 Jul 2011 10:14:47 +0000 (11:14 +0100)]
Correct variable name

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Mark Hymers [Mon, 25 Jul 2011 08:51:22 +0000 (09:51 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

13 years agoAllow the release team to do tpu removals
Mark Hymers [Mon, 25 Jul 2011 08:42:49 +0000 (09:42 +0100)]
Allow the release team to do tpu removals

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoImprove splitting of Uploaders list.
Torsten Werner [Sun, 24 Jul 2011 13:18:55 +0000 (15:18 +0200)]
Improve splitting of Uploaders list.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFactor Uploaders splitting into its own function.
Torsten Werner [Sun, 24 Jul 2011 12:45:00 +0000 (14:45 +0200)]
Factor Uploaders splitting into its own function.

+ Add a test for it.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoUpdate pickle file for dbtests.
Torsten Werner [Sun, 24 Jul 2011 12:21:47 +0000 (12:21 +0000)]
Update pickle file for dbtests.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoUse anonscm instead of cvs.debian.org
Mark Hymers [Mon, 11 Jul 2011 07:27:00 +0000 (07:27 +0000)]
Use anonscm instead of cvs.debian.org

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFixups for alioth move
Mark Hymers [Sat, 9 Jul 2011 18:54:13 +0000 (18:54 +0000)]
Fixups for alioth move

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd .xz as a valid extension in various places.
Ansgar Burchardt [Sun, 3 Jul 2011 14:13:25 +0000 (14:13 +0000)]
Add .xz as a valid extension in various places.

Bug: http://bugs.debian.org/556407
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agodaklib/queue.py: use apt_inst.DebFile
Ansgar Burchardt [Sun, 3 Jul 2011 14:09:29 +0000 (14:09 +0000)]
daklib/queue.py: use apt_inst.DebFile

Use apt_inst.DebFile instead of apt_inst.debExtract. This allows to
leave searching for the correct data.tar.* member to python-apt.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoupdates
Joerg Jaspert [Sat, 25 Jun 2011 12:27:44 +0000 (14:27 +0200)]
updates

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'ansgar/check-source' into merge
Joerg Jaspert [Sun, 19 Jun 2011 17:23:31 +0000 (19:23 +0200)]
Merge remote-tracking branch 'ansgar/check-source' into merge

* ansgar/check-source:
  check for source in enhanced suites

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'origin/master' into check-source
Ansgar Burchardt [Sun, 19 Jun 2011 16:32:50 +0000 (18:32 +0200)]
Merge remote-tracking branch 'origin/master' into check-source

13 years agocheck for source in enhanced suites
Ansgar Burchardt [Sun, 19 Jun 2011 16:30:12 +0000 (16:30 +0000)]
check for source in enhanced suites

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agopublic version_checks
Joerg Jaspert [Thu, 16 Jun 2011 22:56:05 +0000 (00:56 +0200)]
public version_checks

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAnd away with version-checks in dak.conf
Joerg Jaspert [Thu, 16 Jun 2011 21:11:38 +0000 (23:11 +0200)]
And away with version-checks in dak.conf

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdd a view for version checks
Joerg Jaspert [Thu, 16 Jun 2011 21:10:06 +0000 (23:10 +0200)]
Add a view for version checks

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agouse debianbuilddhostlist on security too
Joerg Jaspert [Tue, 7 Jun 2011 22:02:56 +0000 (00:02 +0200)]
use debianbuilddhostlist on security too

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote branch 'drkranz/show-new' into merge
Joerg Jaspert [Mon, 6 Jun 2011 19:41:55 +0000 (21:41 +0200)]
Merge remote branch 'drkranz/show-new' into merge

* drkranz/show-new:
  show-new: regenerate pages which contain a timeout message

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoshow-new: regenerate pages which contain a timeout message
Luca Falavigna [Mon, 6 Jun 2011 19:29:57 +0000 (19:29 +0000)]
show-new: regenerate pages which contain a timeout message

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMerge remote branch 'drkranz/show-new' into merge
Joerg Jaspert [Mon, 6 Jun 2011 17:04:20 +0000 (19:04 +0200)]
Merge remote branch 'drkranz/show-new' into merge

* drkranz/show-new:
  show-new: limit to five threads to avoid using too many resources
  Do not fail on missing DB connection
  Create session when there is need to

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoshow-new: limit to five threads to avoid using too many resources
Luca Falavigna [Sun, 5 Jun 2011 22:38:30 +0000 (22:38 +0000)]
show-new: limit to five threads to avoid using too many resources

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoDo not fail on missing DB connection
Luca Falavigna [Sun, 5 Jun 2011 22:36:57 +0000 (22:36 +0000)]
Do not fail on missing DB connection

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoCreate session when there is need to
Luca Falavigna [Sun, 5 Jun 2011 12:54:30 +0000 (12:54 +0000)]
Create session when there is need to

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMerge remote branch 'drkranz/show-new' into merge
Joerg Jaspert [Sun, 5 Jun 2011 11:57:53 +0000 (13:57 +0200)]
Merge remote branch 'drkranz/show-new' into merge

* drkranz/show-new:
  show-new: implement a timeout to prevent it hanging (Closes: #629271)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoshow-new: implement a timeout to prevent it hanging (Closes: #629271)
Luca Falavigna [Sun, 5 Jun 2011 11:49:39 +0000 (11:49 +0000)]
show-new: implement a timeout to prevent it hanging (Closes: #629271)

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMerge remote branch 'tolimar2/lintian-2.5.0' into merge
Joerg Jaspert [Sun, 5 Jun 2011 10:04:37 +0000 (12:04 +0200)]
Merge remote branch 'tolimar2/lintian-2.5.0' into merge

* tolimar2/lintian-2.5.0:
  Add missing-pre-dependency-on-multiarch-support to the lintian autorjects as requested by Steve Langasek
  Adding install-info-used-in-maintainer-script to the non-fatal lintian-reject-tags; closes #607293
  Some lintian tags got renamed with 2.5.0
  Fix typo in templated reported by Mohammed Adnène Trojette

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote-tracking branch 'master/master' into signatures-2
Ansgar Burchardt [Fri, 3 Jun 2011 09:58:45 +0000 (11:58 +0200)]
Merge remote-tracking branch 'master/master' into signatures-2

13 years agogpg.py: set O_NONBLOCK for writing
Ansgar Burchardt [Fri, 3 Jun 2011 09:55:44 +0000 (09:55 +0000)]
gpg.py: set O_NONBLOCK for writing

We need O_NONBLOCK as otherwise os.write() would block for large input.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoAdd missing-pre-dependency-on-multiarch-support to the lintian autorjects
Alexander Reichle-Schmehl [Wed, 1 Jun 2011 15:05:55 +0000 (15:05 +0000)]
Add missing-pre-dependency-on-multiarch-support to the lintian autorjects
as requested by Steve Langasek

13 years agoAdding install-info-used-in-maintainer-script to the non-fatal
Alexander Reichle-Schmehl [Tue, 31 May 2011 10:26:32 +0000 (10:26 +0000)]
Adding install-info-used-in-maintainer-script to the non-fatal
lintian-reject-tags; closes #607293

13 years agoSome lintian tags got renamed with 2.5.0
Alexander Reichle-Schmehl [Tue, 31 May 2011 09:36:56 +0000 (09:36 +0000)]
Some lintian tags got renamed with 2.5.0

13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Alexander Reichle-Schmehl [Tue, 31 May 2011 09:33:35 +0000 (09:33 +0000)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

13 years agoa newline is ONE char, so allow one char long lines
Joerg Jaspert [Fri, 27 May 2011 17:00:34 +0000 (19:00 +0200)]
a newline is ONE char, so allow one char long lines

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoallow empty lines but nothing else
Joerg Jaspert [Thu, 26 May 2011 17:17:03 +0000 (19:17 +0200)]
allow empty lines but nothing else

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote branch 'ansgar/signatures-2' into merge
Joerg Jaspert [Wed, 25 May 2011 19:52:58 +0000 (21:52 +0200)]
Merge remote branch 'ansgar/signatures-2' into merge

* ansgar/signatures-2:
  do not check for a valid signature in parse_deb822, parse_changes

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodo not check for a valid signature in parse_deb822, parse_changes
Ansgar Burchardt [Wed, 25 May 2011 18:53:13 +0000 (18:53 +0000)]
do not check for a valid signature in parse_deb822, parse_changes

Not all files need to have a valid signature: old .dsc's can be signed
by a key no longer in the keyrings.

13 years agoMerge remote branch 'ansgar/signatures-2' into merge
Joerg Jaspert [Wed, 25 May 2011 18:26:17 +0000 (20:26 +0200)]
Merge remote branch 'ansgar/signatures-2' into merge

* ansgar/signatures-2:
  daklib/gpg.py: use os._exit() instead of sys.exit() in child process
  daklib/utils.py (parse_deb822, parse_changes): use session_wrapper

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodaklib/gpg.py: use os._exit() instead of sys.exit() in child process
Ansgar Burchardt [Wed, 25 May 2011 18:19:28 +0000 (18:19 +0000)]
daklib/gpg.py: use os._exit() instead of sys.exit() in child process

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agodaklib/utils.py (parse_deb822, parse_changes): use session_wrapper
Ansgar Burchardt [Wed, 25 May 2011 18:16:29 +0000 (18:16 +0000)]
daklib/utils.py (parse_deb822, parse_changes): use session_wrapper

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoMerge remote branch 'ansgar/signatures-2' into merge
Joerg Jaspert [Sat, 21 May 2011 22:42:31 +0000 (00:42 +0200)]
Merge remote branch 'ansgar/signatures-2' into merge

* ansgar/signatures-2:
  tests/test_parse_changes.py: add another testcase
  daklib/gpg.py: capture stderr
  tests/test_parse_changes.py: do not require signatures
  daklib/utils.py (parse_deb822): include PGP armor in filecontents
  tests/test_parse_changes.py: update for new SignedFile exceptions
  daklib/utils.py (parse_deb822): use SignedFile to handle PGP signature
  tests: dsc/4.dsc is invalid
  examine-package: use SignedFile to remove PGP armor
  daklib/gpg.py: small library for PGP-signed files

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote branch 'youam/master' into merge
Joerg Jaspert [Sat, 21 May 2011 22:40:38 +0000 (00:40 +0200)]
Merge remote branch 'youam/master' into merge

* youam/master:
  debianqueued: check for unsigned .changes content

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodebianqueued: check for unsigned .changes content
Uli Martens [Sat, 21 May 2011 20:37:22 +0000 (22:37 +0200)]
debianqueued: check for unsigned .changes content

If signed .changes files contain clear text contents outside of the
signed part, remove the .changes file.

13 years agotests/test_parse_changes.py: add another testcase
Ansgar Burchardt [Fri, 20 May 2011 20:27:00 +0000 (20:27 +0000)]
tests/test_parse_changes.py: add another testcase

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoMerge remote branch 'drkranz/examine-package' into merge
Joerg Jaspert [Fri, 20 May 2011 20:23:46 +0000 (22:23 +0200)]
Merge remote branch 'drkranz/examine-package' into merge

* drkranz/examine-package:
  Also check for codename when looking for Provides

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodaklib/gpg.py: capture stderr
Ansgar Burchardt [Fri, 20 May 2011 20:10:27 +0000 (20:10 +0000)]
daklib/gpg.py: capture stderr

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agotests/test_parse_changes.py: do not require signatures
Ansgar Burchardt [Fri, 20 May 2011 20:09:33 +0000 (20:09 +0000)]
tests/test_parse_changes.py: do not require signatures

We cannot require a valid signature in the tests as we don't have a
keyring here.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agoAlso check for codename when looking for Provides
Luca Falavigna [Fri, 20 May 2011 19:46:11 +0000 (19:46 +0000)]
Also check for codename when looking for Provides

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMerge remote branch 'drkranz/examine-package' into merge
Joerg Jaspert [Fri, 20 May 2011 19:59:21 +0000 (21:59 +0200)]
Merge remote branch 'drkranz/examine-package' into merge

* drkranz/examine-package:
  examine-package: display known virtual packages

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodaklib/utils.py (parse_deb822): include PGP armor in filecontents
Ansgar Burchardt [Fri, 20 May 2011 19:12:53 +0000 (19:12 +0000)]
daklib/utils.py (parse_deb822): include PGP armor in filecontents

We need to include the PGP armor in filecontents as this is later passed
to us again and we now always require a signature (even if it does not
need to be a valid one).

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agotests/test_parse_changes.py: update for new SignedFile exceptions
Ansgar Burchardt [Fri, 20 May 2011 17:06:32 +0000 (17:06 +0000)]
tests/test_parse_changes.py: update for new SignedFile exceptions

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
13 years agodaklib/utils.py (parse_deb822): use SignedFile to handle PGP signature
Ansgar Burchardt [Fri, 20 May 2011 17:04:59 +0000 (17:04 +0000)]
daklib/utils.py (parse_deb822): use SignedFile to handle PGP signature

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>