]>
err.no Git - dak/log
Joerg Jaspert [Mon, 1 Oct 2012 14:29:05 +0000 (16:29 +0200)]
let cron.reboot sleep a bit to have all resources ready
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 1 Oct 2012 14:28:23 +0000 (16:28 +0200)]
Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
* 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak:
setup/README: update for recent changes
Strip contrib/non-free from source names
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 30 Sep 2012 18:48:45 +0000 (20:48 +0200)]
Update from squeezer6
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sun, 30 Sep 2012 15:47:52 +0000 (17:47 +0200)]
setup/README: update for recent changes
Ansgar Burchardt [Sun, 30 Sep 2012 13:04:31 +0000 (15:04 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'
Luca Falavigna [Sun, 30 Sep 2012 12:58:08 +0000 (12:58 +0000)]
Strip contrib/non-free from source names
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sat, 29 Sep 2012 11:03:51 +0000 (13:03 +0200)]
daklib/lists: output one less / for the pool/
or otherwise apt-ftparchive is writing non-useful stuff into the
generated files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Wed, 26 Sep 2012 20:05:55 +0000 (22:05 +0200)]
daklib/archive.py: allow source to be in enhanced suite
This allows binNMUs for which the source is in stable to be accepted
into proposed-updates.
A better fix would be to handle this in _install_to_suite which already
does the right thing when source_suites is None.
Ansgar Burchardt [Wed, 26 Sep 2012 19:41:40 +0000 (21:41 +0200)]
daklib/archive.py: fix autobyhand for binNMUs
Ansgar Burchardt [Mon, 24 Sep 2012 21:31:38 +0000 (23:31 +0200)]
daklib/policy.py: don't list missing overrides for each arch
If an upload include binary packages for multiple architectures, dak
should only display (and add) the missing overrides once.
Ansgar Burchardt [Mon, 24 Sep 2012 19:32:37 +0000 (21:32 +0200)]
Merge branch 'new-dm'
Ansgar Burchardt [Mon, 24 Sep 2012 19:29:43 +0000 (21:29 +0200)]
dak/acl.py: include fingerprint of person who granted upload permission
Bug: http://bugs.debian.org/688490
Ansgar Burchardt [Mon, 24 Sep 2012 18:42:09 +0000 (20:42 +0200)]
Merge branch 'fix-acl'
Ansgar Burchardt [Mon, 24 Sep 2012 18:41:44 +0000 (20:41 +0200)]
daklib/checks.py: include acl name in reason for rejection
Ansgar Burchardt [Mon, 24 Sep 2012 18:30:06 +0000 (20:30 +0200)]
remove per-fingerprint ACLs that are identical to keyring ACL
With the changes in
707a89a3b86961755a99cb9e1a0a5f23690f9529 dak uses
the keyring acl if there is no acl for the fingerprint. Also
import_keyring.py stopped updating the fingerprint acl. This caused
problems for old fingerprints (with an acl set) that move between
keyrings as they would continue to use the old acl.
This update sets the acl to NULL for fingerprints using the keyring acl
to avoid these issues.
Ansgar Burchardt [Sat, 22 Sep 2012 08:43:46 +0000 (10:43 +0200)]
daklib/command.py: give a real error message for unknown fingerprints
Ansgar Burchardt [Sat, 22 Sep 2012 08:14:10 +0000 (10:14 +0200)]
dak/import_keyring.py: fix SQL syntax error
This was broken by
707a89a3b86961755a99cb9e1a0a5f23690f9529 .
Ansgar Burchardt [Sat, 22 Sep 2012 07:58:53 +0000 (09:58 +0200)]
Merge branch 'new-dm'
Ansgar Burchardt [Sat, 22 Sep 2012 07:58:03 +0000 (09:58 +0200)]
daklib/command.py: quote section we are processing in reply
Joerg Jaspert [Fri, 21 Sep 2012 08:05:33 +0000 (10:05 +0200)]
Merge remote-tracking branch 'drkranz/fixes' into merge
* drkranz/fixes:
show-new: remove False statement to reduce processing time
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 16 Sep 2012 12:19:21 +0000 (12:19 +0000)]
show-new: remove False statement to reduce processing time
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Ansgar Burchardt [Thu, 20 Sep 2012 15:29:48 +0000 (17:29 +0200)]
Merge branch 'backports-merge'
Ansgar Burchardt [Thu, 20 Sep 2012 15:29:42 +0000 (17:29 +0200)]
Merge branch 'new-dm'
Ansgar Burchardt [Thu, 20 Sep 2012 15:11:49 +0000 (17:11 +0200)]
per-queue NEW comments and permissions
Ansgar Burchardt [Thu, 20 Sep 2012 14:32:35 +0000 (16:32 +0200)]
dak/queue_report.py: don't die if dak.conf does not know about LDAP
Ansgar Burchardt [Thu, 20 Sep 2012 11:14:29 +0000 (13:14 +0200)]
daklib/command.py: strip whitespace from fingerprint
This allows copying the fingerprint from the gpg output without any
editing.
Ansgar Burchardt [Thu, 20 Sep 2012 10:17:36 +0000 (12:17 +0200)]
daklib/command.py: process all sections and not only the first one
Ansgar Burchardt [Thu, 20 Sep 2012 10:15:01 +0000 (12:15 +0200)]
dak/process_commands.py: remove all processed files to done
We want all files that were processed to be moved to done. It would be
confusing to have files in reject when we did evaluate some of the
commands from there and only encountered an error later.
Files that do not pass the GPG check are still moved to the reject
directory.
Ansgar Burchardt [Thu, 20 Sep 2012 09:32:41 +0000 (11:32 +0200)]
link_morgue.sh: adapt to work also on security-master
Ansgar Burchardt [Thu, 20 Sep 2012 08:32:58 +0000 (10:32 +0200)]
dak/acl.py: update documentation
Ansgar Burchardt [Thu, 20 Sep 2012 08:32:38 +0000 (10:32 +0200)]
daklib/command.py: error out when trying to grant permission for non-existing packages
Ansgar Burchardt [Wed, 19 Sep 2012 16:07:31 +0000 (18:07 +0200)]
Merge branch 'new-dm'
Ansgar Burchardt [Wed, 19 Sep 2012 16:05:56 +0000 (18:05 +0200)]
daklib/command.py: Add another experimental action.
Ansgar Burchardt [Wed, 19 Sep 2012 15:36:20 +0000 (17:36 +0200)]
dak/process_commands.py: typo
Ansgar Burchardt [Wed, 19 Sep 2012 15:31:30 +0000 (17:31 +0200)]
Keep track who adds entries to DM upload table (and when).
Ansgar Burchardt [Wed, 19 Sep 2012 14:47:18 +0000 (16:47 +0200)]
debianqueued: log which .dak-commands file we are processing
Ansgar Burchardt [Wed, 19 Sep 2012 10:52:51 +0000 (12:52 +0200)]
daklib/archive.py: Fix typo in message about suite mappings.
Ansgar Burchardt [Wed, 19 Sep 2012 10:44:17 +0000 (12:44 +0200)]
Rename process-commands.py to process_commands.py.
Ansgar Burchardt [Wed, 19 Sep 2012 10:37:54 +0000 (12:37 +0200)]
Merge branch 'new-dm'
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