]> err.no Git - dak/log
dak
13 years agographs are just one link to the stat.html
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>
13 years agofixup code
Joerg Jaspert [Sun, 20 Feb 2011 10:13:06 +0000 (11:13 +0100)]
fixup code

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoWrite the RRD files to webdir/stat and enable graph rendering.
Paul Wise [Sun, 20 Feb 2011 06:25:04 +0000 (14:25 +0800)]
Write the RRD files to webdir/stat and enable graph rendering.

13 years agoImprove the label text and formatting of the labels for the queue graphs.
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.

13 years agoImprove the title of the queue graphs.
Paul Wise [Sun, 20 Feb 2011 07:09:52 +0000 (15:09 +0800)]
Improve the title of the queue graphs.

13 years agoInclude the correct path to the graph images in new.html
Paul Wise [Sun, 20 Feb 2011 06:26:13 +0000 (14:26 +0800)]
Include the correct path to the graph images in new.html

13 years agoMake rrdtool errors non-fatal to reduce distruption.
Paul Wise [Sun, 20 Feb 2011 06:23:58 +0000 (14:23 +0800)]
Make rrdtool errors non-fatal to reduce distruption.

13 years agoFix session handling in queue-report.
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>
13 years agooutput rrd/images into /stat. but keep it disabled right now
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>
13 years agorrd foo
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>
13 years agoImplement NEW/BYHAND/DEFERRED/OSPU/SPU graphs
Paul Wise [Sun, 30 Jan 2011 10:35:19 +0000 (18:35 +0800)]
Implement NEW/BYHAND/DEFERRED/OSPU/SPU graphs

13 years agoMerge branch 'dbtests' into merge
Torsten Werner [Sat, 19 Feb 2011 13:22:24 +0000 (14:22 +0100)]
Merge branch 'dbtests' into merge

- Add more tests.
- Add a TODO about maintainer column in table override.
- Convert class Override to ORMObject.
- Improve class Suite.
- Fix and improve class Component.
- Convert class Priority to ORMObject.
- Convert class Section to ORMObject.
- Convert class OverrideType to ORMObject.
- Clean up some old, now obsolete comments.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd a TODO about maintainer column in table override.
Torsten Werner [Sat, 19 Feb 2011 13:14:08 +0000 (14:14 +0100)]
Add a TODO about maintainer column in table override.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest the backrefs of class Override.
Torsten Werner [Sat, 19 Feb 2011 13:07:17 +0000 (14:07 +0100)]
Test the backrefs of class Override.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd fano
Joerg Jaspert [Sat, 19 Feb 2011 13:02:21 +0000 (14:02 +0100)]
Add fano

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoadd security apache.conf
Joerg Jaspert [Sat, 19 Feb 2011 12:58:32 +0000 (13:58 +0100)]
add security apache.conf

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoConvert class Override to ORMObject.
Torsten Werner [Sat, 19 Feb 2011 12:56:42 +0000 (13:56 +0100)]
Convert class Override to ORMObject.

+ Add a test.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agorem new ip
Joerg Jaspert [Sat, 19 Feb 2011 12:50:17 +0000 (13:50 +0100)]
rem new ip

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoRefactor dbtest_contents.py.
Torsten Werner [Sat, 19 Feb 2011 12:03:56 +0000 (13:03 +0100)]
Refactor dbtest_contents.py.

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

13 years agosource the common stuff
Joerg Jaspert [Thu, 17 Feb 2011 21:33:04 +0000 (22:33 +0100)]
source the common stuff

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agomodify new-security-install to allow multiple packages accepted at once
Joerg Jaspert [Thu, 17 Feb 2011 20:49:22 +0000 (21:49 +0100)]
modify new-security-install to allow multiple packages accepted at once

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agofixup source_exist
Joerg Jaspert [Thu, 17 Feb 2011 19:25:48 +0000 (20:25 +0100)]
fixup source_exist

reverse the order of the map check
make it a bit more readable

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodefine temppath
Joerg Jaspert [Wed, 16 Feb 2011 22:59:19 +0000 (23:59 +0100)]
define temppath

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoexport changelogs on security
Joerg Jaspert [Wed, 16 Feb 2011 22:23:01 +0000 (23:23 +0100)]
export changelogs on security

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agocall changelogs from bpo dinstall
Joerg Jaspert [Wed, 16 Feb 2011 22:22:26 +0000 (23:22 +0100)]
call changelogs from bpo dinstall

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdd export dir
Joerg Jaspert [Wed, 16 Feb 2011 22:14:41 +0000 (23:14 +0100)]
Add export dir

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoglob wants a * less or it fails in cases where maintainers have stupid debian/changel...
Joerg Jaspert [Wed, 16 Feb 2011 22:05:47 +0000 (23:05 +0100)]
glob wants a * less or it fails in cases where maintainers have stupid debian/changelogs subdirs

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoRefer to snapshot.debian.org when closing bugs.
Torsten Werner [Mon, 14 Feb 2011 22:29:03 +0000 (23:29 +0100)]
Refer to snapshot.debian.org when closing bugs.

Patch provided by Lucas Nussbaum.

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

13 years agoMerge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak
Joerg Jaspert [Sun, 13 Feb 2011 11:50:05 +0000 (12:50 +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:
  Fix typo 'assiciated'.

13 years agoalias psql to be sure to use libreadline and not the crap and unusable libedit
Joerg Jaspert [Sun, 13 Feb 2011 11:50:00 +0000 (12:50 +0100)]
alias psql to be sure to use libreadline and not the crap and unusable libedit

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agories no longer security testbed
Joerg Jaspert [Sun, 13 Feb 2011 11:49:18 +0000 (12:49 +0100)]
ries no longer security testbed

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Sun, 13 Feb 2011 10:55:17 +0000 (11:55 +0100)]
Merge branch 'master' into dbtests

13 years agoFix typo 'assiciated'.
Torsten Werner [Sun, 13 Feb 2011 10:53:32 +0000 (11:53 +0100)]
Fix typo 'assiciated'.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove class Suite.
Torsten Werner [Sat, 12 Feb 2011 21:31:42 +0000 (22:31 +0100)]
Improve class Suite.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix and improve class Component.
Torsten Werner [Sat, 12 Feb 2011 21:24:09 +0000 (22:24 +0100)]
Fix and improve class Component.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoConvert class Priority to ORMObject.
Torsten Werner [Sat, 12 Feb 2011 21:10:44 +0000 (22:10 +0100)]
Convert class Priority to ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoConvert class Section to ORMObject.
Torsten Werner [Sat, 12 Feb 2011 20:54:50 +0000 (21:54 +0100)]
Convert class Section to ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest function get_override_type().
Torsten Werner [Sat, 12 Feb 2011 20:18:38 +0000 (21:18 +0100)]
Test function get_override_type().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoConvert class OverrideType to ORMObject.
Torsten Werner [Sat, 12 Feb 2011 16:07:14 +0000 (17:07 +0100)]
Convert class OverrideType to ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoClean up some old, now obsolete comments.
Torsten Werner [Sat, 12 Feb 2011 15:34:59 +0000 (16:34 +0100)]
Clean up some old, now obsolete comments.

We have applied DB update #41 meanwhile.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Sat, 12 Feb 2011 15:24:15 +0000 (16:24 +0100)]
Merge branch 'master' into dbtests

13 years agofix oldstable-p-u
Joerg Jaspert [Sat, 12 Feb 2011 12:41:41 +0000 (13:41 +0100)]
fix oldstable-p-u

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak
Torsten Werner [Fri, 11 Feb 2011 12:30:13 +0000 (13:30 +0100)]
Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak

13 years agoFix default value assignment in get-w-b-db.
Torsten Werner [Fri, 11 Feb 2011 12:29:45 +0000 (13:29 +0100)]
Fix default value assignment in get-w-b-db.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoadd oldstable-p-u list entries
Joerg Jaspert [Thu, 10 Feb 2011 21:15:24 +0000 (22:15 +0100)]
add oldstable-p-u list entries

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoReally fix locking behaviour of dinstall.
Torsten Werner [Thu, 10 Feb 2011 12:49:02 +0000 (13:49 +0100)]
Really fix locking behaviour of dinstall.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoalso list pu
Joerg Jaspert [Wed, 9 Feb 2011 07:40:04 +0000 (08:40 +0100)]
also list pu

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 [Mon, 7 Feb 2011 22:15:21 +0000 (23:15 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

13 years agoenable punew for bpo
Joerg Jaspert [Mon, 7 Feb 2011 22:15:08 +0000 (23:15 +0100)]
enable punew for bpo

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoConvert dbconn.py to db upgrade #41.
Torsten Werner [Mon, 7 Feb 2011 22:07:53 +0000 (23:07 +0100)]
Convert dbconn.py to db upgrade #41.

The change is needed for sqlalchemy 0.5.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoremove the useless line
Joerg Jaspert [Mon, 7 Feb 2011 21:55:06 +0000 (22:55 +0100)]
remove the useless line

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agos/release/out/
Joerg Jaspert [Mon, 7 Feb 2011 20:52:49 +0000 (21:52 +0100)]
s/release/out/

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agofor some reason psql likes ; more than :
Joerg Jaspert [Mon, 7 Feb 2011 20:49:48 +0000 (21:49 +0100)]
for some reason psql likes ; more than :

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agodb schema 42
Joerg Jaspert [Mon, 7 Feb 2011 20:47:55 +0000 (21:47 +0100)]
db schema 42

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoadd butautomaticupgrades
Joerg Jaspert [Mon, 7 Feb 2011 20:46:48 +0000 (21:46 +0100)]
add butautomaticupgrades

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Sun, 6 Feb 2011 18:52:20 +0000 (19:52 +0100)]
Merge branch 'master' into dbtests

13 years agosync arches with the real list thats in squeeze
Joerg Jaspert [Sun, 6 Feb 2011 18:10:35 +0000 (19:10 +0100)]
sync arches with the real list thats in squeeze

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdd a test for class BinContents.
Torsten Werner [Sun, 6 Feb 2011 18:06:59 +0000 (19:06 +0100)]
Add a test for class BinContents.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoadd some map
Joerg Jaspert [Sat, 5 Feb 2011 17:04:00 +0000 (18:04 +0100)]
add some map

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agosend codenames
Joerg Jaspert [Sat, 5 Feb 2011 16:16:09 +0000 (17:16 +0100)]
send codenames

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agosilent map first
Joerg Jaspert [Sat, 5 Feb 2011 15:13:44 +0000 (16:13 +0100)]
silent map first

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoadd the silent maps for the code name based stuff
Joerg Jaspert [Sat, 5 Feb 2011 15:12:14 +0000 (16:12 +0100)]
add the silent maps for the code name based stuff

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoback in with opunew
Joerg Jaspert [Sat, 5 Feb 2011 15:01:37 +0000 (16:01 +0100)]
back in with opunew

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agostupid path names
Joerg Jaspert [Sat, 5 Feb 2011 15:01:29 +0000 (16:01 +0100)]
stupid path names

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agostupid hacks, we hate them
Joerg Jaspert [Sat, 5 Feb 2011 10:35:55 +0000 (11:35 +0100)]
stupid hacks, we hate them

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agono alpha/hppa
Joerg Jaspert [Sat, 5 Feb 2011 09:42:44 +0000 (10:42 +0100)]
no alpha/hppa

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdjust for squeeze.stable
Joerg Jaspert [Sat, 5 Feb 2011 09:33:16 +0000 (10:33 +0100)]
Adjust for squeeze.stable

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoreplace the arch list with a command
Joerg Jaspert [Fri, 4 Feb 2011 07:51:49 +0000 (08:51 +0100)]
replace the arch list with a command

not that i think its in use anywhere

Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agogoodbye hppa in testing
Joerg Jaspert [Thu, 3 Feb 2011 22:17:13 +0000 (23:17 +0100)]
goodbye hppa in testing

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Thu, 3 Feb 2011 16:53:27 +0000 (17:53 +0100)]
Merge branch 'master' into dbtests

13 years agoConvert class BinContents to ORMObject.
Torsten Werner [Thu, 3 Feb 2011 16:48:38 +0000 (17:48 +0100)]
Convert class BinContents to ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd a missing primary key in DB upgrade #41.
Torsten Werner [Thu, 3 Feb 2011 09:41:36 +0000 (10:41 +0100)]
Add a missing primary key in DB upgrade #41.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agodont use installer@
Joerg Jaspert [Tue, 1 Feb 2011 20:41:49 +0000 (21:41 +0100)]
dont use installer@

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'dbtests' into merge
Torsten Werner [Tue, 1 Feb 2011 19:24:47 +0000 (20:24 +0100)]
Merge branch 'dbtests' into merge

- Implement ORMObject.session() and .clone().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAvoid ressource leaks in ORMObject.clone().
Torsten Werner [Tue, 1 Feb 2011 09:45:19 +0000 (10:45 +0100)]
Avoid ressource leaks in ORMObject.clone().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImplement ORMObject.session() and .clone().
Torsten Werner [Tue, 1 Feb 2011 06:09:10 +0000 (07:09 +0100)]
Implement ORMObject.session() and .clone().

- session() is syntactic sugar
- clone() is needed for safe multithreading

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd order_by(DBSource.source) to DejavuBinary.
Torsten Werner [Mon, 31 Jan 2011 20:24:39 +0000 (21:24 +0100)]
Add order_by(DBSource.source) to DejavuBinary.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd new test SessionTestCase.
Torsten Werner [Mon, 31 Jan 2011 20:21:33 +0000 (21:21 +0100)]
Add new test SessionTestCase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoDo not use a separate session for timestamps during tests.
Torsten Werner [Mon, 31 Jan 2011 12:09:46 +0000 (13:09 +0100)]
Do not use a separate session for timestamps during tests.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd a missing print in report_multiple_source().
Torsten Werner [Sun, 30 Jan 2011 22:53:25 +0000 (23:53 +0100)]
Add a missing print in report_multiple_source().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Sun, 30 Jan 2011 18:22:43 +0000 (19:22 +0100)]
Merge branch 'master' into dbtests

13 years agoRe-Implement the bms check in cruft-report.
Torsten Werner [Sun, 30 Jan 2011 11:39:20 +0000 (12:39 +0100)]
Re-Implement the bms check in cruft-report.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agothey want dak@, so let it be there (and just remove myself from that alias)
Joerg Jaspert [Sun, 30 Jan 2011 09:26:49 +0000 (10:26 +0100)]
they want dak@, so let it be there (and just remove myself from that alias)

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'dbtests'
Torsten Werner [Sat, 29 Jan 2011 12:57:12 +0000 (13:57 +0100)]
Merge branch 'dbtests'

13 years agoFix NFU check in cruft-report.
Torsten Werner [Sat, 29 Jan 2011 12:55:00 +0000 (13:55 +0100)]
Fix NFU check in cruft-report.

- Fix default wanna build dump location.
- Fix output of dak rm command.
- Add NFU check to daily mode.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agodebianqueued
Joerg Jaspert [Sat, 29 Jan 2011 12:45:40 +0000 (13:45 +0100)]
debianqueued

take out the accidently merged addr override inside debianqueued.
Thats what the overridemail setting in the config is for.
Also point that to team@security, not us anymore, we dont care, its
their uploads.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agow-b-dump/nfu
Joerg Jaspert [Sat, 29 Jan 2011 12:42:23 +0000 (13:42 +0100)]
w-b-dump/nfu

make the get-w-b-db script work again and move its call to cron.daily

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'dbtests' into merge
Torsten Werner [Sat, 29 Jan 2011 11:28:04 +0000 (12:28 +0100)]
Merge branch 'dbtests' into merge

* Improve file headers in threadpool.py and cruft.py.
* Fix typo in PoolFile.is_valid().
* Add location_id to return value of str(somelocation).

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove file headers in threadpool.py and cruft.py.
Torsten Werner [Sat, 29 Jan 2011 11:25:14 +0000 (12:25 +0100)]
Improve file headers in threadpool.py and cruft.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix typo in PoolFile.is_valid().
Torsten Werner [Fri, 28 Jan 2011 22:12:29 +0000 (23:12 +0100)]
Fix typo in PoolFile.is_valid().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd location_id to return value of str(somelocation).
Torsten Werner [Fri, 28 Jan 2011 22:08:39 +0000 (23:08 +0100)]
Add location_id to return value of str(somelocation).

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'dbtests' into merge
Torsten Werner [Fri, 28 Jan 2011 21:54:44 +0000 (22:54 +0100)]
Merge branch 'dbtests' into merge

* Refactor do_newer_version() in cruft_report.py and add a test.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Fri, 28 Jan 2011 21:44:39 +0000 (22:44 +0100)]
Merge branch 'master' into dbtests

13 years agoExtend the testcase for check_poolfile().
Torsten Werner [Fri, 28 Jan 2011 21:17:08 +0000 (22:17 +0100)]
Extend the testcase for check_poolfile().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agofix is_valid of PoolFile to compare a long with a long, not a str
Joerg Jaspert [Fri, 28 Jan 2011 21:12:59 +0000 (22:12 +0100)]
fix is_valid of PoolFile to compare a long with a long, not a str

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoRefactor do_newer_version() in cruft_report.py.
Torsten Werner [Thu, 27 Jan 2011 21:46:42 +0000 (22:46 +0100)]
Refactor do_newer_version() in cruft_report.py.

+ Add a test.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'dbtests' into merge
Torsten Werner [Thu, 27 Jan 2011 18:44:33 +0000 (19:44 +0100)]
Merge branch 'dbtests' into merge

* Remove function get_binary_components().
* Test and refactor get_component_by_package_suite().
* Convert class Component to ORMObject.
* Drop class BinAssociation.
* Create, test, and refactor get_suite_version_by_package().
* Create, test, and refactor get_source_by_package_and_suite().
* Remove unused function get_binaries_from_source_id().
* Remove unused function get_binaries_from_name().
* Remove unused function get_binary_from_id().
* Test and refactor function add_deb_to_db().
* Refactor and test class DBBinary.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove function get_binary_components().
Torsten Werner [Thu, 27 Jan 2011 18:40:56 +0000 (19:40 +0100)]
Remove function get_binary_components().

Signed-off-by: Torsten Werner <twerner@debian.org>