]>
git.decadent.org.uk Git - dak.git/log
Joerg Jaspert [Sat, 1 Oct 2011 13:39:41 +0000 (15:39 +0200)]
much better
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 6 Sep 2011 20:40:29 +0000 (22:40 +0200)]
Merge remote-tracking branch 'ansgar/add-missing-source-checksums' into merge
* ansgar/add-missing-source-checksums:
Move query for add-missing-source-checksums to Python code
Add missing checksums for source packages.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Tue, 6 Sep 2011 18:20:27 +0000 (18:20 +0000)]
Move query for add-missing-source-checksums to Python code
There is no real need for using a stored procedure and having the query
in the normal code makes future changes easier.
Joerg Jaspert [Mon, 5 Sep 2011 20:14:06 +0000 (22:14 +0200)]
Merge remote-tracking branch 'ansgar/description-md5' into merge
* ansgar/description-md5:
Delay setting up worker pool.
gps2: Add -o option to set arbitrary configuration options.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 5 Sep 2011 20:11:15 +0000 (22:11 +0200)]
Merge remote-tracking branch 'ansgar/britney-changelog' into merge
* ansgar/britney-changelog:
Fix britney_changelog.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Mon, 5 Sep 2011 19:28:25 +0000 (19:28 +0000)]
Delay setting up worker pool.
We need to delay creating the worker pool until we have parsed the
command line options so that changes also take effect in child
processes.
Ansgar Burchardt [Mon, 5 Sep 2011 19:27:41 +0000 (19:27 +0000)]
gps2: Add -o option to set arbitrary configuration options.
Ansgar Burchardt [Mon, 5 Sep 2011 08:49:56 +0000 (08:49 +0000)]
Fix britney_changelog.
674e520b01fd361fc2d88909f7da8ca3ed97d60c changed the keys in the package
list from a string to a tuple. This patch adapts britney_changelog to
this change.
Ansgar Burchardt [Sun, 4 Sep 2011 21:58:09 +0000 (21:58 +0000)]
Add missing checksums for source packages.
Add a new subcommand, dak check-archive add-missing-source-checksums, to
add missing checksums for source packages to source_metadata.
Bug: http://bugs.debian.org/637563
Joerg Jaspert [Sun, 4 Sep 2011 19:06:24 +0000 (21:06 +0200)]
Merge remote-tracking branch 'mhy/override-cs-db' into merge
* mhy/override-cs-db:
Bump db version to 70
Change make_overrides to use database config
Use database for check_overrides configuration
Move sanity check to use database
Actually apply database update 69
Add database fields to support overrides and c-s
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sun, 4 Sep 2011 18:17:20 +0000 (19:17 +0100)]
Bump db version to 70
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sun, 4 Sep 2011 18:17:03 +0000 (19:17 +0100)]
Merge remote branch 'ftpmaster/master' into override-cs-db
Conflicts:
dak/dakdb/update69.py
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sun, 4 Sep 2011 13:07:29 +0000 (15:07 +0200)]
Merge remote-tracking branch 'ansgar/description-md5' into merge
* ansgar/description-md5:
Rename dakdb/update67.py -> dakdb/update69.py
generate-packages-sources2: add --description-md5 option
Include a trailing newline for the hash.
generate-packages-sources2: Add support for Description-md5
Add database support for Description-md5
add TranslationFileWriter
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sun, 4 Sep 2011 12:53:45 +0000 (14:53 +0200)]
Merge remote-tracking branch 'origin/master' into description-md5
Conflicts:
dak/update_db.py
Ansgar Burchardt [Sun, 4 Sep 2011 12:52:49 +0000 (14:52 +0200)]
Rename dakdb/update67.py -> dakdb/update69.py
Joerg Jaspert [Sun, 4 Sep 2011 12:50:31 +0000 (14:50 +0200)]
Merge remote-tracking branch 'ansgar/control-suite-sort-by-version' into merge
* ansgar/control-suite-sort-by-version:
control-suite: sort list of desired packages as intended
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 4 Sep 2011 12:49:42 +0000 (14:49 +0200)]
Merge remote-tracking branch 'ansgar/rm' into merge
* ansgar/rm:
Use sub-SELECT instead of LEFT OUTER JOIN.
Check broken dependencies for arch-all packages only once.
Get rid of WITH.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 4 Sep 2011 12:39:08 +0000 (14:39 +0200)]
And one more lintian reject, nonfatal
added bad-perm-for-file-in-etc-sudoers.d to nonfatal rejects, (Closes: #632466)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 3 Sep 2011 14:51:42 +0000 (16:51 +0200)]
add a fatal lintian tag. closes #637389
add udeb-uses-non-gzip-data-tarball as a fatal lintian tag, which closes #637389
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Fri, 2 Sep 2011 20:48:24 +0000 (21:48 +0100)]
Change make_overrides to use database config
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 2 Sep 2011 20:45:05 +0000 (21:45 +0100)]
Use database for check_overrides configuration
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 2 Sep 2011 20:34:04 +0000 (21:34 +0100)]
Move sanity check to use database
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 2 Sep 2011 20:33:53 +0000 (21:33 +0100)]
Actually apply database update 69
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 2 Sep 2011 20:29:55 +0000 (21:29 +0100)]
Add database fields to support overrides and c-s
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 2 Sep 2011 17:09:16 +0000 (18:09 +0100)]
Enhance source package/version handling when adding a binary deb
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Thu, 1 Sep 2011 21:07:47 +0000 (22:07 +0100)]
Make permissions cascade properly
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Thu, 1 Sep 2011 20:32:07 +0000 (21:32 +0100)]
Add missing python-debian dependency
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Wed, 31 Aug 2011 10:09:21 +0000 (11:09 +0100)]
Update current schema dump to v68
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Wed, 31 Aug 2011 10:07:25 +0000 (11:07 +0100)]
Fix incorrect update number
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Wed, 31 Aug 2011 10:05:55 +0000 (11:05 +0100)]
Clean out unused languages
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Wed, 31 Aug 2011 10:00:56 +0000 (11:00 +0100)]
Don't use old style exception syntax
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Wed, 31 Aug 2011 09:42:55 +0000 (10:42 +0100)]
Merge remote branch 'ansgar/clean-suites'
Signed-off-by: Mark Hymers <mhy@debian.org>
Ansgar Burchardt [Wed, 31 Aug 2011 08:08:33 +0000 (08:08 +0000)]
Use sub-SELECT instead of LEFT OUTER JOIN.
Ansgar Burchardt [Tue, 30 Aug 2011 21:08:26 +0000 (21:08 +0000)]
Check broken dependencies for arch-all packages only once.
Ansgar Burchardt [Tue, 30 Aug 2011 20:58:47 +0000 (20:58 +0000)]
Get rid of WITH.
Mark Hymers [Sun, 28 Aug 2011 19:23:24 +0000 (20:23 +0100)]
Merge remote branch 'ansgar/auditpackages'
Signed-off-by: Mark Hymers <mhy@debian.org>
Torsten Werner [Wed, 24 Aug 2011 18:38:25 +0000 (20:38 +0200)]
Replace deprecated sys.exc_type and sys.exc_value.
This is deprecated since Python 1.5!
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 24 Aug 2011 18:33:44 +0000 (20:33 +0200)]
Remove deprecated xreadlines().
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 24 Aug 2011 18:27:22 +0000 (20:27 +0200)]
Convert raise statement to Python 2.6.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 24 Aug 2011 18:15:32 +0000 (20:15 +0200)]
Don't import with_statement from __future__.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 24 Aug 2011 18:04:17 +0000 (20:04 +0200)]
Convert octal literals to Python 2.6 syntax.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 24 Aug 2011 17:12:09 +0000 (19:12 +0200)]
Convert exception handling to Python3 syntax.
That works in Python >= 2.6.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 24 Aug 2011 16:46:30 +0000 (18:46 +0200)]
String exceptions do not work in Python >= 2.6.
Signed-off-by: Torsten Werner <twerner@debian.org>
Ansgar Burchardt [Wed, 24 Aug 2011 12:34:13 +0000 (14:34 +0200)]
Merge remote-tracking branch 'origin/master' into auditpackages
Conflicts:
dak/update_db.py
Ansgar Burchardt [Wed, 24 Aug 2011 12:33:36 +0000 (14:33 +0200)]
rename update66.py to update67.py
Joerg Jaspert [Tue, 23 Aug 2011 20:48:26 +0000 (22:48 +0200)]
Merge remote-tracking branch 'drkranz/rm' into merge
* drkranz/rm:
rm.py: ignore binNMU versions
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Mon, 22 Aug 2011 14:49:02 +0000 (14:49 +0000)]
rm.py: ignore binNMU versions
dak rm sometimes complains when closing bugs for
packages with multiple package versions.
Most of the times this is due to binNMUs, so don't
consider their versions.
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Ansgar Burchardt [Mon, 22 Aug 2011 12:15:08 +0000 (12:15 +0000)]
clean-suites: preserve source packages referenced in extra_src_references
Ansgar Burchardt [Mon, 22 Aug 2011 11:15:53 +0000 (11:15 +0000)]
control-suite: sort list of desired packages as intended
The list of desired packages contained a string of the form
"package-name version architecture". Sorting with cmp_package_version
would sort this my the first two characters of the package name which is
not what was intended.
With this patch, the list instead contains tuples which means
cmp_package_version can now sort the list as intended.
Ansgar Burchardt [Sun, 21 Aug 2011 20:38:38 +0000 (20:38 +0000)]
generate-packages-sources2: add --description-md5 option
In order to use Description-md5 instead of Description in the Packages
index, this option needs to be set in addition to setting
suite.include_long_descriptions to false.
It will likely be removed again later.
Joerg Jaspert [Sun, 21 Aug 2011 19:59:38 +0000 (21:59 +0200)]
Merge remote-tracking branch 'ansgar/control-suite-sort-by-version' into merge
* ansgar/control-suite-sort-by-version:
admin: fix a typo
control-suite: remove packages after adding new ones
control-suite: sort list by (package-name, version)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sun, 21 Aug 2011 19:50:08 +0000 (19:50 +0000)]
admin: fix a typo
Ansgar Burchardt [Sun, 21 Aug 2011 19:47:43 +0000 (19:47 +0000)]
control-suite: remove packages after adding new ones
We have to add package before removing those no longer wanted. Otherwise
an old version could enter a suite without us noticing (as the old
version would already be gone and thus no version check violated).
Ansgar Burchardt [Sun, 21 Aug 2011 19:42:31 +0000 (19:42 +0000)]
control-suite: sort list by (package-name, version)
Having multiple versions of the same package in a suite should be
possible, but we need to add the package with the lower version first to
ensure that version checks are not violated.
Ansgar Burchardt [Fri, 19 Aug 2011 20:06:02 +0000 (20:06 +0000)]
Include a trailing newline for the hash.
Ansgar Burchardt [Fri, 19 Aug 2011 18:05:42 +0000 (20:05 +0200)]
Set search_path to a secure value.
Ansgar Burchardt [Fri, 19 Aug 2011 17:56:09 +0000 (17:56 +0000)]
generate-packages-sources2: Add support for Description-md5
Ansgar Burchardt [Fri, 19 Aug 2011 17:25:31 +0000 (17:25 +0000)]
Add database support for Description-md5
Ansgar Burchardt [Fri, 19 Aug 2011 15:37:20 +0000 (15:37 +0000)]
add TranslationFileWriter
Torsten Werner [Thu, 18 Aug 2011 17:31:11 +0000 (17:31 +0000)]
Add 2 partial indexes to db to speed up dak rm.
Signed-off-by: Torsten Werner <twerner@debian.org>
Ansgar Burchardt [Mon, 15 Aug 2011 22:06:27 +0000 (00:06 +0200)]
Rewrite trigger functions in plpgsql.
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
Joerg Jaspert [Mon, 15 Aug 2011 20:38:43 +0000 (22:38 +0200)]
Merge remote-tracking branch 'ansgar/rm' into merge
* ansgar/rm:
Use WITH statement instead of a temporary table
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Mon, 15 Aug 2011 20:13:50 +0000 (21:13 +0100)]
Log updates more sanely and give appropriate warnings
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Mon, 15 Aug 2011 19:51:30 +0000 (20:51 +0100)]
Add SQL triggers for package audits
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sun, 14 Aug 2011 10:10:57 +0000 (12:10 +0200)]
copyoverrides
we do want to work with the basename, not the full path of the file here
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 13 Aug 2011 21:36:07 +0000 (23:36 +0200)]
copyoverrides
make copyoverrides() function MUCH simpler and let it export all
the overrides, it was missing stuff which let to problems with
security archive.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 13 Aug 2011 11:41:29 +0000 (13:41 +0200)]
Merge remote-tracking branch 'drkranz/mail' into merge
* drkranz/mail:
Check whether GPG key has a @debian.org uid, and use it
Make sure uid_email is a valid email address
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Fri, 12 Aug 2011 21:05:46 +0000 (21:05 +0000)]
Use WITH statement instead of a temporary table
Torsten Werner [Thu, 11 Aug 2011 20:42:27 +0000 (22:42 +0200)]
Merge branch 'master' into rm
Torsten Werner [Thu, 11 Aug 2011 20:31:38 +0000 (20:31 +0000)]
add primary key
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 11 Aug 2011 19:52:14 +0000 (19:52 +0000)]
yet another fix
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 11 Aug 2011 19:24:27 +0000 (19:24 +0000)]
fix sql statement in rm.py
Signed-off-by: Torsten Werner <twerner@debian.org>
Luca Falavigna [Thu, 11 Aug 2011 13:46:47 +0000 (13:46 +0000)]
Check whether GPG key has a @debian.org uid, and use it
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Fri, 29 Jul 2011 08:14:17 +0000 (08:14 +0000)]
Make sure uid_email is a valid email address
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Mark Hymers [Wed, 10 Aug 2011 20:53:09 +0000 (21:53 +0100)]
Update schema to 65
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Wed, 10 Aug 2011 19:59:27 +0000 (20:59 +0100)]
Merge remote branch 'ftpmaster/master'
Mark Hymers [Wed, 10 Aug 2011 19:59:23 +0000 (20:59 +0100)]
Make suite.announce an ARRAY
Signed-off-by: Mark Hymers <mhy@debian.org>
Torsten Werner [Wed, 10 Aug 2011 08:04:21 +0000 (10:04 +0200)]
fix last commit: return [] instead of None
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 10 Aug 2011 07:08:39 +0000 (09:08 +0200)]
get_suite_architectures() can return None
Signed-off-by: Torsten Werner <twerner@debian.org>
Mark Hymers [Sun, 31 Jul 2011 10:49:25 +0000 (11:49 +0100)]
Set overridecodename by default
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 21:26:52 +0000 (22:26 +0100)]
Give slightly nicer error message on db conn failure
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 20:55:49 +0000 (21:55 +0100)]
Fix NoMail case
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 20:52:03 +0000 (21:52 +0100)]
Document Depends more clearly
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 14:33:18 +0000 (15:33 +0100)]
Make it easier to spot if psql fails
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 12:57:10 +0000 (13:57 +0100)]
Merge remote branch 'ftpmaster/master'
Mark Hymers [Sat, 30 Jul 2011 12:54:27 +0000 (13:54 +0100)]
Bail out earlier
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 12:54:04 +0000 (13:54 +0100)]
Don't say we're sending mail when we're not
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 09:37:14 +0000 (10:37 +0100)]
Merge remote branch 'ftpmaster/master'
Mark Hymers [Sat, 30 Jul 2011 09:36:30 +0000 (10:36 +0100)]
Add docs that the secret key only needs to be able to sign
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 09:34:32 +0000 (10:34 +0100)]
Ensure we have a session so that we can look up srcformats
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 09:28:27 +0000 (10:28 +0100)]
Simplify src_format handling
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 08:43:12 +0000 (09:43 +0100)]
Merge remote branch 'ftpmaster/master'
Mark Hymers [Sat, 30 Jul 2011 08:40:59 +0000 (09:40 +0100)]
Use /bin/bash as dak's shell
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 08:37:43 +0000 (09:37 +0100)]
Clean up account creation instructions
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 08:34:04 +0000 (09:34 +0100)]
Use --system
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 08:20:29 +0000 (09:20 +0100)]
Merge remote branch 'mhy/master'
Mark Hymers [Sat, 30 Jul 2011 07:12:29 +0000 (08:12 +0100)]
Cope with missing suite
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 07:09:48 +0000 (08:09 +0100)]
Remove unreferenced variable from config
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 30 Jul 2011 06:53:19 +0000 (07:53 +0100)]
Remove unused template
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Fri, 29 Jul 2011 22:35:15 +0000 (23:35 +0100)]
Merge remote branch 'mhy/master'