]> git.decadent.org.uk Git - dak.git/log
dak.git
10 years agofix for #754805
Thorsten Alteholz [Fri, 18 Jul 2014 08:29:42 +0000 (08:29 +0000)]
fix for #754805

10 years agodak ls: document --format=control-suite option
Ansgar Burchardt [Sun, 13 Jul 2014 07:37:34 +0000 (09:37 +0200)]
dak ls: document --format=control-suite option

10 years agoUpdate for 7.6.
Ansgar Burchardt [Sat, 12 Jul 2014 11:09:06 +0000 (13:09 +0200)]
Update for 7.6.

10 years agoRemove mail-archiving code, mail is no longer on ftp-master
Joerg Jaspert [Sun, 6 Jul 2014 10:42:09 +0000 (12:42 +0200)]
Remove mail-archiving code, mail is no longer on ftp-master

10 years agoAdd change-component command.
Ansgar Burchardt [Wed, 25 Jun 2014 19:29:53 +0000 (21:29 +0200)]
Add change-component command.

10 years agoImplement architecture matching rules.
Ansgar Burchardt [Thu, 19 Jun 2014 14:34:09 +0000 (16:34 +0200)]
Implement architecture matching rules.

10 years agoRevert "Add a deb822 for the backports NEW queue (Closes: #749102)"
Ansgar Burchardt [Wed, 18 Jun 2014 18:54:36 +0000 (20:54 +0200)]
Revert "Add a deb822 for the backports NEW queue (Closes: #749102)"

This reverts commit cda77ad8e9f59752b615ec9a647848d05362a47d.

10 years agoview src_associations_full: include sources for all binaries
Ansgar Burchardt [Wed, 18 Jun 2014 18:53:09 +0000 (20:53 +0200)]
view src_associations_full: include sources for all binaries

The src_associations_full now includes sources for all binaries in a
suite. This includes old versions of source packages if old binary
packages are still around.

10 years agocron.hourly: Include backports-new queue in new.822.
Ansgar Burchardt [Mon, 16 Jun 2014 17:45:32 +0000 (19:45 +0200)]
cron.hourly: Include backports-new queue in new.822.

10 years agodak queue-report: --822 outputs to stdout if no other location is given
Ansgar Burchardt [Mon, 16 Jun 2014 17:34:29 +0000 (19:34 +0200)]
dak queue-report: --822 outputs to stdout if no other location is given

10 years agoAdd a deb822 for the backports NEW queue (Closes: #749102)
Paul Wise [Sun, 25 May 2014 01:06:51 +0000 (09:06 +0800)]
Add a deb822 for the backports NEW queue (Closes: #749102)

10 years agoMerge remote-tracking branch 'helmut/fix-gpg_get_key_addresses'
Ansgar Burchardt [Mon, 26 May 2014 07:55:42 +0000 (09:55 +0200)]
Merge remote-tracking branch 'helmut/fix-gpg_get_key_addresses'

10 years agofix gpg_get_key_addresses
Helmut Grohne [Mon, 26 May 2014 05:47:07 +0000 (07:47 +0200)]
fix gpg_get_key_addresses

Do not use codecs.decode(s, "unicode_escape"). It has two issues:
 * When being passed a bytes literal, the returned value becomes a str
   and the decoding operation is locale specific on Python3.
 * When passing a unicode literal, it implicitly encodes to
   sys.getdefaultencoding() (locale specific) on Python2.
Thus "unicode_escape" is a bad choice in all cases.

For Python2 string_escape works with str, but it hinders a potential
Python3 port of dak. Use it now, because Python3 is totally broken.

10 years agoMerge remote-tracking branch 'helmut/smallthings' into merge
Joerg Jaspert [Sun, 25 May 2014 12:38:56 +0000 (14:38 +0200)]
Merge remote-tracking branch 'helmut/smallthings' into merge

* helmut/smallthings:
  rewrite daklib.utils.gpg_get_key_addresses
  convert daklib.dbconn from os.popen to subprocess
  put Python's with statement to good use

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agorewrite daklib.utils.gpg_get_key_addresses
Helmut Grohne [Thu, 22 May 2014 17:08:40 +0000 (19:08 +0200)]
rewrite daklib.utils.gpg_get_key_addresses

 * No longer uses the deprecated commands module.
 * No longer invokes gpg via a shell.
 * Passes --with-colons to gpg now.
 * No longer depends on the current locale (since --with-colons forces
   UTF-8 output).

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
10 years agoconvert daklib.dbconn from os.popen to subprocess
Helmut Grohne [Sat, 17 May 2014 19:31:47 +0000 (21:31 +0200)]
convert daklib.dbconn from os.popen to subprocess

It now explicitly closes the filedescriptors opened (by calling wait)
and checks the return code of gpg.

10 years agoput Python's with statement to good use
Helmut Grohne [Thu, 15 May 2014 21:36:51 +0000 (23:36 +0200)]
put Python's with statement to good use

Rather than using try-finally blocks or even failing to close files in
the event of an exception, open files in with blocks where feasible.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
10 years agoread file once in HashedFile.check
Helmut Grohne [Thu, 15 May 2014 19:09:19 +0000 (21:09 +0200)]
read file once in HashedFile.check

Reading the file to check once rather than three times is both faster
and shorter.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
10 years agovisually fix daklib.utils.parse_wnpp_bug_file
Helmut Grohne [Thu, 15 May 2014 18:34:25 +0000 (20:34 +0200)]
visually fix daklib.utils.parse_wnpp_bug_file

The file asks Vim to set tabstop=4. So the "lines = []" line formerly
being indented with a tab appears to be executed unconditionally whereas
it really only is executed in the exception handler.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
10 years agotell the uninitiated that 2 is ENOENT
Helmut Grohne [Thu, 15 May 2014 18:32:30 +0000 (20:32 +0200)]
tell the uninitiated that 2 is ENOENT

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
10 years agotighten source format check for 1.0
Helmut Grohne [Thu, 15 May 2014 18:30:31 +0000 (20:30 +0200)]
tighten source format check for 1.0

The regular expression used a ".", so it would accept "1-0" or even
"120" for source format 1.0.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
10 years agoMerge remote-tracking branch 'paultag/paultag/bugfix/new-package-template-fix' into...
Joerg Jaspert [Sun, 11 May 2014 10:16:05 +0000 (12:16 +0200)]
Merge remote-tracking branch 'paultag/paultag/bugfix/new-package-template-fix' into merge

* paultag/paultag/bugfix/new-package-template-fix:
  Update NEW email template.

10 years agoUpdate NEW email template.
Paul Tagliamonte [Thu, 1 May 2014 18:46:50 +0000 (14:46 -0400)]
Update NEW email template.

 The last one was a bit too technical and obscured with details about
 how dak works internally. This is a more clear project-centric template
 that explains the situation in terms the average contributor would
 understand.

10 years agoTransitionCheck: do not use 'source' for two different things
Ansgar Burchardt [Wed, 7 May 2014 18:02:03 +0000 (20:02 +0200)]
TransitionCheck: do not use 'source' for two different things

10 years agodaklib/checks.py: import textwrap
Ansgar Burchardt [Wed, 7 May 2014 17:58:31 +0000 (19:58 +0200)]
daklib/checks.py: import textwrap

textwrap.wrap is used by TransitionCheck.

10 years agoget_source_in_suite: return None if suite does not exist
Ansgar Burchardt [Wed, 7 May 2014 17:57:29 +0000 (19:57 +0200)]
get_source_in_suite: return None if suite does not exist

10 years agodaklib/checks.py: Set "session" variable.
Ansgar Burchardt [Tue, 6 May 2014 17:15:00 +0000 (19:15 +0200)]
daklib/checks.py: Set "session" variable.

10 years agodaklib/dbconn.py: SQLAlchemy 0.9 is also fine.
Ansgar Burchardt [Sun, 4 May 2014 22:02:29 +0000 (00:02 +0200)]
daklib/dbconn.py: SQLAlchemy 0.9 is also fine.

10 years agoREADME.stable-point-release: Update for 7.5
Ansgar Burchardt [Sat, 26 Apr 2014 10:09:09 +0000 (12:09 +0200)]
README.stable-point-release: Update for 7.5

Run cruft-report later (after dominate) to pick up new cruft.

10 years agodaklib/utils.py: Fix crash on rdep test
Niels Thykier [Sun, 16 Feb 2014 09:14:11 +0000 (09:14 +0000)]
daklib/utils.py: Fix crash on rdep test

Signed-off-by: Niels Thykier <nthykier@coccia.debian.org>
10 years agoAdjust security cron.daily to xz dumps and delete -mtime +30 ones
Joerg Jaspert [Thu, 10 Apr 2014 19:44:09 +0000 (21:44 +0200)]
Adjust security cron.daily to xz dumps and delete -mtime +30 ones

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agocron.daily should have an own logfile
Joerg Jaspert [Sun, 2 Mar 2014 12:09:25 +0000 (13:09 +0100)]
cron.daily should have an own logfile

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agoone more alias
Joerg Jaspert [Sun, 2 Mar 2014 12:01:06 +0000 (13:01 +0100)]
one more alias

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agoincoming log has tag privacy (update with live version from franck)
Joerg Jaspert [Sun, 2 Mar 2014 12:01:00 +0000 (13:01 +0100)]
incoming log has tag privacy (update with live version from franck)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agoUpdate ldap cert
Joerg Jaspert [Sun, 2 Mar 2014 11:58:05 +0000 (12:58 +0100)]
Update ldap cert

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agocruft report: sort sources in "Newer version in experimental"
Ansgar Burchardt [Wed, 26 Feb 2014 17:42:38 +0000 (18:42 +0100)]
cruft report: sort sources in "Newer version in experimental"

10 years agoprocess-policy: REJECT before ACCEPT
Ansgar Burchardt [Fri, 14 Feb 2014 11:15:43 +0000 (12:15 +0100)]
process-policy: REJECT before ACCEPT

If both ACCEPT.* and REJECT.* comments are available, the package
should be rejected. So process REJECT.* first.

10 years agoMore lintian fatals
Joerg Jaspert [Sun, 9 Feb 2014 21:08:35 +0000 (22:08 +0100)]
More lintian fatals

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agoAdjust lintian autoreject tags
Joerg Jaspert [Sun, 9 Feb 2014 10:55:39 +0000 (11:55 +0100)]
Adjust lintian autoreject tags

There are 4 new fatal, 2 new non-fatal tags.
This (closes: #721798, #733446)

10 years agocron.monthly
Joerg Jaspert [Sat, 8 Feb 2014 21:49:04 +0000 (22:49 +0100)]
cron.monthly

compress last month dak log
reuse "olddate" variable

10 years agoMerge branch 'master' of franck.debian.org:/srv/ftp.debian.org/git/dak
Joerg Jaspert [Sat, 8 Feb 2014 21:28:50 +0000 (22:28 +0100)]
Merge branch 'master' of franck.debian.org:/srv/ftp.debian.org/git/dak

* 'master' of franck.debian.org:/srv/ftp.debian.org/git/dak:
  Update for 7.4.

10 years agoexternal files for security
Joerg Jaspert [Sat, 8 Feb 2014 21:28:04 +0000 (22:28 +0100)]
external files for security

activate them, also move them to cron.daily,
once a day this should be enough.

10 years agoUpdate for 7.4.
Ansgar Burchardt [Sat, 8 Feb 2014 10:54:05 +0000 (11:54 +0100)]
Update for 7.4.

10 years agoDocument NEW processing on security-master.
Ansgar Burchardt [Thu, 6 Feb 2014 08:04:29 +0000 (09:04 +0100)]
Document NEW processing on security-master.

10 years agoFix dc-tool call. in a day or two fix it again by redirecting its spam to dev/null
Joerg Jaspert [Sat, 1 Feb 2014 20:26:53 +0000 (21:26 +0100)]
Fix dc-tool call. in a day or two fix it again by redirecting its spam to dev/null

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agopush data to debian contributors
Joerg Jaspert [Sat, 1 Feb 2014 13:51:58 +0000 (14:51 +0100)]
push data to debian contributors

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agoRemove Clean-Suites::OverrideFilename.
Ansgar Burchardt [Tue, 28 Jan 2014 10:10:55 +0000 (11:10 +0100)]
Remove Clean-Suites::OverrideFilename.

The option isn't used any longer in dak.

10 years agoRemove Clean-Suites::StayOfExecution.
Ansgar Burchardt [Tue, 28 Jan 2014 10:09:28 +0000 (11:09 +0100)]
Remove Clean-Suites::StayOfExecution.

The option moved into the "archive" database table in
edf9c774f7d5b0148a30fd63bf1fa6bddf68d478.

10 years agoKeep debian-backup user.
Ansgar Burchardt [Mon, 27 Jan 2014 22:24:04 +0000 (23:24 +0100)]
Keep debian-backup user.

10 years agoUpdate apache.conf-ftp with current live version.
Ansgar Burchardt [Wed, 15 Jan 2014 17:17:25 +0000 (18:17 +0100)]
Update apache.conf-ftp with current live version.

10 years agoMerge remote-tracking branch 'origin/master'
Ansgar Burchardt [Wed, 15 Jan 2014 15:37:41 +0000 (16:37 +0100)]
Merge remote-tracking branch 'origin/master'

10 years agoRemove unused function.
Ansgar Burchardt [Wed, 15 Jan 2014 15:02:54 +0000 (16:02 +0100)]
Remove unused function.

10 years agoGet rid of DatabaseHostname.
Ansgar Burchardt [Wed, 15 Jan 2014 15:01:21 +0000 (16:01 +0100)]
Get rid of DatabaseHostname.

This also requires dropping __PRIMARY_MIRROR__ from the removal templates,
but this field already got the wrong value in case there are multiple
archives with different mirrors as only a single value was supported.

10 years agoFix permissions for files in daklib/
Thomas Bechtold [Sat, 11 Jan 2014 08:18:53 +0000 (09:18 +0100)]
Fix permissions for files in daklib/

No file in daklib needs the executable bit.

Bug: http://bugs.debian.org/735114

10 years agorename metadata host
Joerg Jaspert [Tue, 14 Jan 2014 06:58:40 +0000 (07:58 +0100)]
rename metadata host

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agoRemove links to HTML and CSS validators.
Ansgar Burchardt [Mon, 13 Jan 2014 18:10:42 +0000 (19:10 +0100)]
Remove links to HTML and CSS validators.

This also gets rid of external (non-debian.org) and unencrypted resources.

10 years agoUse more https://.
Ansgar Burchardt [Mon, 13 Jan 2014 18:07:33 +0000 (19:07 +0100)]
Use more https://.

10 years agoIt's generate-d-i, not generate-di.
Ansgar Burchardt [Sun, 5 Jan 2014 21:25:29 +0000 (22:25 +0100)]
It's generate-d-i, not generate-di.

10 years agoUpdate apache.conf-ftp with current live version.
Ansgar Burchardt [Thu, 2 Jan 2014 15:25:52 +0000 (16:25 +0100)]
Update apache.conf-ftp with current live version.

10 years agoUse os.path.lexists instead of exists
Ansgar Burchardt [Thu, 2 Jan 2014 15:08:23 +0000 (16:08 +0100)]
Use os.path.lexists instead of exists

scripts/debian/link_morgue.sh replaces files present on snapshot.d.o
with symlinks that are not valid on ftp-master.d.o.

10 years agoNote 7.3, just for the fun
Joerg Jaspert [Sat, 14 Dec 2013 11:20:17 +0000 (12:20 +0100)]
Note 7.3, just for the fun

Signed-off-by: Joerg Jaspert <joerg@debian.org>
10 years agorename one function, drop psql alias
Joerg Jaspert [Sat, 14 Dec 2013 09:59:57 +0000 (10:59 +0100)]
rename one function, drop psql alias

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agodaklib/filewriter.py: indices do not need to be group-writable
Ansgar Burchardt [Sun, 27 Oct 2013 19:22:11 +0000 (20:22 +0100)]
daklib/filewriter.py: indices do not need to be group-writable

11 years agodaklib/filewriter.py: no longer invoke a shell when compressing files
Ansgar Burchardt [Sun, 27 Oct 2013 19:20:06 +0000 (20:20 +0100)]
daklib/filewriter.py: no longer invoke a shell when compressing files

11 years agoInclude {Packages,Sources}.xz indices in Release file.
Ansgar Burchardt [Sun, 27 Oct 2013 16:08:16 +0000 (17:08 +0100)]
Include {Packages,Sources}.xz indices in Release file.

11 years agodaklib/filewriter.py: change default compression to gzip and xz
Ansgar Burchardt [Sun, 27 Oct 2013 15:28:11 +0000 (16:28 +0100)]
daklib/filewriter.py: change default compression to gzip and xz

Change the default compression for Packages and Sources indices to gzip
and xz (from gzip and bzip2). This does not affect existing suites with
indices_compression set in the database.

11 years agoMerge branch 'pu/xz-for-indices'
Ansgar Burchardt [Sun, 27 Oct 2013 15:20:41 +0000 (16:20 +0100)]
Merge branch 'pu/xz-for-indices'

Conflicts:
dak/generate_packages_sources2.py
daklib/filewriter.py

11 years agoPass compression methods to FileWriter.
Ansgar Burchardt [Sun, 19 Feb 2012 14:06:04 +0000 (14:06 +0000)]
Pass compression methods to FileWriter.

11 years agoAdd database fields to override compression methods.
Ansgar Burchardt [Sun, 19 Feb 2012 14:05:33 +0000 (14:05 +0000)]
Add database fields to override compression methods.

11 years agoReplace os.popen with the subprocess.Popen in a few places.
Ansgar Burchardt [Sun, 27 Oct 2013 14:29:22 +0000 (15:29 +0100)]
Replace os.popen with the subprocess.Popen in a few places.

11 years agodak/rm.py: allow closing bugs no matter which suite packages are removed from
Ansgar Burchardt [Sun, 27 Oct 2013 12:47:10 +0000 (13:47 +0100)]
dak/rm.py: allow closing bugs no matter which suite packages are removed from

Closing bugs can make sense even when not removing the package from
unstable, for example when removing a package from experimental that
only was uploaded there and has no version in unstable.

11 years agodaklib/dbconn.py: do not import apt_pkg again
Ansgar Burchardt [Sun, 20 Oct 2013 12:43:50 +0000 (14:43 +0200)]
daklib/dbconn.py: do not import apt_pkg again

11 years agodak/process_policy.py: process sourceful uploads first
Ansgar Burchardt [Sun, 20 Oct 2013 12:09:18 +0000 (14:09 +0200)]
dak/process_policy.py: process sourceful uploads first

Bug: http://bugs.debian.org/703876

11 years agodaklib/checks.py: No longer set LINTIAN_COLL_UNPACKED_SKIP_SIG=1
Ansgar Burchardt [Sun, 20 Oct 2013 11:56:42 +0000 (13:56 +0200)]
daklib/checks.py: No longer set LINTIAN_COLL_UNPACKED_SKIP_SIG=1

lintian passes --no-check to dpkg-source by default since 2.5.15. There
is no longer a need to set undocumented environment variables.

11 years agodaklib/checks.py: make lintian check use subprocess module
Ansgar Burchardt [Sun, 20 Oct 2013 11:56:10 +0000 (13:56 +0200)]
daklib/checks.py: make lintian check use subprocess module

11 years agoReset signal handler to default action in child processes
Ansgar Burchardt [Sun, 20 Oct 2013 09:02:04 +0000 (11:02 +0200)]
Reset signal handler to default action in child processes

Python changes the signal handler to SIG_IGN for a few signals which
causes unexpected behaviour in child processes. The wrapper functions in
the new daklib.daksubprocess module reset them to SIG_DFL in child
processes.

Reference: http://bugs.python.org/issue1652

11 years agoDont generate SHA512sum lines in generate_packages_sources (used for squeeze)
Joerg Jaspert [Sat, 19 Oct 2013 19:04:15 +0000 (21:04 +0200)]
Dont generate SHA512sum lines in generate_packages_sources (used for squeeze)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
11 years agoconfig/debian/dak.conf: reject uploads to jessie-{backports,updates}
Ansgar Burchardt [Tue, 15 Oct 2013 17:23:15 +0000 (19:23 +0200)]
config/debian/dak.conf: reject uploads to jessie-{backports,updates}

11 years agoallow adding multiple architectures and components to a suite at the same time
Ansgar Burchardt [Tue, 15 Oct 2013 17:11:11 +0000 (19:11 +0200)]
allow adding multiple architectures and components to a suite at the same time

This should make it a bit more comfortable to setup new suites.

11 years agobyhand-di: fix version match
Ansgar Burchardt [Mon, 14 Oct 2013 12:14:34 +0000 (14:14 +0200)]
byhand-di: fix version match

35b109fe6f42b6853809151e73be96909af7e3f7 made the script reject uploads using
YYYYMMDD as a closing ")" was at the wrong location.

11 years agoREADME.stable-point-release: updates from Debian Wheezy 7.2
Ansgar Burchardt [Sat, 12 Oct 2013 12:16:22 +0000 (14:16 +0200)]
README.stable-point-release: updates from Debian Wheezy 7.2

11 years agoUse SHA256 for signatures.
Ansgar Burchardt [Sat, 12 Oct 2013 12:00:32 +0000 (14:00 +0200)]
Use SHA256 for signatures.

As dak passes --no-options to gpg, setting preferences in gpg.conf does
not help.

Bug: http://bugs.debian.org/612657

11 years agoImport daklib.utils, not utils.
Ansgar Burchardt [Sat, 12 Oct 2013 10:54:25 +0000 (12:54 +0200)]
Import daklib.utils, not utils.

11 years agobyhand-di: accept +debXuZ in versions
Ansgar Burchardt [Thu, 10 Oct 2013 08:03:00 +0000 (10:03 +0200)]
byhand-di: accept +debXuZ in versions

Reported-by: Adam D. Barratt <adam@adam-barratt.org.uk>
11 years agoREADME.stable-point-release: add if block around squeeze-only step
Ansgar Burchardt [Mon, 30 Sep 2013 18:09:53 +0000 (20:09 +0200)]
README.stable-point-release: add if block around squeeze-only step

11 years agoREADME.stable-point-release: add generate-i18n-Index call
Ansgar Burchardt [Mon, 30 Sep 2013 18:08:21 +0000 (20:08 +0200)]
README.stable-point-release: add generate-i18n-Index call

11 years agouse yaml.safe_{load,dump} functions
Ansgar Burchardt [Sun, 29 Sep 2013 20:57:42 +0000 (22:57 +0200)]
use yaml.safe_{load,dump} functions

The yaml.load() function can run arbitrary code, the safe_load() variant only
understands a safe subset of YAML which is enough for dak.

11 years agodaklib/archive.py: fix copying between components
Ansgar Burchardt [Thu, 26 Sep 2013 07:13:44 +0000 (09:13 +0200)]
daklib/archive.py: fix copying between components

The _copy_file() method needs to check if the file is already in the target
component. Having it in any component is not enough if it should be copied to
an additional component in the same archive.

11 years agodaklib/archive.py: allow copying files between components
Ansgar Burchardt [Wed, 25 Sep 2013 21:58:55 +0000 (23:58 +0200)]
daklib/archive.py: allow copying files between components

Copying files between components is useful when a package moves between
components as otherwise the .changes would have to include the upstream
tarball (even if it did not change).

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agoRun clean-suites after processing policy queues
Ansgar Burchardt [Wed, 18 Sep 2013 18:36:51 +0000 (20:36 +0200)]
Run clean-suites after processing policy queues

Files belonging to rejected uploads should be removed as soon as possible in
case a modified package with the same version is uploaded.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agodaklib/dbconn.py: one relation from components to suites is enough.
Ansgar Burchardt [Tue, 10 Sep 2013 21:39:39 +0000 (23:39 +0200)]
daklib/dbconn.py: one relation from components to suites is enough.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agoMerge remote-tracking branch 'origin/master'
Ansgar Burchardt [Tue, 10 Sep 2013 21:23:12 +0000 (23:23 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agoImport only primary key fingerprints from keyring.
Ansgar Burchardt [Tue, 10 Sep 2013 21:22:14 +0000 (23:22 +0200)]
Import only primary key fingerprints from keyring.

Reference: https://lists.debian.org/debian-project/2013/09/msg00039.html
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
11 years agoMerge remote-tracking branch 'mithrandir/master' into merge
Joerg Jaspert [Tue, 10 Sep 2013 21:00:53 +0000 (23:00 +0200)]
Merge remote-tracking branch 'mithrandir/master' into merge

* mithrandir/master:
  dak/admin.py: Add commands to manipulate the suite-component mapping
  daklib/dbconn.py: Add relation from a component to the suites that include it
  dak/update_db.py: Allow version numbers > 99 in db
  Drop unused function get_architecture_suites()
  Only publish components in suites where they exist.
  daklib/dbconn.py: Typo, quotes
  dak/dakdb/update100.py: Add component - suite mapping table
  dak/admin.py: optionally output the archive as well as the suite name in suite list
  dak/admin.py: add component management commands
  dak/admin.py: use get_archive wrapper, simplifying the code slightly
  Add ordering to component table and use this when checking policy
  Add support for rm-ing suites

11 years agodak/admin.py: Add commands to manipulate the suite-component mapping
Tollef Fog Heen [Tue, 10 Sep 2013 11:29:46 +0000 (13:29 +0200)]
dak/admin.py: Add commands to manipulate the suite-component mapping

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodaklib/dbconn.py: Add relation from a component to the suites that include it
Tollef Fog Heen [Tue, 10 Sep 2013 11:29:20 +0000 (13:29 +0200)]
daklib/dbconn.py: Add relation from a component to the suites that include it

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodak/update_db.py: Allow version numbers > 99 in db
Tollef Fog Heen [Mon, 9 Sep 2013 11:32:26 +0000 (13:32 +0200)]
dak/update_db.py: Allow version numbers > 99 in db

max(['100', '99]) returns '99', not '100', so switch order around a
bit to allow for higher versions.

Signed-off-by: Tollef Fog Heen <tfheen@err.no>
11 years agoDrop unused function get_architecture_suites()
Tollef Fog Heen [Wed, 9 Jan 2013 13:45:27 +0000 (14:45 +0100)]
Drop unused function get_architecture_suites()

Not in use, and fixes a TODO item

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agoOnly publish components in suites where they exist.
Tollef Fog Heen [Wed, 9 Jan 2013 13:17:23 +0000 (14:17 +0100)]
Only publish components in suites where they exist.

When generating the sources and packages file, just generate those
that should exist, according to the component_suite mapping.

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
11 years agodaklib/dbconn.py: Typo, quotes
Tollef Fog Heen [Wed, 9 Jan 2013 13:03:24 +0000 (14:03 +0100)]
daklib/dbconn.py: Typo, quotes

Avoid confusing emacs' syntax highlighter by switching the types of
quotes for a docstring and fix a typo

Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>