]>
git.donarmstrong.com Git - dak.git/log
Ansgar Burchardt [Wed, 7 May 2014 17:57:29 +0000 (19:57 +0200)]
get_source_in_suite: return None if suite does not exist
Ansgar Burchardt [Tue, 6 May 2014 17:15:00 +0000 (19:15 +0200)]
daklib/checks.py: Set "session" variable.
Ansgar Burchardt [Sun, 4 May 2014 22:02:29 +0000 (00:02 +0200)]
daklib/dbconn.py: SQLAlchemy 0.9 is also fine.
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.
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>
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>
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>
Joerg Jaspert [Sun, 2 Mar 2014 12:01:06 +0000 (13:01 +0100)]
one more alias
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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>
Joerg Jaspert [Sun, 2 Mar 2014 11:58:05 +0000 (12:58 +0100)]
Update ldap cert
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Wed, 26 Feb 2014 17:42:38 +0000 (18:42 +0100)]
cruft report: sort sources in "Newer version in experimental"
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.
Joerg Jaspert [Sun, 9 Feb 2014 21:08:35 +0000 (22:08 +0100)]
More lintian fatals
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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)
Joerg Jaspert [Sat, 8 Feb 2014 21:49:04 +0000 (22:49 +0100)]
cron.monthly
compress last month dak log
reuse "olddate" variable
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.
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.
Ansgar Burchardt [Sat, 8 Feb 2014 10:54:05 +0000 (11:54 +0100)]
Update for 7.4.
Ansgar Burchardt [Thu, 6 Feb 2014 08:04:29 +0000 (09:04 +0100)]
Document NEW processing on security-master.
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>
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>
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.
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 .
Ansgar Burchardt [Mon, 27 Jan 2014 22:24:04 +0000 (23:24 +0100)]
Keep debian-backup user.
Ansgar Burchardt [Wed, 15 Jan 2014 17:17:25 +0000 (18:17 +0100)]
Update apache.conf-ftp with current live version.
Ansgar Burchardt [Wed, 15 Jan 2014 15:37:41 +0000 (16:37 +0100)]
Merge remote-tracking branch 'origin/master'
Ansgar Burchardt [Wed, 15 Jan 2014 15:02:54 +0000 (16:02 +0100)]
Remove unused function.
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.
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
Joerg Jaspert [Tue, 14 Jan 2014 06:58:40 +0000 (07:58 +0100)]
rename metadata host
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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.
Ansgar Burchardt [Mon, 13 Jan 2014 18:07:33 +0000 (19:07 +0100)]
Use more https://.
Ansgar Burchardt [Sun, 5 Jan 2014 21:25:29 +0000 (22:25 +0100)]
It's generate-d-i, not generate-di.
Ansgar Burchardt [Thu, 2 Jan 2014 15:25:52 +0000 (16:25 +0100)]
Update apache.conf-ftp with current live version.
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.
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>
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>
Ansgar Burchardt [Sun, 27 Oct 2013 19:22:11 +0000 (20:22 +0100)]
daklib/filewriter.py: indices do not need to be group-writable
Ansgar Burchardt [Sun, 27 Oct 2013 19:20:06 +0000 (20:20 +0100)]
daklib/filewriter.py: no longer invoke a shell when compressing files
Ansgar Burchardt [Sun, 27 Oct 2013 16:08:16 +0000 (17:08 +0100)]
Include {Packages,Sources}.xz indices in Release file.
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.
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
Ansgar Burchardt [Sun, 19 Feb 2012 14:06:04 +0000 (14:06 +0000)]
Pass compression methods to FileWriter.
Ansgar Burchardt [Sun, 19 Feb 2012 14:05:33 +0000 (14:05 +0000)]
Add database fields to override compression methods.
Ansgar Burchardt [Sun, 27 Oct 2013 14:29:22 +0000 (15:29 +0100)]
Replace os.popen with the subprocess.Popen in a few places.
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.
Ansgar Burchardt [Sun, 20 Oct 2013 12:43:50 +0000 (14:43 +0200)]
daklib/dbconn.py: do not import apt_pkg again
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
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.
Ansgar Burchardt [Sun, 20 Oct 2013 11:56:10 +0000 (13:56 +0200)]
daklib/checks.py: make lintian check use subprocess module
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
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>
Ansgar Burchardt [Tue, 15 Oct 2013 17:23:15 +0000 (19:23 +0200)]
config/debian/dak.conf: reject uploads to jessie-{backports,updates}
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.
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.
Ansgar Burchardt [Sat, 12 Oct 2013 12:16:22 +0000 (14:16 +0200)]
README.stable-point-release: updates from Debian Wheezy 7.2
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
Ansgar Burchardt [Sat, 12 Oct 2013 10:54:25 +0000 (12:54 +0200)]
Import daklib.utils, not utils.
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>
Ansgar Burchardt [Mon, 30 Sep 2013 18:09:53 +0000 (20:09 +0200)]
README.stable-point-release: add if block around squeeze-only step
Ansgar Burchardt [Mon, 30 Sep 2013 18:08:21 +0000 (20:08 +0200)]
README.stable-point-release: add generate-i18n-Index call
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.
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.
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>
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>
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>
Ansgar Burchardt [Tue, 10 Sep 2013 21:23:12 +0000 (23:23 +0200)]
Merge remote-tracking branch 'origin/master'
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>
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
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>
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>
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>
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>
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>
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>
Tollef Fog Heen [Wed, 9 Jan 2013 12:46:26 +0000 (13:46 +0100)]
dak/dakdb/update100.py: Add component - suite mapping table
This table will be used to only expose certain components in certain
suites.
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Tollef Fog Heen [Wed, 9 Jan 2013 12:26:01 +0000 (13:26 +0100)]
dak/admin.py: optionally output the archive as well as the suite name in suite list
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Tollef Fog Heen [Wed, 9 Jan 2013 12:16:11 +0000 (13:16 +0100)]
dak/admin.py: add component management commands
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Tollef Fog Heen [Thu, 13 Dec 2012 07:40:41 +0000 (08:40 +0100)]
dak/admin.py: use get_archive wrapper, simplifying the code slightly
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Tollef Fog Heen [Thu, 22 Nov 2012 07:52:42 +0000 (08:52 +0100)]
Add ordering to component table and use this when checking policy
This allows us to accept source-only into
other components than {main,contrib,non-free}.
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Tollef Fog Heen [Tue, 6 Nov 2012 13:00:51 +0000 (14:00 +0100)]
Add support for rm-ing suites
Signed-off-by: Tollef Fog Heen <tfheen@varnish-software.com>
Ansgar Burchardt [Sun, 8 Sep 2013 10:12:24 +0000 (12:12 +0200)]
ddtp-i18n-check.sh: testing is jessie
Ansgar Burchardt [Wed, 4 Sep 2013 20:03:21 +0000 (22:03 +0200)]
Revert "Finds newer or equal versions in lowersuite_name"
This reverts commit
76b59a19769bc4468e528bb1e35623da2bc6ad5c .
In case packages in testing get binNMU'ed, testing-proposed-updates will
contain the same source version as testing, but binaries with a higher
version. The cruft-report should not suggest removing these packages.
Joerg Jaspert [Fri, 23 Aug 2013 05:59:43 +0000 (07:59 +0200)]
dont sleep and code. i now know why we have <> there. meh
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 23 Aug 2013 05:50:21 +0000 (07:50 +0200)]
a -f or an rm does enable gzip to work...
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 22 Aug 2013 20:44:30 +0000 (22:44 +0200)]
Whyever we had <> there, remove them.
added benefit of actually removing the uncompressed version
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Ansgar Burchardt [Sat, 17 Aug 2013 13:26:21 +0000 (15:26 +0200)]
lintian.tags: reject uploads with files in /run, /var/lock or /var/run
Reference: http://lists.debian.org/debian-devel/2012/10/msg00094.html
Joerg Jaspert [Mon, 12 Aug 2013 13:19:52 +0000 (15:19 +0200)]
Merge remote-tracking branch 'drkranz/stats' into merge
* drkranz/stats:
Generate NEW queue stats daily
Implement stats related to NEW processing
Implement get_users_from_ldap function
Luca Falavigna [Mon, 12 Aug 2013 12:03:06 +0000 (12:03 +0000)]
Generate NEW queue stats daily
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Mon, 12 Aug 2013 12:00:48 +0000 (12:00 +0000)]
Implement stats related to NEW processing
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Mon, 12 Aug 2013 12:00:06 +0000 (12:00 +0000)]
Implement get_users_from_ldap function
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Ansgar Burchardt [Sun, 4 Aug 2013 13:58:06 +0000 (15:58 +0200)]
daklib/checks.py: make sure all fields in control files are UTF-8
Reference: http://bugs.debian.org/717851
Ansgar Burchardt [Sat, 3 Aug 2013 14:59:08 +0000 (16:59 +0200)]
dak/generate_index_diffs.py: stop using deprecated settings from dak.conf
Ansgar Burchardt [Sat, 3 Aug 2013 13:09:54 +0000 (15:09 +0200)]
config/debian/dak.conf: remove deprecated settings
Remove some deprecated settings from the main archive configuration.
Ansgar Burchardt [Sat, 3 Aug 2013 01:34:23 +0000 (03:34 +0200)]
config/debian-security/*: remove deprecated settings
Remove some deprecated settings from the security archive configuration.
Ansgar Burchardt [Fri, 2 Aug 2013 20:51:04 +0000 (22:51 +0200)]
dak/rm.py: remove some output
Deciding which packages to remove became much quicker now that only the
database is queried and no files are accessed. So the indication that work is
in progress is no longer needed.
Ansgar Burchardt [Fri, 2 Aug 2013 20:47:58 +0000 (22:47 +0200)]
dak/rm.py: add -B/--binary-only option
Add an option to remove all binaries built by a given source package, but
keep the source package. This is useful in addition with -a/--architecture.
Ansgar Burchardt [Fri, 2 Aug 2013 20:32:26 +0000 (22:32 +0200)]
dak/rm.py: rename Binary-Only to Binary
The -b option selects packages by binary name instead of source name.
Ansgar Burchardt [Tue, 30 Jul 2013 21:13:30 +0000 (23:13 +0200)]
config/debian/dinstall.functions: add timestamps for Packages/Sources and Contents
Ansgar Burchardt [Sun, 28 Jul 2013 15:48:56 +0000 (17:48 +0200)]
config/debian-security/cron.buildd: use new buildd queue location