]>
err.no Git - dak/log
Ansgar Burchardt [Wed, 19 Sep 2012 10:12:38 +0000 (12:12 +0200)]
Configure new DM implementation for Debian.
Ansgar Burchardt [Wed, 19 Sep 2012 09:36:33 +0000 (11:36 +0200)]
dak/acl.py: add export-per-source subcommand
Ansgar Burchardt [Tue, 18 Sep 2012 08:58:18 +0000 (10:58 +0200)]
Add process-commands program and activate new DM implementation.
For now packages that use DMUA in the source package are still accepted.
Ansgar Burchardt [Tue, 18 Sep 2012 15:14:08 +0000 (17:14 +0200)]
debianqueued: add support for *.dak-commands
Mail notification is not implemented (yet) as this would require another
implementation to extract the uploader address from the signed part of
the file or factoring this out of the existing code.
Ansgar Burchardt [Wed, 19 Sep 2012 08:53:41 +0000 (10:53 +0200)]
dak/process_upload.py: show if we accept/reject packages also on stdout
Ansgar Burchardt [Wed, 19 Sep 2012 08:49:07 +0000 (10:49 +0200)]
Add support for warnings.
Ansgar Burchardt [Tue, 18 Sep 2012 21:31:34 +0000 (23:31 +0200)]
Merge branch 'small-fixes'
Ansgar Burchardt [Tue, 18 Sep 2012 21:31:26 +0000 (23:31 +0200)]
daklib/checks.py: only use source.filename if source is not None
Ansgar Burchardt [Tue, 18 Sep 2012 21:23:05 +0000 (23:23 +0200)]
Merge branch 'small-fixes'
Ansgar Burchardt [Tue, 18 Sep 2012 20:08:53 +0000 (22:08 +0200)]
daklib/upload.py (Source): check hashes for .dsc before using it
This makes sure we have the correct file when accessing the source
property of a Changes object.
Ansgar Burchardt [Tue, 18 Sep 2012 19:56:37 +0000 (21:56 +0200)]
Don't include stacktrace for hash mismatches.
Ansgar Burchardt [Tue, 18 Sep 2012 19:40:49 +0000 (21:40 +0200)]
Improve error message for uploads that miss files.
Ansgar Burchardt [Tue, 18 Sep 2012 18:52:34 +0000 (20:52 +0200)]
daklib/archive.py: change permissions for copied .changes and byhand files
Ansgar Burchardt [Tue, 18 Sep 2012 08:05:22 +0000 (10:05 +0200)]
Merge branch 'fix/debinfo'
Ansgar Burchardt [Tue, 18 Sep 2012 06:24:33 +0000 (08:24 +0200)]
daklib/archive.py: restore architecture field in .debinfo files
The field was omitted in the new implementation introduced in
49c85ab8 .
Reported-by: Don Armstrong <don@debian.org>
Ansgar Burchardt [Mon, 17 Sep 2012 17:36:12 +0000 (19:36 +0200)]
Merge branch 'fix-clean-suites'
Ansgar Burchardt [Mon, 17 Sep 2012 17:36:06 +0000 (19:36 +0200)]
dak/clean_queues.py: restore line setting incoming variable
Ansgar Burchardt [Mon, 17 Sep 2012 17:08:40 +0000 (19:08 +0200)]
Merge branch 'fix-clean-suites'
Ansgar Burchardt [Mon, 17 Sep 2012 17:08:15 +0000 (19:08 +0200)]
config/debian/dinstall.functions: reactivate clean-suites
Ansgar Burchardt [Mon, 17 Sep 2012 17:07:41 +0000 (19:07 +0200)]
dak/clean_queues.py: use Dir::Unchecked instead of looking for unchecked queue
Ansgar Burchardt [Mon, 17 Sep 2012 16:29:36 +0000 (18:29 +0200)]
Merge branch 'pu/backports-merge'
Ansgar Burchardt [Mon, 17 Sep 2012 14:29:16 +0000 (16:29 +0200)]
add mail_whitelist column to suite table
Ansgar Burchardt [Mon, 17 Sep 2012 14:27:33 +0000 (16:27 +0200)]
Merge branch 'master' into pu/backports-merge
Ansgar Burchardt [Mon, 17 Sep 2012 13:38:28 +0000 (15:38 +0200)]
config/debian: Add settings for backports.
Ansgar Burchardt [Mon, 17 Sep 2012 13:22:07 +0000 (15:22 +0200)]
daklib/config.py: allow additional configuration files for specific groups
Ansgar Burchardt [Mon, 17 Sep 2012 13:21:23 +0000 (15:21 +0200)]
daklib/utils.py: use daklib.config
Ansgar Burchardt [Mon, 17 Sep 2012 13:21:03 +0000 (15:21 +0200)]
dak/admin.py: add subcommand to print configuration value
Ansgar Burchardt [Mon, 17 Sep 2012 08:51:26 +0000 (10:51 +0200)]
Add per-suite mail whitelists.
Joerg Jaspert [Mon, 17 Sep 2012 14:18:02 +0000 (16:18 +0200)]
cleanup ssh config, remove unused keys
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 17 Sep 2012 14:09:48 +0000 (16:09 +0200)]
add ftpmaster ssh config/authorized_keys
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 17 Sep 2012 13:18:30 +0000 (15:18 +0200)]
Merge remote-tracking branch 'algernon/f/external_files' into merge
* algernon/f/external_files:
checks: Fix a syntax error in ExternalHashCheck
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Gergely Nagy [Mon, 17 Sep 2012 13:16:48 +0000 (13:16 +0000)]
checks: Fix a syntax error in ExternalHashCheck
There was one extra closing parens in a call to raise
RejectStupidMaintainerException (oops, stupid me), lets remove it.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Joerg Jaspert [Mon, 17 Sep 2012 13:12:24 +0000 (15:12 +0200)]
Merge remote-tracking branch 'algernon/f/external_files' into merge
* algernon/f/external_files:
update87: Insert a default use_extfiles value to the config table too
debian/cron.hourly: Dump & push the external_files table to security
Introduce the external_files table
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Gergely Nagy [Mon, 17 Sep 2012 12:50:27 +0000 (12:50 +0000)]
update87: Insert a default use_extfiles value to the config table too
Signed-off-by: Gergely Nagy <algernon@debian.org>
Joerg Jaspert [Mon, 17 Sep 2012 12:44:43 +0000 (14:44 +0200)]
Merge remote-tracking branch 'algernon/h/check/hashcheck' into merge
* algernon/h/check/hashcheck:
checks: Set the source in HashesCheck correctly
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Gergely Nagy [Sun, 16 Sep 2012 18:56:45 +0000 (18:56 +0000)]
debian/cron.hourly: Dump & push the external_files table to security
To make the external_files table useful, it needs to be populated. But
it only needs to have that on security, so lets export 7 push the
table there from cron.hourly. (Commented out for now, pending info)
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
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>
Gergely Nagy [Mon, 17 Sep 2012 08:50:34 +0000 (08:50 +0000)]
checks: Set the source in HashesCheck correctly
Instead of setting the source within a for loop, set it outside, so it
does what it is supposed to do, instead of accidentally working
because self has a source field set too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
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>
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
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>
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>
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>
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>
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>
Ansgar Burchardt [Sun, 16 Sep 2012 16:35:54 +0000 (18:35 +0200)]
daklib/utils.py: lookup gid for group.
Ansgar Burchardt [Sun, 16 Sep 2012 16:33:27 +0000 (18:33 +0200)]
daklib/checks.py: typo: unpribgroup → unprivgroup
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>
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>
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>
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>
Ansgar Burchardt [Sun, 16 Sep 2012 15:46:59 +0000 (17:46 +0200)]
daklib/checks.py: add note to send warning for DMUA later
Ansgar Burchardt [Sun, 16 Sep 2012 15:46:38 +0000 (17:46 +0200)]
daklib/checks.py: restore comment about hijack check
Ansgar Burchardt [Sun, 16 Sep 2012 15:46:18 +0000 (17:46 +0200)]
daklib/checks.py: include all not allowed binary architectures in error.
Ansgar Burchardt [Sun, 2 Sep 2012 10:07:56 +0000 (12:07 +0200)]
Add suite ACLs and per-suite NEW.
Joerg Jaspert [Sun, 16 Sep 2012 15:02:21 +0000 (17:02 +0200)]
update function docu
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
Ansgar Burchardt [Sun, 16 Sep 2012 13:41:31 +0000 (15:41 +0200)]
daklib/upload.py (Changes): add source_name property
Ansgar Burchardt [Sat, 15 Sep 2012 13:59:44 +0000 (15:59 +0200)]
daklib/archive.py: set final_suites earlier.
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
Ansgar Burchardt [Sat, 15 Sep 2012 11:49:29 +0000 (13:49 +0200)]
daklib/archive.py: look for target suites earlier
Ansgar Burchardt [Fri, 14 Sep 2012 19:26:44 +0000 (21:26 +0200)]
add per-suite close_bugs option
Ansgar Burchardt [Tue, 28 Aug 2012 08:47:50 +0000 (10:47 +0200)]
Add per-suite database permissions.
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>
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>
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>
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>
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>
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>
Ansgar Burchardt [Sun, 2 Sep 2012 09:42:02 +0000 (11:42 +0200)]
setup/dak-minimal.conf.template: add missing Dir::Base
Luca Falavigna [Fri, 31 Aug 2012 16:12:20 +0000 (16:12 +0000)]
dak rul3z
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
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>
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>
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>
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>
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>
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>
Luca Falavigna [Tue, 28 Aug 2012 21:35:10 +0000 (21:35 +0000)]
IT Crowd
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
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>
Ansgar Burchardt [Tue, 28 Aug 2012 18:34:24 +0000 (20:34 +0200)]
daklib/archive.py: fix automatic byhand processing
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.
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
Ansgar Burchardt [Fri, 17 Aug 2012 14:26:29 +0000 (16:26 +0200)]
daklib/archive.py: silence output when unpacking source
Ansgar Burchardt [Fri, 17 Aug 2012 11:40:05 +0000 (13:40 +0200)]
dak/clean_suites.py: silence output
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.
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
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>