]> git.decadent.org.uk Git - dak.git/log
dak.git
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Mark Hymers [Mon, 21 Mar 2011 21:45:58 +0000 (21:45 +0000)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Mon, 21 Mar 2011 21:45:43 +0000 (21:45 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoUse PK at twerners suggestion
Mark Hymers [Mon, 21 Mar 2011 21:38:29 +0000 (21:38 +0000)]
Use PK at twerners suggestion

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoset db schema version
Mark Hymers [Mon, 21 Mar 2011 21:35:47 +0000 (21:35 +0000)]
set db schema version

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd method reset() to class DBConn() and test it.
Torsten Werner [Mon, 21 Mar 2011 21:26:21 +0000 (22:26 +0100)]
Add method reset() to class DBConn() and test it.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'ftpmaster/master'
Mark Hymers [Mon, 21 Mar 2011 20:55:49 +0000 (20:55 +0000)]
Merge remote branch 'ftpmaster/master'

13 years agoFirst pass at P/S database schema
Mark Hymers [Mon, 21 Mar 2011 20:26:30 +0000 (20:26 +0000)]
First pass at P/S database schema

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoFirst pass at extra_src_references table
Mark Hymers [Mon, 21 Mar 2011 20:18:26 +0000 (20:18 +0000)]
First pass at extra_src_references table

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoAdd table src_contents.
Torsten Werner [Mon, 21 Mar 2011 20:07:33 +0000 (21:07 +0100)]
Add table src_contents.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak
Torsten Werner [Mon, 21 Mar 2011 19:44:39 +0000 (20:44 +0100)]
Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak

13 years agoAdd logging to update-db including transaction id.
Torsten Werner [Mon, 21 Mar 2011 19:43:29 +0000 (20:43 +0100)]
Add logging to update-db including transaction id.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'mhy/master' into merge
Mark Hymers [Mon, 21 Mar 2011 19:23:58 +0000 (19:23 +0000)]
Merge remote branch 'mhy/master' into merge

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoReally update to DB version #44.
Torsten Werner [Mon, 21 Mar 2011 19:18:53 +0000 (20:18 +0100)]
Really update to DB version #44.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Mon, 21 Mar 2011 17:21:16 +0000 (18:21 +0100)]
Merge branch 'master' into dbtests

Conflicts:
dak/update_db.py

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRename DB upgrade #43 to #44.
Torsten Werner [Mon, 21 Mar 2011 17:14:26 +0000 (18:14 +0100)]
Rename DB upgrade #43 to #44.

bad, bad mhy...

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agomake check_overrides not delete stuff thats not at least 14 days old
Joerg Jaspert [Mon, 21 Mar 2011 15:56:26 +0000 (16:56 +0100)]
make check_overrides not delete stuff thats not at least 14 days old

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoDon't contradict ourselves within 2 lines
Mark Hymers [Mon, 21 Mar 2011 15:32:10 +0000 (15:32 +0000)]
Don't contradict ourselves within 2 lines

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoadd mvo quote
Mark Hymers [Mon, 21 Mar 2011 15:06:30 +0000 (15:06 +0000)]
add mvo quote

Signed-off-by: Mark Hymers <mhy@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Mon, 21 Mar 2011 13:17:57 +0000 (14:17 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

* 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak:
  Prepare for pg 9.0

13 years agogps
Joerg Jaspert [Mon, 21 Mar 2011 13:17:45 +0000 (14:17 +0100)]
gps

change the way we run the pool once more, hopefully being less bad now. also, this tool is EOL somehwat, so who cares how bad it looks

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoPrepare for pg 9.0
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>
13 years agogps timeout/error handling
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>
13 years agomhy, das kruemelmonster
Joerg Jaspert [Mon, 21 Mar 2011 11:28:45 +0000 (12:28 +0100)]
mhy, das kruemelmonster

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodatabase backup foo
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>
13 years agoremove pgdakdev
Joerg Jaspert [Mon, 21 Mar 2011 08:43:58 +0000 (09:43 +0100)]
remove pgdakdev

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoRemove old contents code and tables.
Torsten Werner [Mon, 21 Mar 2011 08:24:12 +0000 (09:24 +0100)]
Remove old contents code and tables.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoparse scriptvars, not . vars
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>
13 years agoFix a comment in dbconn.py.
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>
13 years agoFix copy-paste error.
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>
13 years agoMerge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak
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

13 years agoIgnore more warnings from python-apt.
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>
13 years agoMerge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
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.

13 years agoupdates
Joerg Jaspert [Sat, 19 Mar 2011 14:04:59 +0000 (15:04 +0100)]
updates

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'dbtests'
Torsten Werner [Tue, 15 Mar 2011 18:14:47 +0000 (19:14 +0100)]
Merge branch 'dbtests'

13 years agoAdd filename de-duplication to contents scanning.
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>
13 years agobyhand-di: allow YYYYMMDD+<suite>x version numbers
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>
13 years agoBreak hardlink when writing Contents files.
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>
13 years agowe do want -n1, not -n16. we want as many parallel xz as we can
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>
13 years agodinstall - mirror
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>
13 years agoHandle empty packages in 'dak contents scan'.
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>
13 years agoallow squeeze-updates to be reset
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>
13 years agoSwitch to 'dak contents generate'.
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>
13 years agoEnable the new contents generation for experimental.
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>
13 years agoWrite full section to Contents files.
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>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Wed, 9 Mar 2011 08:15:00 +0000 (09:15 +0100)]
Merge branch 'master' into dbtests

13 years agoAdd workaround for duplicate filenames in contents.
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>
13 years agoMerge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
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.

13 years agodinstall - use xz for pg dumps, and use a | xargs instead of while
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>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
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

13 years agobugfixes
Torsten Werner [Tue, 8 Mar 2011 21:44:26 +0000 (21:44 +0000)]
bugfixes

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
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.

13 years agodinstall - dont recompress .xz files
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>
13 years agoContents: support override suites.
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>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Tue, 8 Mar 2011 20:57:17 +0000 (21:57 +0100)]
Merge branch 'master' into dbtests

13 years agoUse 'dak contents generate_helper'.
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>
13 years agobugfixes
Torsten Werner [Tue, 8 Mar 2011 20:13:06 +0000 (20:13 +0000)]
bugfixes

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd a new subcommand 'generate_helper' to 'dak contents'.
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>
13 years agoSwitch to multiprocessing module and reap child gzips.
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>
13 years agoAnd make the whitespace something useful
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>
13 years agoFixup the regex
Joerg Jaspert [Mon, 7 Mar 2011 22:30:33 +0000 (23:30 +0100)]
Fixup the regex

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agogoodbye comments
Joerg Jaspert [Mon, 7 Mar 2011 21:47:49 +0000 (22:47 +0100)]
goodbye comments

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoduring unchecked no longer recreate testing indices, only do them when importing...
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>
13 years agoScan 10.000 files per unchecked run.
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>
13 years agoInclude all files (except directories) in bin_contents table.
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>
13 years agoMerge branch 'dbtests'
Torsten Werner [Sun, 6 Mar 2011 22:31:46 +0000 (23:31 +0100)]
Merge branch 'dbtests'

13 years agoAdd missing 'dists' directory to method output_filename().
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>
13 years agoFully rename bootstrap_bin to scan.
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>
13 years agobugfixes
Torsten Werner [Sat, 5 Mar 2011 17:55:00 +0000 (17:55 +0000)]
bugfixes

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRewrite most of dak/contents.py.
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>
13 years agoUpdate ContentsTestCase to the current formatting.
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>
13 years agosome bugfixes
Torsten Werner [Sat, 5 Mar 2011 11:21:55 +0000 (11:21 +0000)]
some bugfixes

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImplement class method ContentsWriter.write_all().
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>
13 years agobugfixes
Torsten Werner [Sat, 5 Mar 2011 10:50:37 +0000 (10:50 +0000)]
bugfixes

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd header to Contents files.
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>
13 years agoSave a dummy filename for packages without files.
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>
13 years agoCall dak contents bootstrap_bin from unchecked.
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>
13 years agobugfixes
Torsten Werner [Fri, 4 Mar 2011 12:38:36 +0000 (12:38 +0000)]
bugfixes

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRewrite 'dak contents bootstrap_bin' to use ContentsScanner.
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>
13 years agoYield utf-8 encoded strings from DBBinary.scan_contents().
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>
13 years agoFix contents testcase.
Torsten Werner [Fri, 4 Mar 2011 08:03:45 +0000 (09:03 +0100)]
Fix contents testcase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Thu, 3 Mar 2011 22:49:50 +0000 (23:49 +0100)]
Merge branch 'master' into dbtests

Conflicts:
tests/dbtest_contents.py

13 years agobugfix
Torsten Werner [Thu, 3 Mar 2011 22:43:55 +0000 (22:43 +0000)]
bugfix

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'dbtests' of ftp-master.debian.org:public_html/dak into dbtests
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

13 years agoAdd workaround for Unicode support in database.
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>
13 years agos/colour/color/
Joerg Jaspert [Thu, 3 Mar 2011 21:26:07 +0000 (22:26 +0100)]
s/colour/color/

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdd and enable data collection and graphing for the DEFERRED queues.
Paul Wise [Mon, 21 Feb 2011 14:21:58 +0000 (22:21 +0800)]
Add and enable data collection and graphing for the DEFERRED queues.

13 years agoLink to the graphs instead of including them in deferred.html
Paul Wise [Sun, 20 Feb 2011 11:20:13 +0000 (19:20 +0800)]
Link to the graphs instead of including them in deferred.html

13 years agoMerge branch 'dbtests'
Torsten Werner [Wed, 2 Mar 2011 20:57:08 +0000 (21:57 +0100)]
Merge branch 'dbtests'

13 years agoAdd a test for the new cascade rule.
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>
13 years agoAdd an explicit cascade rule for BinContents.
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>
13 years agoAdd an explicit cascade rule for BinContents.
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>
13 years agoMake SQLAlchemy's pool parameters configurable.
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>
13 years agoReturn some useful values from scan_all().
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>
13 years agoReap zombie children in scan_contents().
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>
13 years agoMerge branch 'dbtests' into merge
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>
13 years agobugfix
Torsten Werner [Tue, 1 Mar 2011 21:09:17 +0000 (22:09 +0100)]
bugfix

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoSupport utf-8 encoding as a primary encoding for filenames.
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>
13 years agoAssume that all filenames are iso8859-1 encoded.
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>
13 years agoAdd missing filter for query in scan_all().
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>
13 years agoAdd new class ContentsScanner.
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>