]> git.decadent.org.uk Git - dak.git/log
dak.git
8 years agoOnly have an underscore in stagefile if args is non-empty
Joerg Jaspert [Thu, 31 Dec 2015 21:23:56 +0000 (22:23 +0100)]
Only have an underscore in stagefile if args is non-empty

8 years agoRotate REPORT files
Joerg Jaspert [Thu, 31 Dec 2015 13:08:43 +0000 (14:08 +0100)]
Rotate REPORT files

8 years agoAlso allow '-' in suffix of .buildinfo files
Ansgar Burchardt [Thu, 31 Dec 2015 11:31:56 +0000 (12:31 +0100)]
Also allow '-' in suffix of .buildinfo files

This matches what we allow to be used for .changes files in
re_file_changes.

8 years agodaklib/upload.py: Silently accept and discard .buildinfo files
Niels Thykier [Mon, 14 Dec 2015 20:46:28 +0000 (20:46 +0000)]
daklib/upload.py: Silently accept and discard .buildinfo files

Besides some very trivial validation of the filename, accept
.buildinfo files without really looking at them.

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoMerge remote-tracking branch 'nthykier/optimise-dominate'
Ansgar Burchardt [Thu, 31 Dec 2015 11:26:26 +0000 (12:26 +0100)]
Merge remote-tracking branch 'nthykier/optimise-dominate'

8 years agodominate: Do not attempt delete rows during dry-run
Niels Thykier [Thu, 31 Dec 2015 11:14:34 +0000 (11:14 +0000)]
dominate: Do not attempt delete rows during dry-run

Without the proper permissions, this will fail even if the transaction
would always be rolled back later.

8 years agodominate: Use a bulk DELETE
Niels Thykier [Thu, 31 Dec 2015 11:12:33 +0000 (11:12 +0000)]
dominate: Use a bulk DELETE

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agodominate: Do not open log files with -n
Niels Thykier [Tue, 29 Dec 2015 22:02:40 +0000 (22:02 +0000)]
dominate: Do not open log files with -n

Signed-off-by: Niels Thykier <niels@thykier.net>
8 years agoArchive queue/done in monthly cronjob
Joerg Jaspert [Wed, 30 Dec 2015 22:55:36 +0000 (23:55 +0100)]
Archive queue/done in monthly cronjob

archive the directory from 2 months ago, leaving only the last
month accessible directly

8 years agoAdd yearly cronjob
Joerg Jaspert [Wed, 30 Dec 2015 22:25:34 +0000 (23:25 +0100)]
Add yearly cronjob

8 years agoAdjust common functions
Joerg Jaspert [Wed, 30 Dec 2015 22:15:51 +0000 (23:15 +0100)]
Adjust common functions

Mostly logging
Also dont call process-{upload,commands} if there is no file waiting for them.

8 years agoHandle yearly cronjobs
Joerg Jaspert [Wed, 30 Dec 2015 14:14:42 +0000 (15:14 +0100)]
Handle yearly cronjobs

8 years agoA bit more logging, and newoverview in hourly runs backgrounded
Joerg Jaspert [Wed, 30 Dec 2015 14:04:44 +0000 (15:04 +0100)]
A bit more logging, and newoverview in hourly runs backgrounded

8 years agoMerge remote-tracking branch 'lamby/link-homepage' into dmerge
Joerg Jaspert [Wed, 30 Dec 2015 13:47:06 +0000 (14:47 +0100)]
Merge remote-tracking branch 'lamby/link-homepage' into dmerge

* lamby/link-homepage:
  Make homepage URLs (nofollow) links.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoVarious
Joerg Jaspert [Wed, 30 Dec 2015 13:17:00 +0000 (14:17 +0100)]
Various

- reorder global variables
- use UTF-8 locale by default
- declare osme variables readonly
- a bit more comments
- remove dangling logfile symlinks at end of cronscript
- indentation fixups

8 years agoAnd away with the old scripts
Joerg Jaspert [Tue, 29 Dec 2015 23:50:16 +0000 (00:50 +0100)]
And away with the old scripts

8 years agoLoadsa changes to make new cronscript way work
Joerg Jaspert [Tue, 29 Dec 2015 23:42:34 +0000 (00:42 +0100)]
Loadsa changes to make new cronscript way work

- Move functions so they are seen,
- Emit logs not only when called by dinstall
- Use correct variables (TMPFILES, not TEMPFILES)
- Define used variables
- create a scriptname link to the logfiles with datebased names
   - in the logdir, not in the configdir
- move linkmorgue from daily to weekly
- remove nonexistant tasks
- make purgeempty and fixsymlinks work on all archives, not just main
- all weekly tasks run in parallel

8 years agoRemember if a file is not on snapshot, don't try every run
Joerg Jaspert [Tue, 29 Dec 2015 14:32:56 +0000 (15:32 +0100)]
Remember if a file is not on snapshot, don't try every run

8 years agoAdjust crontab
Joerg Jaspert [Tue, 29 Dec 2015 13:19:09 +0000 (14:19 +0100)]
Adjust crontab

8 years agoMake homepage URLs (nofollow) links.
Chris Lamb [Tue, 29 Dec 2015 12:26:41 +0000 (13:26 +0100)]
Make homepage URLs (nofollow) links.

Signed-off-by: Chris Lamb <lamby@debian.org>
8 years agoAdjust cronscripts to end up with just one
Joerg Jaspert [Mon, 28 Dec 2015 14:30:44 +0000 (15:30 +0100)]
Adjust cronscripts to end up with just one

8 years agoSort extrafiles
Joerg Jaspert [Mon, 28 Dec 2015 12:45:19 +0000 (13:45 +0100)]
Sort extrafiles

8 years agoGenerate "extrafiles", (closes: #752134)
Joerg Jaspert [Sun, 27 Dec 2015 14:03:51 +0000 (15:03 +0100)]
Generate "extrafiles", (closes: #752134)

A clearsigned sha256sum of files not otherwise having a signed checksum
available.

8 years agoAdd another contributor source, listing the git repos as patch_contributors
Joerg Jaspert [Sat, 26 Dec 2015 22:59:02 +0000 (23:59 +0100)]
Add another contributor source, listing the git repos as patch_contributors

8 years agoMake contributor submissions work again
Joerg Jaspert [Sat, 26 Dec 2015 22:07:46 +0000 (23:07 +0100)]
Make contributor submissions work again

thanks to enrico for the workaround.

8 years agonotify about errors, dont stop script
Joerg Jaspert [Fri, 25 Dec 2015 22:37:25 +0000 (23:37 +0100)]
notify about errors, dont stop script

8 years agoremove more unused code
Joerg Jaspert [Fri, 25 Dec 2015 22:19:49 +0000 (23:19 +0100)]
remove more unused code

8 years agodont hardcode testing/unstable names, use an extra var for dep11dir
Joerg Jaspert [Fri, 25 Dec 2015 22:17:20 +0000 (23:17 +0100)]
dont hardcode testing/unstable names, use an extra var for dep11dir

8 years agoremove unused code
Joerg Jaspert [Fri, 25 Dec 2015 22:16:32 +0000 (23:16 +0100)]
remove unused code

(we arent doing an extra unchecked run out of dinstall anymore for
whoever knows how long)

8 years agoensure boolean values are true/false only
Joerg Jaspert [Fri, 25 Dec 2015 21:55:43 +0000 (22:55 +0100)]
ensure boolean values are true/false only

8 years agoComments, loads of comments
Joerg Jaspert [Fri, 25 Dec 2015 21:55:23 +0000 (22:55 +0100)]
Comments, loads of comments

reformat, adjust, add, bla

8 years agoRemove an indirection
Joerg Jaspert [Fri, 25 Dec 2015 21:34:23 +0000 (22:34 +0100)]
Remove an indirection

8 years agoCheck the new tree, not the public one
Joerg Jaspert [Thu, 24 Dec 2015 23:01:57 +0000 (00:01 +0100)]
Check the new tree, not the public one

8 years agoMove ddaccess sync out of the locked area and background it
Joerg Jaspert [Thu, 24 Dec 2015 22:52:44 +0000 (23:52 +0100)]
Move ddaccess sync out of the locked area and background it

Its half an hour that it takes, and no reason we need to wait for it

8 years agoDon't overwrite mirrordir variable
Joerg Jaspert [Thu, 24 Dec 2015 22:48:56 +0000 (23:48 +0100)]
Don't overwrite mirrordir variable

use the existing global one. Yes, this points to the
ftp-master.d.o/mirror dir. If an archives mirrordir really needs to be
elsewhere, symlink it.

8 years agoautocruft doesnt care about args, so why bother
Joerg Jaspert [Thu, 24 Dec 2015 22:36:28 +0000 (23:36 +0100)]
autocruft doesnt care about args, so why bother

8 years agolocal is nice for variables in functions
Joerg Jaspert [Thu, 24 Dec 2015 22:36:15 +0000 (23:36 +0100)]
local is nice for variables in functions

8 years agoGuard against non-existing tracefiles (eg. new archive)
Joerg Jaspert [Thu, 24 Dec 2015 22:13:56 +0000 (23:13 +0100)]
Guard against non-existing tracefiles (eg. new archive)

8 years agossh in a while loop really wants -n
Joerg Jaspert [Thu, 24 Dec 2015 13:39:55 +0000 (14:39 +0100)]
ssh in a while loop really wants -n

8 years agoFixup columns. second is ARGS not TIME
Joerg Jaspert [Thu, 24 Dec 2015 12:55:23 +0000 (13:55 +0100)]
Fixup columns. second is ARGS not TIME

8 years agoA for loop likes a done at the end, who would have thought?
Joerg Jaspert [Thu, 24 Dec 2015 12:04:24 +0000 (13:04 +0100)]
A for loop likes a done at the end, who would have thought?

8 years agoGet rid of lots of repetitions calling stage
Joerg Jaspert [Wed, 23 Dec 2015 13:37:44 +0000 (14:37 +0100)]
Get rid of lots of repetitions calling stage

Instead we now have a simple text list, 5 columns and a simple
while read loop transforming that to the right $thingtodo.

8 years agoAdjust the mirror function to be generic
Joerg Jaspert [Wed, 23 Dec 2015 13:37:01 +0000 (14:37 +0100)]
Adjust the mirror function to be generic

They now run for all public_archives.

8 years agoAdd option to not check arch:all rdeps
Ansgar Burchardt [Sun, 20 Dec 2015 13:06:28 +0000 (14:06 +0100)]
Add option to not check arch:all rdeps

This is useful when removing packages on some architectures that have
many arch:all rdeps.  We know these will break, but listing them
obscures which arch-dep packages will be broken.

Of course we will still break the possibly arch-dep packages of the
arch:all packages that will no longer be installable...

8 years agoAnd it seems like apache doesn't like abolute paths in <Files>
Ansgar Burchardt [Sun, 20 Dec 2015 11:13:37 +0000 (12:13 +0100)]
And it seems like apache doesn't like abolute paths in <Files>

8 years agoAlso allow access to the lintian.tags file
Ansgar Burchardt [Sun, 20 Dec 2015 11:12:04 +0000 (12:12 +0100)]
Also allow access to the lintian.tags file

8 years agoUse an alias for lintian.tags
Ansgar Burchardt [Sun, 20 Dec 2015 11:07:37 +0000 (12:07 +0100)]
Use an alias for lintian.tags

SymlinkIfOwnerMatch doesn't like lintian.tags.

Closes: #801589
8 years agoPackageLists do not quite behave like a list of actual binaries
Ansgar Burchardt [Sun, 20 Dec 2015 00:43:26 +0000 (01:43 +0100)]
PackageLists do not quite behave like a list of actual binaries

8 years agoDebug packages should not go to NEW even for binary-only uploads
Ansgar Burchardt [Sat, 19 Dec 2015 23:32:44 +0000 (00:32 +0100)]
Debug packages should not go to NEW even for binary-only uploads

8 years agodinstall: also push debug mirrors
Ansgar Burchardt [Sat, 19 Dec 2015 17:23:33 +0000 (18:23 +0100)]
dinstall: also push debug mirrors

8 years agoAlso fallback to component from binary for non-NEW uploads
Ansgar Burchardt [Sat, 19 Dec 2015 13:16:46 +0000 (14:16 +0100)]
Also fallback to component from binary for non-NEW uploads

We want to allow debug packages without overrides.

8 years agodebianqueued: keep .buildinfo files
Ansgar Burchardt [Sat, 19 Dec 2015 12:50:24 +0000 (13:50 +0100)]
debianqueued: keep .buildinfo files

8 years agoRemove unused `session` variable
Ansgar Burchardt [Sat, 19 Dec 2015 12:40:49 +0000 (13:40 +0100)]
Remove unused `session` variable

The code uses the session obtained from the `ArchiveTransaction`.

8 years agoRun dak manage-debug-suites.
Ansgar Burchardt [Sat, 19 Dec 2015 12:11:12 +0000 (13:11 +0100)]
Run dak manage-debug-suites.

8 years agoAdd program to remove old packages from debug suites
Ansgar Burchardt [Sat, 19 Dec 2015 12:09:58 +0000 (13:09 +0100)]
Add program to remove old packages from debug suites

We don't want to have to remove packages from *-debug by hand after we
removed them from the main archive.

8 years agoOnly mirror for ftp-master and backports
Ansgar Burchardt [Sat, 19 Dec 2015 11:11:57 +0000 (12:11 +0100)]
Only mirror for ftp-master and backports

We might have to set this up for debian-{debug,data} later too, but at
least for testing purposes not having it is fine too.

8 years agoInclude all source packages in index
Ansgar Burchardt [Sat, 19 Dec 2015 10:52:38 +0000 (11:52 +0100)]
Include all source packages in index

Previously we required that either an override is present or the
source is an "extra source" introduced via Built-Using.  However as we
now include all binary packages (see previous commit), we should also
include all source packages to treat both in a consistent way.

8 years agoUse Priority/Section from package as a fallback
Ansgar Burchardt [Sat, 19 Dec 2015 10:50:25 +0000 (11:50 +0100)]
Use Priority/Section from package as a fallback

This change makes generage-packages-sources2 use the Section and
Priority values provided by the package in case no override is
present.

With this change, automatic override packages do not require manual
override handling.  It is also useful for testing purposes or possibly
users with other workflows than Debian's.

8 years agoAlso handle "debian-debug" archive.
Ansgar Burchardt [Sat, 19 Dec 2015 10:12:53 +0000 (11:12 +0100)]
Also handle "debian-debug" archive.

8 years agodebug packages now also have "Auto-Built-Package: debug-symbols"
Ansgar Burchardt [Sat, 19 Dec 2015 09:56:41 +0000 (10:56 +0100)]
debug packages now also have "Auto-Built-Package: debug-symbols"

8 years agoUse log() not echo() to get timestamps
Joerg Jaspert [Fri, 18 Dec 2015 21:25:49 +0000 (22:25 +0100)]
Use log() not echo() to get timestamps

8 years agocron.hourly locks itself
Joerg Jaspert [Fri, 18 Dec 2015 21:25:32 +0000 (22:25 +0100)]
cron.hourly locks itself

8 years agoFix typos in the documentation
Jakub Wilk [Sat, 12 Dec 2015 21:39:26 +0000 (22:39 +0100)]
Fix typos in the documentation

8 years agoNew files in Release file - adjust the check
Joerg Jaspert [Sat, 12 Dec 2015 12:49:53 +0000 (13:49 +0100)]
New files in Release file - adjust the check

8 years agoAlso generate pdiff files for source Contents
Joerg Jaspert [Sat, 12 Dec 2015 12:46:11 +0000 (13:46 +0100)]
Also generate pdiff files for source Contents

8 years agoFix pdiff Index file hardlink handling
Joerg Jaspert [Tue, 8 Dec 2015 22:45:01 +0000 (23:45 +0100)]
Fix pdiff Index file hardlink handling

Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agogenerate SHA256 hashes for pdiff patches
David Kalnischkies [Wed, 28 Oct 2015 20:20:30 +0000 (21:20 +0100)]
generate SHA256 hashes for pdiff patches

Preparing for phasing out SHA1 means first and for most eliminating hard
dependencies on it, so lets include SHA256 hashes in .diff/Index as new
fields as this keeps backward compatibility.

Signed-off-by: David Kalnischkies <david@kalnischkies.de>
8 years agoinclude hashsum for compressed patch file in .diff/Index
David Kalnischkies [Wed, 28 Oct 2015 19:36:20 +0000 (20:36 +0100)]
include hashsum for compressed patch file in .diff/Index

APT prefers to download files it has hashes for to check it actually got
the file it wanted instead of some man-in-the-middled file (by an attacker
or simply by a webportal returning a login mask for every request).
Giving it the hash of the compressed file saves APT from needing to
uncompress the patch before being able to verify its integrity.

Signed-off-by: David Kalnischkies <david@kalnischkies.de>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoAdjust the regexes used for DEP-11 files
Matthias Klumpp [Tue, 8 Dec 2015 20:50:46 +0000 (21:50 +0100)]
Adjust the regexes used for DEP-11 files

8 years agodep11 people not knowing their own layout poooooooooor dep11
Joerg Jaspert [Sun, 6 Dec 2015 13:49:16 +0000 (14:49 +0100)]
dep11 people not knowing their own layout poooooooooor dep11

Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoFix cd
Joerg Jaspert [Sun, 6 Dec 2015 13:42:14 +0000 (14:42 +0100)]
Fix cd

Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoTarget dir may not yet exist
Joerg Jaspert [Sun, 6 Dec 2015 13:37:17 +0000 (14:37 +0100)]
Target dir may not yet exist

Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoA for loop like a done, not a fi, at the end
Joerg Jaspert [Sun, 6 Dec 2015 13:01:24 +0000 (14:01 +0100)]
A for loop like a done, not a fi, at the end

8 years agoMerge remote-tracking branch 'ximion/dep11' into dmerge
Joerg Jaspert [Sun, 6 Dec 2015 12:54:27 +0000 (13:54 +0100)]
Merge remote-tracking branch 'ximion/dep11' into dmerge

* ximion/dep11:
  Include AppStream metadata from the generator server

Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoInclude AppStream metadata from the generator server
Matthias Klumpp [Sat, 5 Dec 2015 22:09:46 +0000 (23:09 +0100)]
Include AppStream metadata from the generator server

This patch pulls AppStream/DEP-11 metadata from the server where it was
generated, then validates it for format issues and adds it to the
archive.

8 years agoPass suite name to the autobyhand scripts
Julien Cristau [Wed, 2 Dec 2015 21:11:48 +0000 (22:11 +0100)]
Pass suite name to the autobyhand scripts

To: debian-dak@lists.debian.org
Cc: Julien Cristau <jcristau@debian.org>
Date: Wed,  2 Dec 2015 08:01:37 +0100 (14 hours, 9 minutes, 8 seconds ago)
Resent-From: debian-dak@lists.debian.org

We have it readily available, and most scripts try to get it back from
the changes file anyway.

This makes things consistent for the scripts, so they won't get confused
by aliases (due to codenames or suite mappings) depending on whatever is
in the .changes file.

Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
8 years agoAdd Changelogs field to Release file
Ansgar Burchardt [Tue, 1 Dec 2015 22:30:42 +0000 (23:30 +0100)]
Add Changelogs field to Release file

Reference: https://lists.debian.org/debian-dak/2015/08/msg00012.html

8 years agoSQLAlchemy version 1.0 might also be okay
Ansgar Burchardt [Tue, 1 Dec 2015 22:29:41 +0000 (23:29 +0100)]
SQLAlchemy version 1.0 might also be okay

Maybe this check should eventually be dropped?

9 years agodebianqueued: No early notifications
Ansgar Burchardt [Wed, 18 Nov 2015 13:33:30 +0000 (14:33 +0100)]
debianqueued: No early notifications

debianqueued used to send early warnings about invalid uploads, but
relied on being able to (ab)use the setgid bit on the .changes file to
keep track for which uploads it has already complained. If it was
unable to set the setgid bit, it would send mails every run.

This change removes the early warnings. A mail will only be sent when
debianqueued gives up on the upload.

9 years agoUse /srv instead of /org
Ansgar Burchardt [Sun, 8 Nov 2015 16:06:37 +0000 (17:06 +0100)]
Use /srv instead of /org

9 years agosecurity-master.d.o is moving to seger.d.o
Ansgar Burchardt [Sun, 8 Nov 2015 15:33:48 +0000 (16:33 +0100)]
security-master.d.o is moving to seger.d.o

9 years agoAllow source-only uploads with 'sid' as distribution
Julien Cristau [Tue, 27 Oct 2015 17:06:15 +0000 (17:06 +0000)]
Allow source-only uploads with 'sid' as distribution

We only allowed 'unstable' or 'experimental'.

Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
9 years agoftp-master.d.o: Redirect /testing/* to release.d.o
Ansgar Burchardt [Sun, 8 Nov 2015 14:29:24 +0000 (15:29 +0100)]
ftp-master.d.o: Redirect /testing/* to release.d.o

Currently /testing is a symlink, but this means the same content is
available under different addresses.

9 years agoAdjust to deal with the new Debian supplementaryGid
Joerg Jaspert [Sun, 18 Oct 2015 12:17:05 +0000 (14:17 +0200)]
Adjust to deal with the new Debian supplementaryGid

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoSwitch from gid=800 to supplementaryGid=Debian
Joerg Jaspert [Sat, 17 Oct 2015 12:12:28 +0000 (14:12 +0200)]
Switch from gid=800 to supplementaryGid=Debian

Signed-off-by: Joerg Jaspert <joerg@debian.org>
9 years agoFix typo in the NEW email template
Jakub Wilk [Mon, 12 Oct 2015 17:31:57 +0000 (19:31 +0200)]
Fix typo in the NEW email template

9 years agolintian.tags: remove binary-file-compressed-with-upx
Jakub Wilk [Sun, 11 Oct 2015 15:08:45 +0000 (17:08 +0200)]
lintian.tags: remove binary-file-compressed-with-upx

This tag was removed from Lintian (2.5.33).

9 years agoconfig-security: also refresh Release for buildd archive weekly
Ansgar Burchardt [Sat, 3 Oct 2015 12:11:43 +0000 (14:11 +0200)]
config-security: also refresh Release for buildd archive weekly

It looks like we actually had a week without uploads to the security
archive and the Release file expired.

9 years ago[PATCH] Add option to make-maintainers to print data to stdout
Matthias Klumpp [Tue, 26 Mar 2013 22:32:52 +0000 (23:32 +0100)]
[PATCH] Add option to make-maintainers to print data to stdout

Add option which makes make-maintainer print the maintainer data to
stdout instead of writing it to files.

9 years ago[PATCH] Add option to make-maintainers to only output source packages
Matthias Klumpp [Tue, 26 Mar 2013 22:31:16 +0000 (23:31 +0100)]
[PATCH] Add option to make-maintainers to only output source packages

This is used in Tanglu to feed it's BTS

9 years agoMerge remote-tracking branch 'lamby/misc-fixes-796786' into merge
Joerg Jaspert [Thu, 10 Sep 2015 20:07:55 +0000 (22:07 +0200)]
Merge remote-tracking branch 'lamby/misc-fixes-796786' into merge

* lamby/misc-fixes-796786:
  daklib/utils.py: mandantory -> mandatory spelling error
  daliblib/dak_exceptions: Add trailing comma to avoid future VCS noise
  tests/test_packagelist.py: make executable
  dalkib/dbconn.py: Mention which version is installed in sqlalchemy check
  dak/copy_installer.py: Include which directory doesn't exist in exception

9 years agoMerge remote-tracking branch 'lamby/improve-parse-changes-tests-796787' into merge
Joerg Jaspert [Thu, 10 Sep 2015 20:06:26 +0000 (22:06 +0200)]
Merge remote-tracking branch 'lamby/improve-parse-changes-tests-796787' into merge

* lamby/improve-parse-changes-tests-796787:
  tests/test_parse_changes.py: Move test to ParseDscTestCase as we call with dsc_file=1
  tests/test_parse_changes.py: Test that an contentless .dsc fails correctly
  tests/test_parse_changes.py: Actually use the blank file test fixture
  tests/test_parse_changes.py: Rewrite loose and difficult-to-use-correctly assertFails
  tests/test_parse_changes.py: Actually set dsc_file=1 when testing .dsc

9 years agoOnly copy existing byhand files.
Ansgar Burchardt [Mon, 7 Sep 2015 16:57:03 +0000 (18:57 +0200)]
Only copy existing byhand files.

9 years agoAccept +kbsdXuY for kfreebsd.
Ansgar Burchardt [Mon, 7 Sep 2015 16:47:26 +0000 (18:47 +0200)]
Accept +kbsdXuY for kfreebsd.

9 years agoAutomate updating README files
Ansgar Burchardt [Sat, 5 Sep 2015 11:30:24 +0000 (13:30 +0200)]
Automate updating README files

It would be better if the README files were generated from a template
file, but this is better than nothing.

9 years agoUpdate for 8.2
Ansgar Burchardt [Sat, 5 Sep 2015 09:52:17 +0000 (11:52 +0200)]
Update for 8.2

9 years agoMerge remote-tracking branch 'lamby/update-debian-packaging'
Ansgar Burchardt [Fri, 4 Sep 2015 18:13:33 +0000 (20:13 +0200)]
Merge remote-tracking branch 'lamby/update-debian-packaging'

9 years agoMerge remote-tracking branches 'nthykier/fix-generate-releases' and 'nthykier/fix...
Ansgar Burchardt [Fri, 4 Sep 2015 18:06:55 +0000 (20:06 +0200)]
Merge remote-tracking branches 'nthykier/fix-generate-releases' and 'nthykier/fix-auto-decrufter'

9 years agogenerate-releases: Use the right key when testing uncompnotseen
Niels Thykier [Fri, 4 Sep 2015 16:38:02 +0000 (18:38 +0200)]
generate-releases: Use the right key when testing uncompnotseen

This issue caused dak to not generate hashes for uncompressed Contents
files for some architectures in some components.  A bit of context,
there were up to 4 Contents files per architecture:

 * Contents-ARCH
 * main/Contents-ARCH
 * contrib/Contents-ARCH
 * non-free/Contents-ARCH

Any */Contents-ARCH that appeared on the filesystem AFTER the legacy
"Contents-ARCH" would be ignored, because generate-releases used the
wrong key to check if the file was already in uncompnotseen.

Signed-off-by: Niels Thykier <niels@thykier.net>
9 years agogenerate-releases: Fix typo
Niels Thykier [Fri, 4 Sep 2015 16:37:05 +0000 (18:37 +0200)]
generate-releases: Fix typo

Signed-off-by: Niels Thykier <niels@thykier.net>