]> err.no Git - dak/log
dak
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>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Thu, 27 Jan 2011 18:26:12 +0000 (19:26 +0100)]
Merge branch 'master' into dbtests

13 years agoExtend test_get_component_by_package_suite() even more.
Torsten Werner [Thu, 27 Jan 2011 06:22:13 +0000 (07:22 +0100)]
Extend test_get_component_by_package_suite() even more.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove get_component_by_package_suite().
Torsten Werner [Thu, 27 Jan 2011 06:14:07 +0000 (07:14 +0100)]
Improve get_component_by_package_suite().

- Return component name of newest package.
- Add docstring.
- Test for returning newest package.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest and refactor get_component_by_package_suite().
Torsten Werner [Wed, 26 Jan 2011 23:07:48 +0000 (00:07 +0100)]
Test and refactor get_component_by_package_suite().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRevert "Add functions to colourize RC bug fixing packages differently"
Joerg Jaspert [Wed, 26 Jan 2011 22:26:58 +0000 (23:26 +0100)]
Revert "Add functions to colourize RC bug fixing packages differently"

This reverts commit 5c7286abf3ff316a802de2b41d246a07f6b04257.

Accidently merged and it makes queue-report hang forever currently, so gone
for now.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote branch 'odyx/win32-loader-autobyhand' into merge
Joerg Jaspert [Wed, 26 Jan 2011 22:22:01 +0000 (23:22 +0100)]
Merge remote branch 'odyx/win32-loader-autobyhand' into merge

* odyx/win32-loader-autobyhand:
  Remove version and arch from all win32-loader byhand files.
  Chmod the win32-loader byhand files to 0644

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' into merge
Joerg Jaspert [Wed, 26 Jan 2011 22:20:48 +0000 (23:20 +0100)]
Merge branch 'master' into merge

* master: (25 commits)
  Change base class of Uid to ORMObject.
  Add the ORMObject.get() class method.
  Extend ORMObject.validate() to support _id columns.
  Make validation of DBSource less strong.
  Simplify validation of not NULL constraints.
  ValidatorTestCase: test before_update, too.
  Add PoolFile.validate().
  Add classes Validator and ValidatorTestCase.
  Fix documentation.
  JSON: support python 2.5, too.
  Add new class ORMObject and ORMObjectTestCase.
  Refactor the fixture setup in PackageTestCase.
  Improve queries in dbconn.py using with_parent().
  Drop class SrcAssociation.
  Create, test, and improve get_suite_version().
  Create, test, and improve get_newest_source().
  Test and improve package_to_suite().
  Test and Improve source_exists().
  Remove some useless session.flush() calls.
  Test suite_name in test_upload()
  ...

13 years agoConvert class Component to ORMObject.
Torsten Werner [Wed, 26 Jan 2011 21:54:11 +0000 (22:54 +0100)]
Convert class Component to ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoDrop class BinAssociation.
Torsten Werner [Wed, 26 Jan 2011 20:34:10 +0000 (21:34 +0100)]
Drop class BinAssociation.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoCreate, test, and refactor get_suite_version_by_package().
Torsten Werner [Wed, 26 Jan 2011 20:21:52 +0000 (21:21 +0100)]
Create, test, and refactor get_suite_version_by_package().

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