Philipp Kern [Thu, 28 Aug 2008 20:47:22 +0000 (22:47 +0200)]
implement sensible handling of checksum fields in .changes and .dsc
2008-08-28 Philipp Kern <pkern@debian.org>
* daklib/utils.py (check_hashes): adapt to different API, check
sizes separately
* daklib/utils.py (parse_changes, parse_deb822): refactor
the string-based logic of parse_changes into a new function
parse_deb822; parse_changes itself remains file-based
* daklib/utils.py (hash_key): gives the key of a hash in the
files dict
* daklib/utils.py (create_hash, check_size): made more readable
* daklib/utils.py (check_hash): just check the hashes and complain
about missing checksums
* daklib/utils.py (check_hash_fields): function to reject unknown
checksums fields
* daklib/utils.py (_ensure_changes_hash, _ensure_dsc_hash): helper
functions for ensure_hashes; check their corresponding manifests'
hashes
* daklib/utils.py (ensure_hashes): retrieve the checksums fields
from the original filecontents blob so that they do not need to
be present in the .dak; refactored the actual checks by calling
the aforementioned helper functions
* daklib/utils.py (parse_checksums): parse a given checksums field
in a manifest and insert the values found into the files dict,
checking the file sizes on the way
Joerg Jaspert [Tue, 12 Aug 2008 14:12:34 +0000 (16:12 +0200)]
* config/debian/cron.dinstall: Complicate the i18n export a little
by using date/hour based directories which we then link into the
web view. They contain a signed timestamp file now, which means
the i18n people can take a long time to generate files, yet we
still know exactly on which dataset their data is based on, and
can then verify it with that. Ensures we only get descriptions for
packages we know off (or knew of in the past 2 days).
Joerg Jaspert [Fri, 8 Aug 2008 18:50:12 +0000 (20:50 +0200)]
Merge commit 'pkern/master'
* commit 'pkern/master':
dak/process_new.py: fix up binary diversion into various queues
dak/process_new.py: handle uploads to (oldstable)-proposed-updates differently
Joerg Jaspert [Fri, 8 Aug 2008 12:24:41 +0000 (12:24 +0000)]
Gah, apt is a piece of shit. Well, it expects the uncompressed
Packages files in the Release file to appear, so lets generate them.
Also make sure we dont have empty release files listed...
Philipp Kern [Thu, 7 Aug 2008 22:57:11 +0000 (19:57 -0300)]
dak/process_new.py: handle uploads to (oldstable)-proposed-updates differently
Uploads targetting proposed-updates used to hit NEW first and were going
to proposed-updates without further review by SRM afterwards. This patch
fixes this behaviour by sending the upload to p-u-new after NEW processing.
If an upload is sourceful it is moved right away. If it is not its
corresponding source is searched in p-u holding, new, accepted and
in the archive and moved appropriately into the right queue.
Add a script to fetch the wanna-build-database from
http://buildd.debian.org/stats/, call this script from cron.weekly, and
document this change in the ChangeLog.
Joerg Jaspert [Sun, 15 Jun 2008 01:36:09 +0000 (03:36 +0200)]
To avoid dangling current symlink and have the latest dump easily readable - compress only psql dumps older than a day, ie keep todays ones uncompressed
Joerg Jaspert [Sat, 14 Jun 2008 22:32:42 +0000 (00:32 +0200)]
Merge branch 'master' of git://git.debian.org/git/users/otavio/dak into small_fixes
* 'master' of git://git.debian.org/git/users/otavio/dak:
docs/manpages/clean-suites.1.sgml: Minor typo fix
dak/import_archive.py: Add support to udeb packages
dak/control_suite.py (main): Handle SystemError exception in case of a incompatible commandline parameter
dak/check_overrides.py (main): Use case-insensitive comparing for codename
Stephen Gran [Sat, 10 May 2008 18:08:15 +0000 (19:08 +0100)]
Quiet perl warnings. Ganneff: this means changing config - I tried to stay
away from that the first time around, since I wanted to ignore some values
that no longer matter, but now I'm reusing them so we don't get 'variable
only used once' warnings.