]> err.no Git - dak/log
dak
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>
13 years agoCreate, test, and refactor get_source_by_package_and_suite().
Torsten Werner [Wed, 26 Jan 2011 20:01:59 +0000 (21:01 +0100)]
Create, test, and refactor get_source_by_package_and_suite().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove version and arch from all win32-loader byhand files.
Didier Raboud [Wed, 26 Jan 2011 12:30:16 +0000 (13:30 +0100)]
Remove version and arch from all win32-loader byhand files.

13 years agoChmod the win32-loader byhand files to 0644
Didier Raboud [Wed, 26 Jan 2011 11:11:43 +0000 (12:11 +0100)]
Chmod the win32-loader byhand files to 0644

13 years agoRemove unused function get_binaries_from_source_id().
Torsten Werner [Wed, 26 Jan 2011 06:15:16 +0000 (07:15 +0100)]
Remove unused function get_binaries_from_source_id().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove unused function get_binaries_from_name().
Torsten Werner [Wed, 26 Jan 2011 06:14:39 +0000 (07:14 +0100)]
Remove unused function get_binaries_from_name().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove unused function get_binary_from_id().
Torsten Werner [Wed, 26 Jan 2011 06:11:09 +0000 (07:11 +0100)]
Remove unused function get_binary_from_id().

It is equivalent to DBBinary.get(binary_id[, session]).

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd workaround for SQLAlchemy 0.5.
Torsten Werner [Tue, 25 Jan 2011 22:38:11 +0000 (23:38 +0100)]
Add workaround for SQLAlchemy 0.5.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest and refactor function add_deb_to_db().
Torsten Werner [Tue, 25 Jan 2011 22:27:54 +0000 (23:27 +0100)]
Test and refactor function add_deb_to_db().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRefactor and test class DBBinary.
Torsten Werner [Tue, 25 Jan 2011 20:26:25 +0000 (21:26 +0100)]
Refactor and test class DBBinary.

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

* Add the ORMObject.get() class method.
* Simplify validation of not NULL constraints.
* Derive more classes from ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoChange base class of Uid to ORMObject.
Torsten Werner [Tue, 25 Jan 2011 18:54:14 +0000 (19:54 +0100)]
Change base class of Uid to ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd the ORMObject.get() class method.
Torsten Werner [Tue, 25 Jan 2011 06:32:44 +0000 (07:32 +0100)]
Add the ORMObject.get() class method.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoExtend ORMObject.validate() to support _id columns.
Torsten Werner [Tue, 25 Jan 2011 06:11:13 +0000 (07:11 +0100)]
Extend ORMObject.validate() to support _id columns.

It won't throw an exception if the numeric _id property is set instead the real
property.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMake validation of DBSource less strong.
Torsten Werner [Mon, 24 Jan 2011 22:16:34 +0000 (23:16 +0100)]
Make validation of DBSource less strong.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoSimplify validation of not NULL constraints.
Torsten Werner [Mon, 24 Jan 2011 19:56:43 +0000 (20:56 +0100)]
Simplify validation of not NULL constraints.

And derive more classes from ORMObject.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'dbtests' into merge
Torsten Werner [Mon, 24 Jan 2011 17:55:01 +0000 (18:55 +0100)]
Merge branch 'dbtests' into merge

* Add classes Validator and ValidatorTestCase.
* 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.
* Refactor add_dsc_to_db().
* Test function add_dsc_to_db()
* Test and refactor get_suites_source_in().
* Refactor get_source_in_suite().
* Test the DBSource and Suite relation.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoValidatorTestCase: test before_update, too.
Torsten Werner [Mon, 24 Jan 2011 06:51:30 +0000 (07:51 +0100)]
ValidatorTestCase: test before_update, too.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd PoolFile.validate().
Torsten Werner [Sun, 23 Jan 2011 23:00:53 +0000 (00:00 +0100)]
Add PoolFile.validate().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd classes Validator and ValidatorTestCase.
Torsten Werner [Sun, 23 Jan 2011 22:29:06 +0000 (23:29 +0100)]
Add classes Validator and ValidatorTestCase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix documentation.
Torsten Werner [Sun, 23 Jan 2011 21:25:20 +0000 (22:25 +0100)]
Fix documentation.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoJSON: support python 2.5, too.
Torsten Werner [Sun, 23 Jan 2011 20:53:13 +0000 (21:53 +0100)]
JSON: support python 2.5, too.

The json module is available in version 2.6 but we have simplejson in 2.5.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd new class ORMObject and ORMObjectTestCase.
Torsten Werner [Sun, 23 Jan 2011 20:17:47 +0000 (21:17 +0100)]
Add new class ORMObject and ORMObjectTestCase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRefactor the fixture setup in PackageTestCase.
Torsten Werner [Sun, 23 Jan 2011 11:18:53 +0000 (12:18 +0100)]
Refactor the fixture setup in PackageTestCase.

The test data gets setup in method setUp() now.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove queries in dbconn.py using with_parent().
Torsten Werner [Sat, 22 Jan 2011 22:58:38 +0000 (23:58 +0100)]
Improve queries in dbconn.py using with_parent().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd functions to colourize RC bug fixing packages differently
Kumar Appaiah [Sat, 25 Sep 2010 22:04:10 +0000 (17:04 -0500)]
Add functions to colourize RC bug fixing packages differently

This commit adds some functions to query the BTS Soap interface to
determine if the package closes an RC bug or not. If it does close an
RC bug, it allows for differently colourizing the package line. It
adds a variable to indicate if a package fixes an RC bug or not, and
already allows for colourization of the HTML output; the new entry can
be used to colourize in other output formats as well.

Signed-off-by: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Sat, 22 Jan 2011 22:00:32 +0000 (23:00 +0100)]
Merge branch 'master' into dbtests

13 years agoDrop class SrcAssociation.
Torsten Werner [Sat, 22 Jan 2011 21:53:49 +0000 (22:53 +0100)]
Drop class SrcAssociation.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoCreate, test, and improve get_suite_version().
Torsten Werner [Sat, 22 Jan 2011 21:52:13 +0000 (22:52 +0100)]
Create, test, and improve get_suite_version().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoCreate, test, and improve get_newest_source().
Torsten Werner [Sat, 22 Jan 2011 20:41:57 +0000 (21:41 +0100)]
Create, test, and improve get_newest_source().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest and improve package_to_suite().
Torsten Werner [Sat, 22 Jan 2011 19:47:57 +0000 (20:47 +0100)]
Test and improve package_to_suite().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest and Improve source_exists().
Torsten Werner [Sat, 22 Jan 2011 18:53:59 +0000 (19:53 +0100)]
Test and Improve source_exists().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'drkranz/make-changelog' into merge
Joerg Jaspert [Sat, 22 Jan 2011 13:07:09 +0000 (14:07 +0100)]
Merge remote branch 'drkranz/make-changelog' into merge

* drkranz/make-changelog:
  make-changelog: refactorize code to improve performances

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Sat, 22 Jan 2011 13:03:33 +0000 (14:03 +0100)]
Merge branch 'master' into dbtests

13 years agoRemove some useless session.flush() calls.
Torsten Werner [Sat, 22 Jan 2011 12:49:29 +0000 (13:49 +0100)]
Remove some useless session.flush() calls.

We are using sqlalchemy's autoflush mode.

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, 22 Jan 2011 12:44:59 +0000 (13:44 +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:
  Simplify DebVersionTestCase.
  Refactor PackageTestCase.test_sources().
  Refactor PackageTestCase.
  Make a bidirectional relation  DBSource - PoolFile.
  Improve test_maintainers().
  Refactor maintainer tests.

13 years agoUpdate stable point release readme
Joerg Jaspert [Sat, 22 Jan 2011 12:44:52 +0000 (13:44 +0100)]
Update stable point release readme

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoTest suite_name in test_upload()
Torsten Werner [Sat, 22 Jan 2011 12:43:51 +0000 (13:43 +0100)]
Test suite_name in test_upload()

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest function add_dsc_to_db()
Torsten Werner [Sat, 22 Jan 2011 12:35:18 +0000 (13:35 +0100)]
Test function add_dsc_to_db()

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRefactor add_dsc_to_db().
Torsten Werner [Sat, 22 Jan 2011 10:51:29 +0000 (11:51 +0100)]
Refactor add_dsc_to_db().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agomake-changelog: refactorize code to improve performances
Luca Falavigna [Sat, 22 Jan 2011 10:53:58 +0000 (10:53 +0000)]
make-changelog: refactorize code to improve performances

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoTest and refactor get_suites_source_in().
Torsten Werner [Sat, 22 Jan 2011 10:48:19 +0000 (11:48 +0100)]
Test and refactor get_suites_source_in().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRefactor get_source_in_suite().
Torsten Werner [Sat, 22 Jan 2011 10:34:05 +0000 (11:34 +0100)]
Refactor get_source_in_suite().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest the DBSource and Suite relation.
Torsten Werner [Fri, 21 Jan 2011 23:05:36 +0000 (00:05 +0100)]
Test the DBSource and Suite relation.

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 [Fri, 21 Jan 2011 22:05:24 +0000 (23:05 +0100)]
Merge branch 'dbtests' of ftp-master.debian.org:public_html/dak into dbtests

13 years agoMerge branch 'master' into dbtests
Torsten Werner [Fri, 21 Jan 2011 22:05:10 +0000 (23:05 +0100)]
Merge branch 'master' into dbtests

13 years agoSimplify DebVersionTestCase.
Torsten Werner [Fri, 21 Jan 2011 14:09:22 +0000 (15:09 +0100)]
Simplify DebVersionTestCase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agowin32-loader autobyhand
Joerg Jaspert [Thu, 20 Jan 2011 22:17:04 +0000 (23:17 +0100)]
win32-loader autobyhand

fix dak.conf by closing }; the entry.
use proper set statements
use scriptvars and later on $ftpdir instead of writing full path
drop error() function, only used once.
proper indentation
change target path to build a win32-loader/$SUITE tree so different suites can have different installer for win32
remove unused trap - and call to undefined function cleanup.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agouse set statements for options to the shell
Joerg Jaspert [Thu, 20 Jan 2011 22:13:37 +0000 (23:13 +0100)]
use set statements for options to the shell

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoRefactor PackageTestCase.test_sources().
Torsten Werner [Thu, 20 Jan 2011 21:58:08 +0000 (22:58 +0100)]
Refactor PackageTestCase.test_sources().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'odyx/win32-loader-autobyhand' into merge
Joerg Jaspert [Thu, 20 Jan 2011 21:57:47 +0000 (22:57 +0100)]
Merge remote branch 'odyx/win32-loader-autobyhand' into merge

* odyx/win32-loader-autobyhand:
  Add a win32-loader autobyhand script.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoRefactor PackageTestCase.
Torsten Werner [Thu, 20 Jan 2011 21:36:05 +0000 (22:36 +0100)]
Refactor PackageTestCase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMake a bidirectional relation DBSource - PoolFile.
Torsten Werner [Thu, 20 Jan 2011 21:08:35 +0000 (22:08 +0100)]
Make a bidirectional relation  DBSource - PoolFile.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove test_maintainers().
Torsten Werner [Thu, 20 Jan 2011 19:48:38 +0000 (20:48 +0100)]
Improve test_maintainers().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRefactor maintainer tests.
Torsten Werner [Thu, 20 Jan 2011 19:31:23 +0000 (20:31 +0100)]
Refactor maintainer tests.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Torsten Werner [Thu, 20 Jan 2011 17:27:52 +0000 (18:27 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

13 years agoExtend PackageTestCase.
Torsten Werner [Wed, 19 Jan 2011 21:11:58 +0000 (22:11 +0100)]
Extend PackageTestCase.

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