]> err.no Git - dak/log
dak
12 years agoIntroduce the external_files table
Gergely Nagy [Mon, 17 Sep 2012 08:55:00 +0000 (08:55 +0000)]
Introduce the external_files table

The external_files table is to be used by - for example -
security.d.o: we should export the files table to debian-security
under the disguised name of external_files.

We also introduce the use_extfiles setting, and a new check:
check.ExternalHashesCheck, which will compare the uploaded files
hashes to the external_files table, if that holds an entry for them.

It will only do that though, if the use_extfiles setting is on.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
12 years agoMerge remote-tracking branch 'ansgar/fix-acl' into merge
Joerg Jaspert [Sun, 16 Sep 2012 21:59:25 +0000 (23:59 +0200)]
Merge remote-tracking branch 'ansgar/fix-acl' into merge

* ansgar/fix-acl:
  dak/admin.py: make 'keyring list-(binary|source)' work with new ACLs

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/admin.py: make 'keyring list-(binary|source)' work with new ACLs
Ansgar Burchardt [Sun, 16 Sep 2012 21:31:23 +0000 (23:31 +0200)]
dak/admin.py: make 'keyring list-(binary|source)' work with new ACLs

12 years agoRevert "we dont like -p, use shutil.copy instead of .copy2"
Joerg Jaspert [Sun, 16 Sep 2012 18:06:36 +0000 (20:06 +0200)]
Revert "we dont like -p, use shutil.copy instead of .copy2"

This reverts commit 27392942032f853b74e097a7016d958ed93eac9c.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodont create hardlinks by default
Joerg Jaspert [Sun, 16 Sep 2012 17:04:09 +0000 (19:04 +0200)]
dont create hardlinks by default

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agowe dont like -p, use shutil.copy instead of .copy2
Joerg Jaspert [Sun, 16 Sep 2012 16:47:53 +0000 (18:47 +0200)]
we dont like -p, use shutil.copy instead of .copy2

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoand do it for the tempdir function too
Joerg Jaspert [Sun, 16 Sep 2012 16:40:30 +0000 (18:40 +0200)]
and do it for the tempdir function too

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/fix-unpriv' into merge
Joerg Jaspert [Sun, 16 Sep 2012 16:37:30 +0000 (18:37 +0200)]
Merge remote-tracking branch 'ansgar/fix-unpriv' into merge

* ansgar/fix-unpriv:
  daklib/utils.py: lookup gid for group.
  daklib/checks.py: typo: unpribgroup → unprivgroup

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/utils.py: lookup gid for group.
Ansgar Burchardt [Sun, 16 Sep 2012 16:35:54 +0000 (18:35 +0200)]
daklib/utils.py: lookup gid for group.

12 years agodaklib/checks.py: typo: unpribgroup → unprivgroup
Ansgar Burchardt [Sun, 16 Sep 2012 16:33:27 +0000 (18:33 +0200)]
daklib/checks.py: typo: unpribgroup → unprivgroup

12 years agodont know python? come, join the ftpteam and write code. works for me.
Joerg Jaspert [Sun, 16 Sep 2012 16:16:35 +0000 (18:16 +0200)]
dont know python? come, join the ftpteam and write code. works for me.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agosod off, None. also, group= is helpful there
Joerg Jaspert [Sun, 16 Sep 2012 16:03:48 +0000 (18:03 +0200)]
sod off, None. also, group= is helpful there

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge branch 'dak-unpriv' into merge
Joerg Jaspert [Sun, 16 Sep 2012 15:56:54 +0000 (17:56 +0200)]
Merge branch 'dak-unpriv' into merge

* dak-unpriv:
  update function docu
  make use of dak-unpriv

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/backports-merge' into merge
Joerg Jaspert [Sun, 16 Sep 2012 15:56:04 +0000 (17:56 +0200)]
Merge remote-tracking branch 'ansgar/pu/backports-merge' into merge

* ansgar/pu/backports-merge:
  daklib/checks.py: add note to send warning for DMUA later
  daklib/checks.py: restore comment about hijack check
  daklib/checks.py: include all not allowed binary architectures in error.
  Add suite ACLs and per-suite NEW.
  daklib/upload.py (Changes): add source_name property
  daklib/archive.py: set final_suites earlier.
  daklib/checks.py: use final_suites for DM check
  daklib/archive.py: look for target suites earlier
  add per-suite close_bugs option
  Add per-suite database permissions.
  setup/dak-minimal.conf.template: add missing Dir::Base

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/checks.py: add note to send warning for DMUA later
Ansgar Burchardt [Sun, 16 Sep 2012 15:46:59 +0000 (17:46 +0200)]
daklib/checks.py: add note to send warning for DMUA later

12 years agodaklib/checks.py: restore comment about hijack check
Ansgar Burchardt [Sun, 16 Sep 2012 15:46:38 +0000 (17:46 +0200)]
daklib/checks.py: restore comment about hijack check

12 years agodaklib/checks.py: include all not allowed binary architectures in error.
Ansgar Burchardt [Sun, 16 Sep 2012 15:46:18 +0000 (17:46 +0200)]
daklib/checks.py: include all not allowed binary architectures in error.

12 years agoAdd suite ACLs and per-suite NEW.
Ansgar Burchardt [Sun, 2 Sep 2012 10:07:56 +0000 (12:07 +0200)]
Add suite ACLs and per-suite NEW.

12 years agoupdate function docu
Joerg Jaspert [Sun, 16 Sep 2012 15:02:21 +0000 (17:02 +0200)]
update function docu

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agomake use of dak-unpriv
Joerg Jaspert [Sun, 16 Sep 2012 15:00:54 +0000 (17:00 +0200)]
make use of dak-unpriv

allow our tempfile/tempdir generating function to chmod/chgrp the created
files/directories
use that to have the processed uploads and the lintian tagfile readable by
the dak-unpriv user/group
run lintian sudo-ed to dak-unpriv

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/upload.py (Changes): add source_name property
Ansgar Burchardt [Sun, 16 Sep 2012 13:41:31 +0000 (15:41 +0200)]
daklib/upload.py (Changes): add source_name property

12 years agodaklib/archive.py: set final_suites earlier.
Ansgar Burchardt [Sat, 15 Sep 2012 13:59:44 +0000 (15:59 +0200)]
daklib/archive.py: set final_suites earlier.

12 years agodaklib/checks.py: use final_suites for DM check
Ansgar Burchardt [Sat, 15 Sep 2012 11:59:07 +0000 (13:59 +0200)]
daklib/checks.py: use final_suites for DM check

This way suite mappings will also be evaluated for the DM checks.

Bug: http://bugs.debian.org/685807

12 years agodaklib/archive.py: look for target suites earlier
Ansgar Burchardt [Sat, 15 Sep 2012 11:49:29 +0000 (13:49 +0200)]
daklib/archive.py: look for target suites earlier

12 years agoadd per-suite close_bugs option
Ansgar Burchardt [Fri, 14 Sep 2012 19:26:44 +0000 (21:26 +0200)]
add per-suite close_bugs option

12 years agoAdd per-suite database permissions.
Ansgar Burchardt [Tue, 28 Aug 2012 08:47:50 +0000 (10:47 +0200)]
Add per-suite database permissions.

12 years agoMerge remote-tracking branch 'drkranz/graph' into merge
Joerg Jaspert [Sun, 16 Sep 2012 10:01:05 +0000 (12:01 +0200)]
Merge remote-tracking branch 'drkranz/graph' into merge

* drkranz/graph:
  Fix (old)stable-new graph generation

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoFix (old)stable-new graph generation
Luca Falavigna [Sun, 16 Sep 2012 00:51:27 +0000 (00:51 +0000)]
Fix (old)stable-new graph generation

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/quotes' into merge
Joerg Jaspert [Sun, 9 Sep 2012 20:05:27 +0000 (22:05 +0200)]
Merge remote-tracking branch 'drkranz/quotes' into merge

* drkranz/quotes:
  dak rul3z

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/lintian' into merge
Joerg Jaspert [Sun, 9 Sep 2012 20:04:45 +0000 (22:04 +0200)]
Merge remote-tracking branch 'drkranz/lintian' into merge

* drkranz/lintian:
  Add obsolete_lintian_tags.pl tool to recognize obsolete tags
  Remove obsolete lintian tags

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoAdd obsolete_lintian_tags.pl tool to recognize obsolete tags
Luca Falavigna [Wed, 5 Sep 2012 22:03:02 +0000 (22:03 +0000)]
Add obsolete_lintian_tags.pl tool to recognize obsolete tags

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoRemove obsolete lintian tags
Luca Falavigna [Wed, 5 Sep 2012 15:39:16 +0000 (15:39 +0000)]
Remove obsolete lintian tags

Remove some obsolete lintian tags:
  - debian-control-with-duplicate-fields
  - no-source-field
  - old-style-copyright-file

These were removed from lintian a couple of releases
ago, this broke lintian autorejects.

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agosetup/dak-minimal.conf.template: add missing Dir::Base
Ansgar Burchardt [Sun, 2 Sep 2012 09:42:02 +0000 (11:42 +0200)]
setup/dak-minimal.conf.template: add missing Dir::Base

12 years agodak rul3z
Luca Falavigna [Fri, 31 Aug 2012 16:12:20 +0000 (16:12 +0000)]
dak rul3z

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/uid' into merge
Joerg Jaspert [Fri, 31 Aug 2012 15:30:00 +0000 (17:30 +0200)]
Merge remote-tracking branch 'drkranz/uid' into merge

* drkranz/uid:
  Improve performances of get_logins_from_ldap

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoImprove performances of get_logins_from_ldap
Luca Falavigna [Thu, 30 Aug 2012 15:13:33 +0000 (15:13 +0000)]
Improve performances of get_logins_from_ldap

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/uid' into merge
Joerg Jaspert [Wed, 29 Aug 2012 21:12:03 +0000 (23:12 +0200)]
Merge remote-tracking branch 'drkranz/uid' into merge

* drkranz/uid:
  queue-report: fix display of sponsor email
  Implement get_login_from_ldap function

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/quotes' into merge
Joerg Jaspert [Wed, 29 Aug 2012 21:11:10 +0000 (23:11 +0200)]
Merge remote-tracking branch 'drkranz/quotes' into merge

* drkranz/quotes:
  IT Crowd

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoqueue-report: fix display of sponsor email
Luca Falavigna [Wed, 29 Aug 2012 16:18:38 +0000 (16:18 +0000)]
queue-report: fix display of sponsor email

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoImplement get_login_from_ldap function
Luca Falavigna [Wed, 29 Aug 2012 16:17:42 +0000 (16:17 +0000)]
Implement get_login_from_ldap function

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoIT Crowd
Luca Falavigna [Tue, 28 Aug 2012 21:35:10 +0000 (21:35 +0000)]
IT Crowd

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Tue, 28 Aug 2012 18:47:13 +0000 (20:47 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  daklib/archive.py: fix automatic byhand processing
  move split_uploaders function to daklib.textutils
  daklib/archive.py: use first component for NEW packages if we don't have a better guess

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/archive.py: fix automatic byhand processing
Ansgar Burchardt [Tue, 28 Aug 2012 18:34:24 +0000 (20:34 +0200)]
daklib/archive.py: fix automatic byhand processing

12 years agomove split_uploaders function to daklib.textutils
Ansgar Burchardt [Mon, 27 Aug 2012 21:08:12 +0000 (23:08 +0200)]
move split_uploaders function to daklib.textutils

This allows the test suite to test split_uploaders again.

12 years agodaklib/archive.py: use first component for NEW packages if we don't have a better...
Ansgar Burchardt [Mon, 20 Aug 2012 08:27:28 +0000 (10:27 +0200)]
daklib/archive.py: use first component for NEW packages if we don't have a better guess

12 years agoMerge remote-tracking branch 'drkranz/updatedb' into merge
Joerg Jaspert [Mon, 27 Aug 2012 20:07:44 +0000 (22:07 +0200)]
Merge remote-tracking branch 'drkranz/updatedb' into merge

* drkranz/updatedb:
  Fix permissions of policy_queue_upload_id_seq

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoFix permissions of policy_queue_upload_id_seq
Luca Falavigna [Mon, 27 Aug 2012 19:55:57 +0000 (19:55 +0000)]
Fix permissions of policy_queue_upload_id_seq

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/deferred' into merge
Joerg Jaspert [Sun, 26 Aug 2012 13:09:35 +0000 (15:09 +0200)]
Merge remote-tracking branch 'drkranz/deferred' into merge

* drkranz/deferred:
  Show fingerprint for deferred uploads (Closes: #684642)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/updatedb' into merge
Joerg Jaspert [Sun, 26 Aug 2012 13:09:10 +0000 (15:09 +0200)]
Merge remote-tracking branch 'drkranz/updatedb' into merge

* drkranz/updatedb:
  Fix permissions of policy_queue_byhand_file_id_seq

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoFix permissions of policy_queue_byhand_file_id_seq
Luca Falavigna [Sun, 26 Aug 2012 12:07:45 +0000 (12:07 +0000)]
Fix permissions of policy_queue_byhand_file_id_seq

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoShow fingerprint for deferred uploads (Closes: #684642)
Luca Falavigna [Fri, 24 Aug 2012 20:28:27 +0000 (20:28 +0000)]
Show fingerprint for deferred uploads (Closes: #684642)

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/fixes' into merge
Joerg Jaspert [Tue, 21 Aug 2012 21:03:00 +0000 (23:03 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge

* drkranz/fixes:
  Fix sorting of NEW packages to match new parameter names
  Fix note display in Prod and Manual reject mode
  Fix typos in rm template, thanks Noel David Torres Taño

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoFix sorting of NEW packages to match new parameter names
Luca Falavigna [Tue, 21 Aug 2012 08:17:22 +0000 (08:17 +0000)]
Fix sorting of NEW packages to match new parameter names

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoFix note display in Prod and Manual reject mode
Luca Falavigna [Tue, 21 Aug 2012 07:23:57 +0000 (07:23 +0000)]
Fix note display in Prod and Manual reject mode

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoFix typos in rm template, thanks Noel David Torres Taño
Luca Falavigna [Tue, 21 Aug 2012 07:13:56 +0000 (07:13 +0000)]
Fix typos in rm template, thanks Noel David Torres Taño

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1'
Joerg Jaspert [Sat, 18 Aug 2012 16:45:07 +0000 (18:45 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'

* ansgar/pu/multiarchive-1:
  dak/process_policy.py: escape '_' in string passed to SQL LIKE operator later

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/process_policy.py: escape '_' in string passed to SQL LIKE operator later
Ansgar Burchardt [Sat, 18 Aug 2012 16:43:36 +0000 (18:43 +0200)]
dak/process_policy.py: escape '_' in string passed to SQL LIKE operator later

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Fri, 17 Aug 2012 16:31:10 +0000 (18:31 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  daklib/archive.py: silence output when unpacking source
  dak/clean_suites.py: silence output
  dak/clean_suites.py: remove TODO comment
  dak/clean_suites.py (check_sources): af_bin.last_used can be NULL

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/archive.py: silence output when unpacking source
Ansgar Burchardt [Fri, 17 Aug 2012 14:26:29 +0000 (16:26 +0200)]
daklib/archive.py: silence output when unpacking source

12 years agodak/clean_suites.py: silence output
Ansgar Burchardt [Fri, 17 Aug 2012 11:40:05 +0000 (13:40 +0200)]
dak/clean_suites.py: silence output

12 years agodak/clean_suites.py: remove TODO comment
Ansgar Burchardt [Fri, 17 Aug 2012 11:38:14 +0000 (13:38 +0200)]
dak/clean_suites.py: remove TODO comment

sources only referenced by binaries about to be deleted are no longer
see to be used.

12 years agodak/clean_suites.py (check_sources): af_bin.last_used can be NULL
Ansgar Burchardt [Fri, 17 Aug 2012 09:49:31 +0000 (11:49 +0200)]
dak/clean_suites.py (check_sources): af_bin.last_used can be NULL

12 years agoMerge remote-tracking branch 'drkranz/fixes'
Joerg Jaspert [Thu, 16 Aug 2012 19:06:13 +0000 (21:06 +0200)]
Merge remote-tracking branch 'drkranz/fixes'

* drkranz/fixes:
  queue-report: display a note for packages marked ACCEPT or REJECT
  Do not show absolute filenames in examine-packages
  Show correct actions while processing NEW queue

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1'
Joerg Jaspert [Thu, 16 Aug 2012 19:05:33 +0000 (21:05 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'

* ansgar/pu/multiarchive-1:
  daklib/announce.py: add missing field name for mail header.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/announce.py: add missing field name for mail header.
Ansgar Burchardt [Thu, 16 Aug 2012 18:58:39 +0000 (20:58 +0200)]
daklib/announce.py: add missing field name for mail header.

12 years agoqueue-report: display a note for packages marked ACCEPT or REJECT
Luca Falavigna [Thu, 16 Aug 2012 11:12:36 +0000 (11:12 +0000)]
queue-report: display a note for packages marked ACCEPT or REJECT

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoDo not show absolute filenames in examine-packages
Luca Falavigna [Thu, 16 Aug 2012 09:35:34 +0000 (09:35 +0000)]
Do not show absolute filenames in examine-packages

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1'
Joerg Jaspert [Thu, 16 Aug 2012 05:31:14 +0000 (07:31 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'

* ansgar/pu/multiarchive-1:
  daklib/announce.py: use correct subst dict when closing bugs

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/announce.py: use correct subst dict when closing bugs
Ansgar Burchardt [Wed, 15 Aug 2012 23:31:35 +0000 (01:31 +0200)]
daklib/announce.py: use correct subst dict when closing bugs

12 years agoShow correct actions while processing NEW queue
Luca Falavigna [Wed, 15 Aug 2012 22:59:09 +0000 (22:59 +0000)]
Show correct actions while processing NEW queue

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1'
Joerg Jaspert [Wed, 15 Aug 2012 22:22:38 +0000 (00:22 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'

* ansgar/pu/multiarchive-1:
  dak/process_policy.py: use the right source package

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/process_policy.py: use the right source package
Ansgar Burchardt [Wed, 15 Aug 2012 22:21:16 +0000 (00:21 +0200)]
dak/process_policy.py: use the right source package

12 years agoMerge remote-tracking branch 'drkranz/fixes' into merge
Joerg Jaspert [Wed, 15 Aug 2012 22:09:56 +0000 (00:09 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge

* drkranz/fixes:
  Restore sort of NEW changes

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoRestore sort of NEW changes
Luca Falavigna [Wed, 15 Aug 2012 22:05:08 +0000 (22:05 +0000)]
Restore sort of NEW changes

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1'
Joerg Jaspert [Wed, 15 Aug 2012 21:31:04 +0000 (23:31 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'

* ansgar/pu/multiarchive-1:
  Always copy source when accepting uploads from policy queues.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoAlways copy source when accepting uploads from policy queues.
Ansgar Burchardt [Wed, 15 Aug 2012 21:14:55 +0000 (23:14 +0200)]
Always copy source when accepting uploads from policy queues.

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1'
Joerg Jaspert [Wed, 15 Aug 2012 20:42:30 +0000 (22:42 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'

* ansgar/pu/multiarchive-1:
  dak/clean_suites.py: indicate no-option run in log messages

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/clean_suites.py: indicate no-option run in log messages
Ansgar Burchardt [Wed, 15 Aug 2012 20:39:13 +0000 (22:39 +0200)]
dak/clean_suites.py: indicate no-option run in log messages

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Wed, 15 Aug 2012 20:27:50 +0000 (22:27 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  daklib/archive.py: source for policy queue uploads may be in target suite
  Also send announcements when accepting uploads from policy queues.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/archive.py: source for policy queue uploads may be in target suite
Ansgar Burchardt [Wed, 15 Aug 2012 20:22:22 +0000 (22:22 +0200)]
daklib/archive.py: source for policy queue uploads may be in target suite

Note that this patch breaks binNMUs to suites where the source is only
available in a enhanced suite.

12 years agoAlso send announcements when accepting uploads from policy queues.
Ansgar Burchardt [Wed, 15 Aug 2012 20:17:20 +0000 (22:17 +0200)]
Also send announcements when accepting uploads from policy queues.

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Wed, 15 Aug 2012 20:04:41 +0000 (22:04 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  dak/process_policy.py, daklib/announce.py: fix bugs in new announce code
  dak/process_upload.py: convert exception to string
  dak/process_policy.py: only remove changes entey for rejected uploads
  daklib/announce.py: fix typo

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/process_policy.py, daklib/announce.py: fix bugs in new announce code
Ansgar Burchardt [Wed, 15 Aug 2012 20:01:36 +0000 (22:01 +0200)]
dak/process_policy.py, daklib/announce.py: fix bugs in new announce code

12 years agodak/process_upload.py: convert exception to string
Ansgar Burchardt [Wed, 15 Aug 2012 19:57:56 +0000 (21:57 +0200)]
dak/process_upload.py: convert exception to string

This fixes a type error when the code uses "+" to concat strings which
we reach when we throw an exception in the exception handling code.

12 years agodak/process_policy.py: only remove changes entey for rejected uploads
Ansgar Burchardt [Wed, 15 Aug 2012 19:57:19 +0000 (21:57 +0200)]
dak/process_policy.py: only remove changes entey for rejected uploads

12 years agodaklib/announce.py: fix typo
Ansgar Burchardt [Wed, 15 Aug 2012 19:42:19 +0000 (21:42 +0200)]
daklib/announce.py: fix typo

12 years agoprocess-new: examine binary packages with new overrides only
Joerg Jaspert [Wed, 15 Aug 2012 19:28:59 +0000 (21:28 +0200)]
process-new: examine binary packages with new overrides only

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Wed, 15 Aug 2012 19:23:56 +0000 (21:23 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  rewrite code for sending mails about processed uploads
  dak/process_upload.py: improve error message for ArchiveExceptions and Rejects

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoright order. *sigh*
Joerg Jaspert [Tue, 14 Aug 2012 19:17:06 +0000 (21:17 +0200)]
right order. *sigh*

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoEnsure we always have when we need it
Joerg Jaspert [Tue, 14 Aug 2012 15:53:06 +0000 (17:53 +0200)]
Ensure we always have  when we need it

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agorewrite code for sending mails about processed uploads
Ansgar Burchardt [Mon, 13 Aug 2012 12:24:34 +0000 (14:24 +0200)]
rewrite code for sending mails about processed uploads

12 years agodak/process_upload.py: improve error message for ArchiveExceptions and Rejects
Ansgar Burchardt [Mon, 13 Aug 2012 10:07:03 +0000 (12:07 +0200)]
dak/process_upload.py: improve error message for ArchiveExceptions and Rejects

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1'
Joerg Jaspert [Tue, 14 Aug 2012 06:09:42 +0000 (08:09 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'

* ansgar/pu/multiarchive-1:
  daklib/archive.py: don't check hashes when copying upload to temporary location
  dak/clean_suites.py: use '>' instead of '>='
  daklib/utils.py (gpg_get_key_addresses): prefer @debian.org addresses
  dak/process_upload.py: remove old inactive code; update some comments
  dak/dakdb/update79.py: fix typo: workd → world

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/archive.py: don't check hashes when copying upload to temporary location
Ansgar Burchardt [Tue, 14 Aug 2012 06:02:00 +0000 (08:02 +0200)]
daklib/archive.py: don't check hashes when copying upload to temporary location

12 years agodak/clean_suites.py: use '>' instead of '>='
Ansgar Burchardt [Tue, 14 Aug 2012 05:55:39 +0000 (07:55 +0200)]
dak/clean_suites.py: use '>' instead of '>='

12 years agoMerge remote-tracking branch 'drkranz/fixes' into merge
Joerg Jaspert [Mon, 13 Aug 2012 21:11:19 +0000 (23:11 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge

* drkranz/fixes:
  process-new: examine binary packages with new overrides only

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoprocess-new: examine binary packages with new overrides only
Luca Falavigna [Mon, 13 Aug 2012 21:08:58 +0000 (21:08 +0000)]
process-new: examine binary packages with new overrides only

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoMerge remote-tracking branch 'drkranz/fixes' into merge
Joerg Jaspert [Mon, 13 Aug 2012 20:51:39 +0000 (22:51 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge

* drkranz/fixes:
  Restore dak process-new -c
  end() is not defined in daklib/queue.py
  Correctly load comments text while rejecting a package with comments

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoRestore dak process-new -c
Luca Falavigna [Mon, 13 Aug 2012 20:14:46 +0000 (20:14 +0000)]
Restore dak process-new -c

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
12 years agoend() is not defined in daklib/queue.py
Luca Falavigna [Mon, 13 Aug 2012 19:33:13 +0000 (19:33 +0000)]
end() is not defined in daklib/queue.py

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>