]>
err.no Git - dak/log
Ansgar Burchardt [Tue, 18 Dec 2012 16:10:00 +0000 (17:10 +0100)]
Do not load .dsc to check if an upload is sourceful.
This caused an error when rejecting an upload with an invalid .dsc.
We also do not want to load the .dsc before we have made sure it matches the
hash from the .changes.
Ansgar Burchardt [Tue, 18 Dec 2012 15:37:36 +0000 (16:37 +0100)]
daklib/archive.py: don't fail in prepare() if the .dsc is invalid
We only need the .dsc here to try and grab any files not included in the
upload. If there is an error loading the .dsc, do not throw an exception here,
but do so later instead.
Ansgar Burchardt [Sat, 15 Dec 2012 10:17:20 +0000 (11:17 +0100)]
debianqueued: check pgp signature before any further processing
As we no longer look at the file in the case of a bad signature, we
cannot know the maintainer address and this cannot send a mail about
the bad signature.
Ansgar Burchardt [Sat, 15 Dec 2012 10:16:54 +0000 (11:16 +0100)]
debianqueued: make pgp_check stricter
Ansgar Burchardt [Sat, 15 Dec 2012 08:31:00 +0000 (09:31 +0100)]
config/debian/cron.hourly: remove unchecked lock on failure
Ansgar Burchardt [Sat, 15 Dec 2012 08:26:48 +0000 (09:26 +0100)]
daklib/policy.py: REJECT.* files should not be executable
Ansgar Burchardt [Sat, 15 Dec 2012 08:25:59 +0000 (09:25 +0100)]
dak/process_policy.py: handle rejecting the same package twice
Tollef Fog Heen [Tue, 11 Dec 2012 11:56:12 +0000 (12:56 +0100)]
dak/generate_releases.py: Add -q option to be a bit more quiet
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Fri, 7 Dec 2012 12:07:17 +0000 (13:07 +0100)]
debianqueued: escape "." in ".changes" in regular expression
Reported-by: Jakub Wilk <jwilk@debian.org>
Reference: https://lists.debian.org/debian-dak/2012/12/msg00016.html
Ansgar Burchardt [Thu, 6 Dec 2012 15:04:52 +0000 (16:04 +0100)]
debianqueued: use POSIX::access to check for write access
Ansgar Burchardt [Thu, 6 Dec 2012 13:52:05 +0000 (14:52 +0100)]
debianqueued: don't use shell to start gpg
Ansgar Burchardt [Thu, 6 Dec 2012 13:31:23 +0000 (14:31 +0100)]
debianqueued: remove unused variables
Ansgar Burchardt [Thu, 6 Dec 2012 13:01:22 +0000 (14:01 +0100)]
debianqueued: use Perl, not shell
Ansgar Burchardt [Thu, 6 Dec 2012 11:32:30 +0000 (12:32 +0100)]
debianqueued: construct Digest::MD5 object before trying to use it
Ansgar Burchardt [Thu, 6 Dec 2012 11:32:02 +0000 (12:32 +0100)]
debianqueued: only start processing files with a sane name
Ansgar Burchardt [Thu, 6 Dec 2012 11:25:44 +0000 (12:25 +0100)]
debianqueued: remove two no longer used functions
Ansgar Burchardt [Thu, 6 Dec 2012 11:01:30 +0000 (12:01 +0100)]
debianqueued: use three argument form of open() in most places
Ansgar Burchardt [Thu, 6 Dec 2012 10:53:02 +0000 (11:53 +0100)]
debianqueued: remove notifications for incomplete uploads
We do not want to inspect unsigned files if we can avoid doing so.
This also fixes get_maintainer not making sure the filename is safe to pass to
shell commands by removing the function.
Ansgar Burchardt [Thu, 6 Dec 2012 10:47:10 +0000 (11:47 +0100)]
debianqueued: use Digest::MD5 instead of external md5sum binary
Ansgar Burchardt [Thu, 6 Dec 2012 10:38:29 +0000 (11:38 +0100)]
debianqueued: use stricter filename pattern
The new pattern is taken from daklib/regexes.py.
Joerg Jaspert [Wed, 5 Dec 2012 22:20:48 +0000 (23:20 +0100)]
sanitize variable before using it
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sun, 2 Dec 2012 22:21:44 +0000 (23:21 +0100)]
daklib/checks.py: fix index in format string
Tollef Fog Heen [Tue, 27 Nov 2012 10:13:33 +0000 (11:13 +0100)]
dak/generate_releases.py: pull components from the database
Address FIXME that talks about pulling Components from the DB.
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Ansgar Burchardt [Sun, 25 Nov 2012 11:25:20 +0000 (12:25 +0100)]
update93.py: update world.files-1 to handle backports archive on ftp-master
The addition of the backports archive on ftp-master broke the assumption
that only one of the backports, ftp-master and security archives exist.
Ansgar Burchardt [Sun, 25 Nov 2012 10:50:15 +0000 (11:50 +0100)]
config/debian/dak.conf: reject uploads to squeeze-backports
We do not want to accept uploads to squeeze-backports on ftp-master for
now.
Ansgar Burchardt [Sun, 25 Nov 2012 10:48:41 +0000 (11:48 +0100)]
Merge remote-tracking branch 'origin/master'
Joerg Jaspert [Sat, 24 Nov 2012 20:08:05 +0000 (21:08 +0100)]
remove DMUA flag handling
drop usage of the DMUA flag, only use the new ACL set, as announced in
https://lists.debian.org/debian-devel-announce/2012/09/msg00012.html
and
https://lists.debian.org/debian-devel-announce/2012/09/msg00008.html
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Tollef Fog Heen [Thu, 22 Nov 2012 14:06:56 +0000 (15:06 +0100)]
Add archive rename command
Make it possible to rename archives using
dak admin archive rename OLD NEW
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Tollef Fog Heen [Thu, 22 Nov 2012 14:08:54 +0000 (15:08 +0100)]
Typo in comment
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Ansgar Burchardt [Tue, 20 Nov 2012 14:51:31 +0000 (15:51 +0100)]
daklib/dbconn.py: use unicode workaround also for sqlalchemy 0.7
Reference: https://lists.debian.org/debian-dak/2012/11/msg00043.html
Ansgar Burchardt [Sat, 24 Nov 2012 14:01:16 +0000 (15:01 +0100)]
apache.conf-incoming: allow access from nagini.codelibre.net
Allow access from nagini.codelibre.net to allow testing sbuild-db.
Ansgar Burchardt [Sat, 17 Nov 2012 15:39:53 +0000 (16:39 +0100)]
dak/process_policy.py: don't try to copy files to accepted twice
We might already have copied files to accepted before, for example when
accepting multiple uploads that use the same upstream tarball. So we
have to ignore existing files here.
Ansgar Burchardt [Sat, 17 Nov 2012 13:25:25 +0000 (14:25 +0100)]
daklib/archive.py: give a nicer error message for already known .changes
Bug-Debian: http://bugs.debian.org/693163
Ansgar Burchardt [Sat, 17 Nov 2012 12:12:15 +0000 (13:12 +0100)]
dak/rm.py: also close forwarded bug reports
Bug-Debian: http://bugs.debian.org/693491
Ansgar Burchardt [Tue, 13 Nov 2012 19:13:26 +0000 (20:13 +0100)]
config/debian-security/cron.buildd: $DISTS should only be stable and testing
The archive now has more (private) suites for handling policy and build
queues. These are not of interest here.
Ansgar Burchardt [Tue, 13 Nov 2012 19:01:24 +0000 (20:01 +0100)]
config/debian-security/cron.unchecked: call process-upload before process-policy
This saves one run for uploads that are automatically accepted from the
policy queues (eg. buildd uploads for an already accepted source).
Ansgar Burchardt [Tue, 13 Nov 2012 19:00:10 +0000 (20:00 +0100)]
config/debian-security/cron.unchecked: calling process-policy once per queue is enough
Ansgar Burchardt [Thu, 8 Nov 2012 07:34:15 +0000 (08:34 +0100)]
dak/import.py: control -> source
Don' try to fix bugs while eating breakfast, you will miss things.
Ansgar Burchardt [Thu, 8 Nov 2012 07:29:02 +0000 (08:29 +0100)]
dak/import.py: control -> source
Ansgar Burchardt [Thu, 8 Nov 2012 07:22:02 +0000 (08:22 +0100)]
dak/import.py: use section_name variable where we need it
Ansgar Burchardt [Wed, 7 Nov 2012 20:01:06 +0000 (21:01 +0100)]
Improve dak/import.py.
Ansgar Burchardt [Wed, 7 Nov 2012 14:19:53 +0000 (15:19 +0100)]
Add new import subcommand.
Ansgar Burchardt [Wed, 7 Nov 2012 13:47:22 +0000 (14:47 +0100)]
daklib/upload.py: add from_file classmethods
Allow to create HashedFile, Binary and Source objects from existing files.
This will be used to directly import binary and source packages into an
archive.
Ansgar Burchardt [Mon, 5 Nov 2012 08:07:07 +0000 (09:07 +0100)]
daklib/archive.py: use right name for .dsc dict
Ansgar Burchardt [Sun, 4 Nov 2012 19:46:24 +0000 (20:46 +0100)]
config/debian-security/cron.unchecked: be silent
Ansgar Burchardt [Sun, 4 Nov 2012 18:56:35 +0000 (19:56 +0100)]
Make sure *.new directories do exist.
The directories will not be created by dak export / dak export-suite if
they have no files to put there.
Ansgar Burchardt [Sun, 4 Nov 2012 18:38:00 +0000 (19:38 +0100)]
Always regenerate policy queue exports.
Otherwise outdated symlinks will be kept around for a while after
dak new-security-install was run until cron.unchecked does some real
work again.
Ansgar Burchardt [Sun, 4 Nov 2012 18:00:11 +0000 (19:00 +0100)]
dak/make_changelog.py: use correct column name
Ansgar Burchardt [Sun, 4 Nov 2012 17:59:01 +0000 (18:59 +0100)]
make_changelog.py: typo
Ansgar Burchardt [Sun, 4 Nov 2012 17:44:11 +0000 (18:44 +0100)]
Only move accepted files in cron.unchecked
This avoids triggering the taint check in spawn().
Ansgar Burchardt [Sun, 4 Nov 2012 17:24:17 +0000 (18:24 +0100)]
dak/export_suite.py: add workaround to allow exporting broken build queues
Ansgar Burchardt [Sun, 4 Nov 2012 17:12:25 +0000 (18:12 +0100)]
config/debian-security/cron.unchecked: export policy queues in old format
Ansgar Burchardt [Sun, 4 Nov 2012 17:02:45 +0000 (18:02 +0100)]
config/debian-security/cron.weekly: only regenerate Release for public archive
Ansgar Burchardt [Sun, 4 Nov 2012 17:02:26 +0000 (18:02 +0100)]
config/debian-security/cron.daily: use explicit list of suites
Ansgar Burchardt [Sun, 4 Nov 2012 16:52:49 +0000 (17:52 +0100)]
config/debian-security/cron.unchecked: just run process-policy to see if there were files to process
Ansgar Burchardt [Sun, 4 Nov 2012 16:51:59 +0000 (17:51 +0100)]
dak/new_security_install.py: remove reference to newstage
Ansgar Burchardt [Sun, 4 Nov 2012 16:37:24 +0000 (17:37 +0100)]
config/debian-security/cron.unchecked: fix gpg call, use correct description
Ansgar Burchardt [Sun, 4 Nov 2012 16:26:35 +0000 (17:26 +0100)]
daklib/archive.py (install_source): always copy source files to target archive
Ansgar Burchardt [Sun, 4 Nov 2012 15:58:36 +0000 (16:58 +0100)]
dak/export_suite.py: same file might be in multiple components
Use first() instead of one() in case the file is available in multiple
components.
Ansgar Burchardt [Sun, 4 Nov 2012 15:51:49 +0000 (16:51 +0100)]
dak/export_suite.py: take archive file for the archive we are exporting from
Ansgar Burchardt [Sun, 4 Nov 2012 15:27:40 +0000 (16:27 +0100)]
config/debian-security/cron.unchecked: pass right override file
apt-ftparchive appends '.src' on its own when generating Sources.
Ansgar Burchardt [Sun, 4 Nov 2012 15:26:21 +0000 (16:26 +0100)]
Revert "config/debian/common: pass source overrides to apt-ftparchive sources"
This reverts commit
f92f5bd318e254805016bb9b92ee683f912d3cf2 .
Ansgar Burchardt [Sun, 4 Nov 2012 14:57:05 +0000 (15:57 +0100)]
daklib/archive.py (_binary_override): evaluate component mapping
Ansgar Burchardt [Sun, 4 Nov 2012 14:53:01 +0000 (15:53 +0100)]
daklib/archive.py: add warning explaining why a package is NEW
Ansgar Burchardt [Sun, 4 Nov 2012 14:52:35 +0000 (15:52 +0100)]
dak/process_upload.py: show warnings when processing upload
Ansgar Burchardt [Sun, 4 Nov 2012 14:52:14 +0000 (15:52 +0100)]
dak/dakdb/update75.py: handle "/" in component names.
Ansgar Burchardt [Sun, 4 Nov 2012 13:58:04 +0000 (14:58 +0100)]
make-changelog: add archive option
We do not want to export changelogs for policy queues such as embargoed.
Ansgar Burchardt [Sun, 4 Nov 2012 13:37:24 +0000 (14:37 +0100)]
config/debian-security/*: More updates for multiarchive changes.
Ansgar Burchardt [Sun, 4 Nov 2012 13:35:43 +0000 (14:35 +0100)]
config/debian/common: pass source overrides to apt-ftparchive sources
Ansgar Burchardt [Sun, 4 Nov 2012 13:09:12 +0000 (14:09 +0100)]
config/debian-security/cron.*: update for multiarchive changes
First set of updates for multiarchive changes.
Ansgar Burchardt [Sun, 4 Nov 2012 12:53:49 +0000 (13:53 +0100)]
dak/new_security_install.py: Update for multiarchive changes.
newstage is gone. Instead we need to run process-policy and grab
accepted files from $queuedir/accepted.
Ansgar Burchardt [Sun, 4 Nov 2012 12:45:42 +0000 (13:45 +0100)]
dak/process_policy.py: Add option to copy accepted packages somewhere
To sync packages accepted into the security archive to the main archive
we need to grab all accepted uploads. The right time to do so is when we
install them from the policy queue into the public archive, ie. in
process-policy.
Ansgar Burchardt [Sun, 4 Nov 2012 11:19:36 +0000 (12:19 +0100)]
dak/generate_releases.py: create worker pool before connection to database
We do not want to have the file descriptor for the database connection
in the worker processes.
Ansgar Burchardt [Wed, 24 Oct 2012 21:34:05 +0000 (23:34 +0200)]
import_dataset.sh: use shell redirection instead of cat
This will give an error when ${INPUTFILE} does not exist instead of feeding an
empty input to control-suite.
Ansgar Burchardt [Fri, 12 Oct 2012 08:20:01 +0000 (10:20 +0200)]
include only packages in the right component in Sources
Having overrides for the same package in multiple components should not
cause source packages to be listed in the wrong Sources index.
Reference: https://lists.debian.org/debian-mirrors/2012/09/msg00020.html
Ansgar Burchardt [Wed, 10 Oct 2012 16:50:41 +0000 (18:50 +0200)]
dak/generate_releases.py: also add the ugly hack for wheezy-updates
Ansgar Burchardt [Wed, 10 Oct 2012 16:40:42 +0000 (18:40 +0200)]
config/debian/dak.conf: add suite map for {wheezy,testing}-updates
Ansgar Burchardt [Sun, 7 Oct 2012 14:43:46 +0000 (16:43 +0200)]
dak/examine_package.py: remove confusing parentheses
Ansgar Burchardt [Sun, 7 Oct 2012 14:42:42 +0000 (16:42 +0200)]
Merge remote-tracking branch 'dktrkranz/fixes'
Ansgar Burchardt [Sun, 7 Oct 2012 14:32:20 +0000 (16:32 +0200)]
scripts/debian/sync-dd: rsync should stay quiet
Luca Falavigna [Sun, 7 Oct 2012 14:02:04 +0000 (14:02 +0000)]
Pass basename as title parameter to foldable_output function
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Ansgar Burchardt [Sun, 7 Oct 2012 13:15:11 +0000 (15:15 +0200)]
scripts/debian/sync-dd: add two missing backslashes
Ansgar Burchardt [Sun, 7 Oct 2012 13:10:29 +0000 (15:10 +0200)]
push mirror on ries instead of having ries pull from franck
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 .