]>
err.no Git - dak/log
Mark Hymers [Mon, 21 Mar 2011 11:44:59 +0000 (11:44 +0000)]
Prepare for pg 9.0
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Mon, 21 Mar 2011 11:32:16 +0000 (12:32 +0100)]
gps timeout/error handling
return the result of the a-f call.
additionally get it using a timeout.
when either a TimeoutError occurs or the result is non-zero, complain about it
and then exit non-zero, so dinstall could stop.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 21 Mar 2011 11:28:45 +0000 (12:28 +0100)]
mhy, das kruemelmonster
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 21 Mar 2011 09:39:05 +0000 (10:39 +0100)]
database backup foo
no longer dump the full database on each dinstall run. instead we just
save a transaction id. DSA is doing the backup dumps in whatever cycle,
and keeping the WAL stuff around, so we can tell them to get us to
whatever point in our db which we might need, ie. the specific transaction
id.
as those are just 9 bytes per file, and not 4gigabytes, we now also save
wth we have been before and after unchecked runs, which makes our backup
be nearer to actual filesystem state than ever.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 21 Mar 2011 08:43:58 +0000 (09:43 +0100)]
remove pgdakdev
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 20 Mar 2011 23:46:00 +0000 (00:46 +0100)]
parse scriptvars, not . vars
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Sun, 20 Mar 2011 23:01:40 +0000 (00:01 +0100)]
Fix a comment in dbconn.py.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sun, 20 Mar 2011 22:30:46 +0000 (23:30 +0100)]
Fix copy-paste error.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sun, 20 Mar 2011 22:03:30 +0000 (23:03 +0100)]
Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak
Torsten Werner [Sun, 20 Mar 2011 22:02:34 +0000 (23:02 +0100)]
Ignore more warnings from python-apt.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Sat, 19 Mar 2011 14:05:06 +0000 (15:05 +0100)]
Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
* 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak:
Add filename de-duplication to contents scanning.
Joerg Jaspert [Sat, 19 Mar 2011 14:04:59 +0000 (15:04 +0100)]
updates
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Tue, 15 Mar 2011 18:14:47 +0000 (19:14 +0100)]
Merge branch 'dbtests'
Torsten Werner [Tue, 15 Mar 2011 17:58:39 +0000 (18:58 +0100)]
Add filename de-duplication to contents scanning.
Signed-off-by: Torsten Werner <twerner@debian.org>
Julien Cristau [Mon, 14 Mar 2011 21:48:57 +0000 (22:48 +0100)]
byhand-di: allow YYYYMMDD+<suite>x version numbers
To: debian-dak@lists.debian.org
Cc: Julien Cristau <jcristau@debian.org>, Otavio Salvador <otavio@ossystems.com.br>
Date: Mon, 14 Mar 2011 14:11:39 +0100
X-Spam-Status: No, score=-1.775 tagged_above=-99 required=4.6 tests=[BAYES_00=-1.9, SARE_SUB_OBFU_OTHER=0.135, T_RP_MATCHES_RCVD=-0.01] autolearn=no
X-Mailer: git-send-email 1.7.2.5
Resent-From: debian-dak@lists.debian.org
stable updates need to have a higher version than binNMUs, but
YYYYMMDD<suite>x << YYYYMMDD+b1.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Mon, 14 Mar 2011 21:07:40 +0000 (22:07 +0100)]
Break hardlink when writing Contents files.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Sat, 12 Mar 2011 14:05:44 +0000 (15:05 +0100)]
we do want -n1, not -n16. we want as many parallel xz as we can
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 12 Mar 2011 09:51:42 +0000 (10:51 +0100)]
dinstall - mirror
exclude the temporary files from apt-ftparchive (*.new), and delete excluded
files too.
Should keep the mirrors happy, cos those files arent readable for others.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Fri, 11 Mar 2011 22:13:28 +0000 (23:13 +0100)]
Handle empty packages in 'dak contents scan'.
Signed-off-by: Torsten Werner <twerner@debian.org>
Mark Hymers [Fri, 11 Mar 2011 20:27:40 +0000 (20:27 +0000)]
allow squeeze-updates to be reset
Signed-off-by: Mark Hymers <mhy@debian.org>
Torsten Werner [Fri, 11 Mar 2011 19:30:22 +0000 (20:30 +0100)]
Switch to 'dak contents generate'.
It replaces APT::FTPArchive::Contents.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 10 Mar 2011 22:07:45 +0000 (23:07 +0100)]
Enable the new contents generation for experimental.
... as a first test
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 10 Mar 2011 21:52:57 +0000 (22:52 +0100)]
Write full section to Contents files.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 9 Mar 2011 08:15:00 +0000 (09:15 +0100)]
Merge branch 'master' into dbtests
Torsten Werner [Wed, 9 Mar 2011 08:14:05 +0000 (09:14 +0100)]
Add workaround for duplicate filenames in contents.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Tue, 8 Mar 2011 21:57:15 +0000 (22:57 +0100)]
Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
* 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak:
bugfixes
Contents: support override suites.
Joerg Jaspert [Tue, 8 Mar 2011 21:57:08 +0000 (22:57 +0100)]
dinstall - use xz for pg dumps, and use a | xargs instead of while
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Tue, 8 Mar 2011 21:47:19 +0000 (22:47 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Torsten Werner [Tue, 8 Mar 2011 21:44:26 +0000 (21:44 +0000)]
bugfixes
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Tue, 8 Mar 2011 21:35:50 +0000 (22:35 +0100)]
Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
* 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak:
Use 'dak contents generate_helper'.
bugfixes
Add a new subcommand 'generate_helper' to 'dak contents'.
Switch to multiprocessing module and reap child gzips.
Joerg Jaspert [Tue, 8 Mar 2011 21:35:32 +0000 (22:35 +0100)]
dinstall - dont recompress .xz files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Tue, 8 Mar 2011 21:29:43 +0000 (22:29 +0100)]
Contents: support override suites.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 8 Mar 2011 20:57:17 +0000 (21:57 +0100)]
Merge branch 'master' into dbtests
Torsten Werner [Tue, 8 Mar 2011 20:55:38 +0000 (20:55 +0000)]
Use 'dak contents generate_helper'.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 8 Mar 2011 20:13:06 +0000 (20:13 +0000)]
bugfixes
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 8 Mar 2011 19:59:26 +0000 (20:59 +0100)]
Add a new subcommand 'generate_helper' to 'dak contents'.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 8 Mar 2011 18:39:59 +0000 (19:39 +0100)]
Switch to multiprocessing module and reap child gzips.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Mon, 7 Mar 2011 22:31:03 +0000 (23:31 +0100)]
And make the whitespace something useful
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 7 Mar 2011 22:30:33 +0000 (23:30 +0100)]
Fixup the regex
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 7 Mar 2011 21:47:49 +0000 (22:47 +0100)]
goodbye comments
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 7 Mar 2011 21:47:10 +0000 (22:47 +0100)]
during unchecked no longer recreate testing indices, only do them when importing new data there
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Torsten Werner [Mon, 7 Mar 2011 20:47:02 +0000 (21:47 +0100)]
Scan 10.000 files per unchecked run.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Mon, 7 Mar 2011 20:46:00 +0000 (21:46 +0100)]
Include all files (except directories) in bin_contents table.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sun, 6 Mar 2011 22:31:46 +0000 (23:31 +0100)]
Merge branch 'dbtests'
Torsten Werner [Sun, 6 Mar 2011 21:25:42 +0000 (22:25 +0100)]
Add missing 'dists' directory to method output_filename().
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 18:55:01 +0000 (19:55 +0100)]
Fully rename bootstrap_bin to scan.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 17:55:00 +0000 (17:55 +0000)]
bugfixes
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 17:26:52 +0000 (18:26 +0100)]
Rewrite most of dak/contents.py.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 15:23:25 +0000 (16:23 +0100)]
Update ContentsTestCase to the current formatting.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 11:21:55 +0000 (11:21 +0000)]
some bugfixes
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 11:19:18 +0000 (12:19 +0100)]
Implement class method ContentsWriter.write_all().
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 10:50:37 +0000 (10:50 +0000)]
bugfixes
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 5 Mar 2011 10:31:07 +0000 (11:31 +0100)]
Add header to Contents files.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 4 Mar 2011 21:28:57 +0000 (22:28 +0100)]
Save a dummy filename for packages without files.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 4 Mar 2011 13:16:02 +0000 (14:16 +0100)]
Call dak contents bootstrap_bin from unchecked.
It is limited to 1000 packages per run.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 4 Mar 2011 12:38:36 +0000 (12:38 +0000)]
bugfixes
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 4 Mar 2011 12:20:19 +0000 (13:20 +0100)]
Rewrite 'dak contents bootstrap_bin' to use ContentsScanner.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 4 Mar 2011 08:07:12 +0000 (09:07 +0100)]
Yield utf-8 encoded strings from DBBinary.scan_contents().
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 4 Mar 2011 08:03:45 +0000 (09:03 +0100)]
Fix contents testcase.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 3 Mar 2011 22:49:50 +0000 (23:49 +0100)]
Merge branch 'master' into dbtests
Conflicts:
tests/dbtest_contents.py
Torsten Werner [Thu, 3 Mar 2011 22:43:55 +0000 (22:43 +0000)]
bugfix
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 3 Mar 2011 22:41:05 +0000 (23:41 +0100)]
Merge branch 'dbtests' of ftp-master.debian.org:public_html/dak into dbtests
Torsten Werner [Thu, 3 Mar 2011 22:34:28 +0000 (23:34 +0100)]
Add workaround for Unicode support in database.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Thu, 3 Mar 2011 21:26:07 +0000 (22:26 +0100)]
s/colour/color/
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Paul Wise [Mon, 21 Feb 2011 14:21:58 +0000 (22:21 +0800)]
Add and enable data collection and graphing for the DEFERRED queues.
Paul Wise [Sun, 20 Feb 2011 11:20:13 +0000 (19:20 +0800)]
Link to the graphs instead of including them in deferred.html
Torsten Werner [Wed, 2 Mar 2011 20:57:08 +0000 (21:57 +0100)]
Merge branch 'dbtests'
Torsten Werner [Wed, 2 Mar 2011 19:00:07 +0000 (20:00 +0100)]
Add a test for the new cascade rule.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 2 Mar 2011 18:40:52 +0000 (19:40 +0100)]
Add an explicit cascade rule for BinContents.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 2 Mar 2011 18:40:52 +0000 (19:40 +0100)]
Add an explicit cascade rule for BinContents.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 2 Mar 2011 13:49:47 +0000 (14:49 +0100)]
Make SQLAlchemy's pool parameters configurable.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 2 Mar 2011 12:34:45 +0000 (13:34 +0100)]
Return some useful values from scan_all().
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 2 Mar 2011 12:17:12 +0000 (13:17 +0100)]
Reap zombie children in scan_contents().
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 1 Mar 2011 21:16:17 +0000 (22:16 +0100)]
Merge branch 'dbtests' into merge
Add classes ContentsWriter and ContentsScanner as a preparation for the new
contents command.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 1 Mar 2011 21:09:17 +0000 (22:09 +0100)]
bugfix
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 1 Mar 2011 21:07:03 +0000 (22:07 +0100)]
Support utf-8 encoding as a primary encoding for filenames.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 1 Mar 2011 20:41:51 +0000 (21:41 +0100)]
Assume that all filenames are iso8859-1 encoded.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 1 Mar 2011 20:02:35 +0000 (21:02 +0100)]
Add missing filter for query in scan_all().
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 1 Mar 2011 19:55:53 +0000 (20:55 +0100)]
Add new class ContentsScanner.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Mon, 28 Feb 2011 20:51:48 +0000 (21:51 +0100)]
Add method scan_contents() to class DBBinary.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Mon, 28 Feb 2011 20:26:45 +0000 (21:26 +0100)]
Add small test package hello_2.2-1_i386.deb.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sun, 20 Feb 2011 13:08:29 +0000 (14:08 +0100)]
Implement and test class ContentsWriter.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Wed, 23 Feb 2011 12:11:27 +0000 (13:11 +0100)]
s/MD5/MD5Sum/
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 22 Feb 2011 17:49:20 +0000 (18:49 +0100)]
its MD5Sum
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 22 Feb 2011 17:44:57 +0000 (18:44 +0100)]
dak.conf, checksums
for now put md5 back into all release files. (pending deletion sometime
not too far away)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 21 Feb 2011 21:24:26 +0000 (22:24 +0100)]
add squeeze-updates to md5
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 21 Feb 2011 21:12:55 +0000 (22:12 +0100)]
generate-releases
add a list of hashes for generate-release with the suite names they are for
remove the double indirection with print_HASH_files, directly call print_hash_files
and use the hashfuncs dict to know which hash function to call
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 20 Feb 2011 17:51:14 +0000 (18:51 +0100)]
drop generation of md5sum output in release files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 20 Feb 2011 16:51:53 +0000 (17:51 +0100)]
generate-releases
include debian-installer MD5SUMS files into our release files. (closes: #611087)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 20 Feb 2011 11:43:15 +0000 (12:43 +0100)]
currently no deferred queue graphs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 20 Feb 2011 10:31:13 +0000 (11:31 +0100)]
graphs are just one link to the stat.html
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 20 Feb 2011 10:13:06 +0000 (11:13 +0100)]
fixup code
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Paul Wise [Sun, 20 Feb 2011 06:25:04 +0000 (14:25 +0800)]
Write the RRD files to webdir/stat and enable graph rendering.
Paul Wise [Sun, 20 Feb 2011 07:57:20 +0000 (15:57 +0800)]
Improve the label text and formatting of the labels for the queue graphs.
Rename the queue graph labels to ones shorter and of equal length.
Don't attempt to merge the numbers into the label, use cur instead.
Also use labels that are more indicative of their meaning.
Don't force the numbers to 3 digits in length.
Turn Min/Max/Avg in the labels to lower case.
Paul Wise [Sun, 20 Feb 2011 07:09:52 +0000 (15:09 +0800)]
Improve the title of the queue graphs.
Paul Wise [Sun, 20 Feb 2011 06:26:13 +0000 (14:26 +0800)]
Include the correct path to the graph images in new.html
Paul Wise [Sun, 20 Feb 2011 06:23:58 +0000 (14:23 +0800)]
Make rrdtool errors non-fatal to reduce distruption.
Torsten Werner [Sat, 19 Feb 2011 23:46:28 +0000 (00:46 +0100)]
Fix session handling in queue-report.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Sat, 19 Feb 2011 21:06:47 +0000 (22:06 +0100)]
output rrd/images into /stat. but keep it disabled right now
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 19 Feb 2011 21:00:01 +0000 (22:00 +0100)]
rrd foo
only one rrd-release-freeze-dates file
proper file headers
Signed-off-by: Joerg Jaspert <joerg@debian.org>