]> git.decadent.org.uk Git - dak.git/log
dak.git
8 years agoMerge branch 'master' into auto-decruft-passive
Niels Thykier [Thu, 11 Jun 2015 11:36:04 +0000 (13:36 +0200)]
Merge branch 'master' into auto-decruft-passive

Conflicts:
dak/generate_filelist.py

8 years agoRemove old implementation of generate-packages-sources
Ansgar Burchardt [Tue, 9 Jun 2015 19:18:56 +0000 (21:18 +0200)]
Remove old implementation of generate-packages-sources

This patch removes the old implementation of generate-packages-sources
that used apt-ftparchive instead of the metadata in the Postgres
database.

8 years agodaklib/queue.py: Remove unneeded imports.
Ansgar Burchardt [Mon, 8 Jun 2015 22:50:19 +0000 (00:50 +0200)]
daklib/queue.py: Remove unneeded imports.

8 years agoRemove obsolete daklib/holding.py.
Ansgar Burchardt [Mon, 8 Jun 2015 22:46:50 +0000 (00:46 +0200)]
Remove obsolete daklib/holding.py.

8 years agoRemove old database schema update scripts
Ansgar Burchardt [Mon, 8 Jun 2015 22:31:07 +0000 (00:31 +0200)]
Remove old database schema update scripts

Some very old schema update scripts make use of obsolete code and
would need to be updated to keep working. Just remove them instead.

8 years agoRewrite auto-decruft to group removals
Niels Thykier [Mon, 8 Jun 2015 06:24:13 +0000 (08:24 +0200)]
Rewrite auto-decruft to group removals

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agodaklib/rm: Add a fitting dak-quote
Niels Thykier [Sun, 7 Jun 2015 09:38:42 +0000 (11:38 +0200)]
daklib/rm: Add a fitting dak-quote

Which doubles as a fitting disclaimer too.

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoauto-decruft: Batch check source-less cruft
Niels Thykier [Sun, 7 Jun 2015 10:46:09 +0000 (12:46 +0200)]
auto-decruft: Batch check source-less cruft

Add a ReverseDependencyChecker class for bulk testing breakage in
reverse dependencies and use it in the auto-decrufter.

At this point, disable the NBS removal - it will be re-added in the
next commit.

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoauto-decruft: Fix wording of removal message
Niels Thykier [Sun, 7 Jun 2015 09:37:48 +0000 (11:37 +0200)]
auto-decruft: Fix wording of removal message

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoauto-decruft: Use bind variables
Niels Thykier [Sun, 7 Jun 2015 09:30:21 +0000 (11:30 +0200)]
auto-decruft: Use bind variables

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoauto_decruft: Fix typo
Niels Thykier [Sun, 7 Jun 2015 09:27:44 +0000 (11:27 +0200)]
auto_decruft: Fix typo

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoutils: Use a set rather than list
Niels Thykier [Sun, 7 Jun 2015 08:10:48 +0000 (10:10 +0200)]
utils: Use a set rather than list

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoutils: Drop unused fields from database query
Niels Thykier [Sun, 7 Jun 2015 07:38:10 +0000 (09:38 +0200)]
utils: Drop unused fields from database query

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoutils: Avoid some throw away collections
Niels Thykier [Sun, 7 Jun 2015 06:41:14 +0000 (08:41 +0200)]
utils: Avoid some throw away collections

Avoid creating collections that are thrown away after a single (or
even zero) uses.

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agogenerate_filelist.py: Fix typo
Niels Thykier [Sun, 7 Jun 2015 10:09:02 +0000 (12:09 +0200)]
generate_filelist.py: Fix typo

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoUpdate, jessie 8.1
Joerg Jaspert [Sat, 6 Jun 2015 11:32:28 +0000 (13:32 +0200)]
Update, jessie 8.1

Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoutils: Add a quiet=False parameter to check_reverse_depends
Niels Thykier [Sat, 6 Jun 2015 10:25:22 +0000 (12:25 +0200)]
utils: Add a quiet=False parameter to check_reverse_depends

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoAdd dak auto-decruft command based on cruft-report
Niels Thykier [Sat, 6 Jun 2015 09:41:35 +0000 (11:41 +0200)]
Add dak auto-decruft command based on cruft-report

The new auto-decruft command automatically removes:

 * sourceless binaries
 * NBS

When the removals can be done without breaking any reverse
dependencies.

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoMove two queries from cruft_report to daklib/cruft
Niels Thykier [Sat, 6 Jun 2015 08:22:25 +0000 (10:22 +0200)]
Move two queries from cruft_report to daklib/cruft

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoExtract a "remove" method from "dak rm"
Niels Thykier [Sat, 6 Jun 2015 07:57:33 +0000 (09:57 +0200)]
Extract a "remove" method from "dak rm"

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoRemove more obsolete code.
Ansgar Burchardt [Thu, 28 May 2015 21:48:17 +0000 (23:48 +0200)]
Remove more obsolete code.

8 years agoRemove obsolete code.
Ansgar Burchardt [Thu, 28 May 2015 21:15:12 +0000 (23:15 +0200)]
Remove obsolete code.

8 years agodakweb: add -a option for madison
Julien Cristau [Mon, 25 May 2015 14:41:36 +0000 (16:41 +0200)]
dakweb: add -a option for madison

Signed-off-by: Julien Cristau <jcristau@debian.org>
8 years agoRe-enable TLS for LDAP
Ansgar Burchardt [Mon, 18 May 2015 18:48:40 +0000 (20:48 +0200)]
Re-enable TLS for LDAP

CACERTFILE now must point to a CA, using service certificates directly
doesn't work.

Also use per-connection settings for TLS. Note that the order of
set_option calls matters (setting ldap.OPT_X_TLS_NEWCTX first
fails)...

8 years agoDo not require TLS for LDAP.
Ansgar Burchardt [Mon, 18 May 2015 18:12:40 +0000 (20:12 +0200)]
Do not require TLS for LDAP.

Somehow this broke with the upgrade to Debian 8. As the information is
more or less informational (connect keys to accounts), do not require
TLS for LDAP connections for a moment.

8 years agoapache.conf: merge changes from upgrade to Debian 8
Ansgar Burchardt [Sun, 17 May 2015 10:12:51 +0000 (12:12 +0200)]
apache.conf: merge changes from upgrade to Debian 8

8 years agodak.conf: update path to db.debian.org certificate
Ansgar Burchardt [Sat, 16 May 2015 21:41:35 +0000 (23:41 +0200)]
dak.conf: update path to db.debian.org certificate

8 years agodocs: Add notes from Jessie release.
Ansgar Burchardt [Sat, 16 May 2015 17:39:39 +0000 (19:39 +0200)]
docs: Add notes from Jessie release.

8 years agoupdate-bugdoctxt: set SSL_CERT_FILE when calling lynx
Ansgar Burchardt [Sat, 16 May 2015 13:25:58 +0000 (15:25 +0200)]
update-bugdoctxt: set SSL_CERT_FILE when calling lynx

lynx doesn't seem able to use the service certificates in
/etc/ssl/certs and the SSL_CERT_DIR environment variable doesn't seem
to work either.

While at it, also run lynx as the dak-unpriv user.

8 years agodeleteAssociations: handle empty idList
Ansgar Burchardt [Sat, 16 May 2015 13:19:35 +0000 (15:19 +0200)]
deleteAssociations: handle empty idList

8 years agoUse apt_pkg.parse_src_depends to parse Build-Depends(-Indep)
Ansgar Burchardt [Sat, 16 May 2015 12:22:30 +0000 (14:22 +0200)]
Use apt_pkg.parse_src_depends to parse Build-Depends(-Indep)

apt_pkg.parse_depends does not handle all features allowed in the
Build-Depends(-Indep) fields. In particular it gives an error when
Build-Depends contains restriction formulas as used for build
profiles.

8 years agoAdd --ca-directory=/etc/ssl/ca-debian to wget options.
Ansgar Burchardt [Sat, 16 May 2015 12:03:59 +0000 (14:03 +0200)]
Add --ca-directory=/etc/ssl/ca-debian to wget options.

8 years agodebianqueued: switch to Email::Sender
Ansgar Burchardt [Sat, 16 May 2015 09:17:52 +0000 (11:17 +0200)]
debianqueued: switch to Email::Sender

Email::Send is deprecated and not part of Debian 8 (Jessie).

8 years agodebian-security: import new security updates into stable-kfreebsd
Ansgar Burchardt [Thu, 14 May 2015 09:42:58 +0000 (11:42 +0200)]
debian-security: import new security updates into stable-kfreebsd

8 years agoNo, we don't need to see this output, halt die klappe cron
Joerg Jaspert [Mon, 11 May 2015 08:11:45 +0000 (10:11 +0200)]
No, we don't need to see this output, halt die klappe cron

8 years agoExclude tiffani/ from dd-sync and shut up cron
Joerg Jaspert [Mon, 11 May 2015 08:01:17 +0000 (10:01 +0200)]
Exclude tiffani/ from dd-sync and shut up cron

its a state dir only and files change too often so rsync gets annoyed
which in turn annoys cron which hands that over to ftpmasters, who
dont like it. AWAY, you mails.

8 years agopublic mirror is not ries
Joerg Jaspert [Mon, 11 May 2015 07:53:39 +0000 (09:53 +0200)]
public mirror is not ries

9 years agoMerge remote-tracking branch 'dktrkranz/releases'
Ansgar Burchardt [Fri, 8 May 2015 08:50:19 +0000 (10:50 +0200)]
Merge remote-tracking branch 'dktrkranz/releases'

9 years agoAnd another case of "shutup, cron"
Joerg Jaspert [Fri, 8 May 2015 08:11:44 +0000 (10:11 +0200)]
And another case of "shutup, cron"

9 years agoAdd jessie freeze and release dates
Luca Falavigna [Fri, 8 May 2015 06:57:28 +0000 (06:57 +0000)]
Add jessie freeze and release dates

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
9 years agoShutup unchecked
Joerg Jaspert [Wed, 6 May 2015 15:31:42 +0000 (17:31 +0200)]
Shutup unchecked

9 years agomake-mirror shutup
Joerg Jaspert [Wed, 6 May 2015 15:20:50 +0000 (17:20 +0200)]
make-mirror shutup

9 years agoSilence dak generate-releases
Joerg Jaspert [Thu, 30 Apr 2015 07:18:44 +0000 (09:18 +0200)]
Silence dak generate-releases

9 years agoSend buildd notifications for oldstable again.
Ansgar Burchardt [Tue, 28 Apr 2015 07:17:02 +0000 (09:17 +0200)]
Send buildd notifications for oldstable again.

9 years agoDocument how to import additional sources into the security archive.
Ansgar Burchardt [Mon, 27 Apr 2015 12:13:05 +0000 (14:13 +0200)]
Document how to import additional sources into the security archive.

9 years agoDo not require overridecodename to be set.
Ansgar Burchardt [Mon, 27 Apr 2015 08:52:58 +0000 (10:52 +0200)]
Do not require overridecodename to be set.

9 years agoMake sure ${exportdir} for stable-new exists.
Ansgar Burchardt [Mon, 27 Apr 2015 08:52:17 +0000 (10:52 +0200)]
Make sure ${exportdir} for stable-new exists.

9 years agoMake "mirrordir" a local variable.
Ansgar Burchardt [Mon, 27 Apr 2015 08:51:49 +0000 (10:51 +0200)]
Make "mirrordir" a local variable.

9 years agoupdate-suite: Handle case of not installing new packages.
Ansgar Burchardt [Sun, 26 Apr 2015 10:33:57 +0000 (12:33 +0200)]
update-suite: Handle case of not installing new packages.

9 years agoAdd missing import for NoResultFound.
Ansgar Burchardt [Sun, 26 Apr 2015 07:16:46 +0000 (09:16 +0200)]
Add missing import for NoResultFound.

9 years agoadd-build-queue: Fix format string in error message.
Ansgar Burchardt [Sat, 25 Apr 2015 08:54:11 +0000 (10:54 +0200)]
add-build-queue: Fix format string in error message.

9 years agoSwitch to "jessie" as stable.
Ansgar Burchardt [Sat, 25 Apr 2015 08:49:14 +0000 (10:49 +0200)]
Switch to "jessie" as stable.

9 years agoNo longer generate override.*.all3{,.src}
Ansgar Burchardt [Sat, 25 Apr 2015 08:43:25 +0000 (10:43 +0200)]
No longer generate override.*.all3{,.src}

The buildd support no longer needs these files.

9 years agoupdate-suite: We need the build queue's suite.
Ansgar Burchardt [Wed, 22 Apr 2015 19:44:44 +0000 (21:44 +0200)]
update-suite: We need the build queue's suite.

9 years agoChoose a more useful default overridesuite for build queues.
Ansgar Burchardt [Wed, 22 Apr 2015 19:38:41 +0000 (21:38 +0200)]
Choose a more useful default overridesuite for build queues.

9 years agoconfig/debian/dak.conf: No direct uploads to testing-kfreebsd.
Ansgar Burchardt [Sun, 19 Apr 2015 22:35:27 +0000 (00:35 +0200)]
config/debian/dak.conf: No direct uploads to testing-kfreebsd.

9 years agoupdate-suite: fix module name: daklog -> daklib.daklog
Ansgar Burchardt [Sun, 19 Apr 2015 22:19:14 +0000 (00:19 +0200)]
update-suite: fix module name: daklog -> daklib.daklog

9 years agoInitial work on update-suite.
Ansgar Burchardt [Sun, 22 Mar 2015 09:42:43 +0000 (10:42 +0100)]
Initial work on update-suite.

9 years agoDo not include long description in Packages index by default
Ansgar Burchardt [Thu, 9 Apr 2015 20:23:59 +0000 (22:23 +0200)]
Do not include long description in Packages index by default

9 years agosuite add: set version to NULL when an empty string is given
Ansgar Burchardt [Thu, 9 Apr 2015 19:04:38 +0000 (21:04 +0200)]
suite add: set version to NULL when an empty string is given

9 years agoAdd "add-build-queue" to quickly setup build queues.
Ansgar Burchardt [Thu, 9 Apr 2015 18:32:27 +0000 (20:32 +0200)]
Add "add-build-queue" to quickly setup build queues.

9 years agoAllow release team to manage jessie-updates. (Closes: #781403)
Ansgar Burchardt [Tue, 7 Apr 2015 22:18:22 +0000 (00:18 +0200)]
Allow release team to manage jessie-updates. (Closes: #781403)

Bug: https://bugs.debian.org/781403

9 years agogenerate-d-i: Use "set -u"
Ansgar Burchardt [Sat, 4 Apr 2015 10:50:48 +0000 (12:50 +0200)]
generate-d-i: Use "set -u"

9 years agogenerate-d-i: Only look at architectures in testing.
Ansgar Burchardt [Sat, 4 Apr 2015 10:50:16 +0000 (12:50 +0200)]
generate-d-i: Only look at architectures in testing.

9 years agogenerate-d-i: Do not hardcode suite ids.
Ansgar Burchardt [Sat, 4 Apr 2015 10:48:59 +0000 (12:48 +0200)]
generate-d-i: Do not hardcode suite ids.

The suite.id for testing and testing-proposed-updates changed with the
wheezy release.

9 years agogenerate-d-i: Reformat SQL queries (no semantic changes).
Ansgar Burchardt [Sat, 4 Apr 2015 10:33:55 +0000 (12:33 +0200)]
generate-d-i: Reformat SQL queries (no semantic changes).

9 years agoRun bts-categorize as unprivileged user.
Ansgar Burchardt [Sun, 22 Mar 2015 22:11:52 +0000 (23:11 +0100)]
Run bts-categorize as unprivileged user.

9 years agoUse more https://
Ansgar Burchardt [Tue, 17 Mar 2015 23:06:54 +0000 (00:06 +0100)]
Use more https://

9 years agoqueue-report: use tracker.debian.org instead of packages.qa.d.o
Ansgar Burchardt [Tue, 17 Mar 2015 22:50:23 +0000 (23:50 +0100)]
queue-report: use tracker.debian.org instead of packages.qa.d.o

9 years agocron.daily: tell dc-tool where to find CA certificates
Julien Cristau [Mon, 9 Mar 2015 17:00:06 +0000 (18:00 +0100)]
cron.daily: tell dc-tool where to find CA certificates

Signed-off-by: Julien Cristau <jcristau@debian.org>
9 years agocron.buildd: disable oldstable, enable testing
Ansgar Burchardt [Wed, 25 Feb 2015 18:17:40 +0000 (19:17 +0100)]
cron.buildd: disable oldstable, enable testing

9 years agoRename exception.
Ansgar Burchardt [Tue, 3 Feb 2015 19:52:41 +0000 (20:52 +0100)]
Rename exception.

Also inherit from Reject so a proper rejection message is shown
instead of a backtrace.

9 years agoInclude backports-policy in backports-new.html.
Ansgar Burchardt [Fri, 9 Jan 2015 13:11:44 +0000 (14:11 +0100)]
Include backports-policy in backports-new.html.

9 years agoprocess-policy: pass component name to get_mapped_component
Ansgar Burchardt [Tue, 6 Jan 2015 21:10:07 +0000 (22:10 +0100)]
process-policy: pass component name to get_mapped_component

9 years agoprocess-policy: Rollback transaction if dry run is requested.
Ansgar Burchardt [Mon, 5 Jan 2015 22:08:04 +0000 (23:08 +0100)]
process-policy: Rollback transaction if dry run is requested.

9 years agoprocess-policy: Apply component mappings.
Ansgar Burchardt [Mon, 5 Jan 2015 22:07:25 +0000 (23:07 +0100)]
process-policy: Apply component mappings.

9 years agoAllow uploads to jessie-backports.
Ansgar Burchardt [Sat, 27 Dec 2014 17:14:28 +0000 (18:14 +0100)]
Allow uploads to jessie-backports.

9 years agoRestore the correct From address by adding additional headers.
Paul Wise [Fri, 26 Dec 2014 23:49:19 +0000 (07:49 +0800)]
Restore the correct From address by adding additional headers.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
9 years agoDo not pass sendmail options to mail.
Ansgar Burchardt [Wed, 24 Dec 2014 11:11:57 +0000 (12:11 +0100)]
Do not pass sendmail options to mail.

bsd-mailx no longer allows passing options to sendmail since the last
security update (8.1.2-0.20111106cvs-1+deb7u1). These are now
understood as additional recipient addresses and cause errors.

Reference: https://www.debian.org/security/2014/dsa-3104

9 years agoNow thats a better url
Joerg Jaspert [Sun, 14 Dec 2014 14:11:48 +0000 (15:11 +0100)]
Now thats a better url

9 years agoMake list_paths use the epydoc html for api docs
Joerg Jaspert [Sun, 14 Dec 2014 14:08:49 +0000 (15:08 +0100)]
Make list_paths use the epydoc html for api docs

9 years agoA bit of docs for the ftpmaster api
Joerg Jaspert [Sun, 14 Dec 2014 14:06:34 +0000 (15:06 +0100)]
A bit of docs for the ftpmaster api

9 years agoepydoc from cron sucks big donkeys through small needle holes, turn off for now
Joerg Jaspert [Fri, 12 Dec 2014 21:30:46 +0000 (22:30 +0100)]
epydoc from cron sucks big donkeys through small needle holes, turn off for now

9 years agoTimeout epydoc, it likes to hang randomly...
Joerg Jaspert [Tue, 9 Dec 2014 22:17:08 +0000 (23:17 +0100)]
Timeout epydoc, it likes to hang randomly...

9 years agosync-dd wants sync, not pool, as argument
Joerg Jaspert [Tue, 9 Dec 2014 22:08:12 +0000 (23:08 +0100)]
sync-dd wants sync, not pool, as argument

9 years agoInstead of doing our own (bad) help, simply use existing epydoc foo and redirect...
Joerg Jaspert [Sun, 7 Dec 2014 12:48:12 +0000 (13:48 +0100)]
Instead of doing our own (bad) help, simply use existing epydoc foo and redirect there

And to have that in useful, rework the whole docstrings of the dakweb/
foo, to give useful epydoc output.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoRegen our epydoc html files
Joerg Jaspert [Sun, 7 Dec 2014 12:37:48 +0000 (13:37 +0100)]
Regen our epydoc html files

9 years agoNot nice, but some doc
Joerg Jaspert [Sat, 6 Dec 2014 14:37:06 +0000 (15:37 +0100)]
Not nice, but some doc

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoAllow json format for madison
Joerg Jaspert [Sat, 6 Dec 2014 14:03:56 +0000 (15:03 +0100)]
Allow json format for madison

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agotools/queue_rss.py: Fix author format
Laurent Arnoud [Sat, 25 Oct 2014 15:47:13 +0000 (17:47 +0200)]
tools/queue_rss.py: Fix author format

see http://validator.w3.org/feed/docs/warning/EmailFormat.html

Signed-off-by: Laurent Arnoud <laurent@spkdev.net>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoAdjust way of syncing the dd-accessible copy
Joerg Jaspert [Mon, 1 Dec 2014 11:10:28 +0000 (12:10 +0100)]
Adjust way of syncing the dd-accessible copy

- Take out ries, hostname is coccia for a long time (use dd...)
- Allow sync-dd to push only the dak/ code directory
- Fixup whitespace in that script
- Take out the distinction of sync|pool push - that wasn't done for a
  long time, ftp/ is never ever synced instead.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoUps, rename function so its actually what it should be
Joerg Jaspert [Mon, 1 Dec 2014 10:34:08 +0000 (11:34 +0100)]
Ups, rename function so its actually what it should be

9 years agodakweb: Allow to query for all source packages
Joerg Jaspert [Sun, 30 Nov 2014 13:08:16 +0000 (14:08 +0100)]
dakweb: Allow to query for all source packages

9 years agodakweb: add sources_in_suite query
Joerg Jaspert [Sun, 30 Nov 2014 13:03:37 +0000 (14:03 +0100)]
dakweb: add sources_in_suite query

9 years agormadison: use yield to return content and set correct content type.
Ansgar Burchardt [Wed, 26 Nov 2014 22:38:32 +0000 (23:38 +0100)]
rmadison: use yield to return content and set correct content type.

9 years agodakweb: add rmadison query (still incomplete)
Ansgar Burchardt [Wed, 26 Nov 2014 21:21:46 +0000 (22:21 +0100)]
dakweb: add rmadison query (still incomplete)

9 years agoUse new package_list view for "dak ls" command.
Ansgar Burchardt [Wed, 26 Nov 2014 21:20:01 +0000 (22:20 +0100)]
Use new package_list view for "dak ls" command.

9 years agodaklib/utils.py: Use boolean instead of an integer.
Ansgar Burchardt [Wed, 26 Nov 2014 21:18:21 +0000 (22:18 +0100)]
daklib/utils.py: Use boolean instead of an integer.

9 years agoAdd custom SQLAlchemy extensions for Postgres' string_agg.
Ansgar Burchardt [Wed, 26 Nov 2014 21:17:57 +0000 (22:17 +0100)]
Add custom SQLAlchemy extensions for Postgres' string_agg.

9 years agoAdd new package_list view.
Ansgar Burchardt [Wed, 26 Nov 2014 21:15:03 +0000 (22:15 +0100)]
Add new package_list view.