]> git.decadent.org.uk Git - dak.git/log
dak.git
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 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' 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 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 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>
13 years agoRemove function get_poolfile_by_name().
Torsten Werner [Wed, 19 Jan 2011 19:31:53 +0000 (20:31 +0100)]
Remove function get_poolfile_by_name().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTest PoolFile.fullpath.
Torsten Werner [Wed, 19 Jan 2011 19:31:23 +0000 (20:31 +0100)]
Test PoolFile.fullpath.

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 [Wed, 19 Jan 2011 18:49:08 +0000 (19:49 +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:
  Extend test_poolfiles().
  Add a test for PoolFile and Location.
  Mark Location.archive_type as obsolete.
  Carefully add a backref from PoolFile to Location.
  Add an incomplete test for Maintainer.
  Make relation Maintainer - DBSource bidirectional.
  TimestampTestCase: replace sql string by func.now.
  DBSource: drop property srcassociations.

13 years agoEnsure symlinks get copied as symlinks, not their contents
Joerg Jaspert [Wed, 19 Jan 2011 18:49:00 +0000 (19:49 +0100)]
Ensure symlinks get copied as symlinks, not their contents

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoExtend test_poolfiles().
Torsten Werner [Wed, 19 Jan 2011 09:35:03 +0000 (10:35 +0100)]
Extend test_poolfiles().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd a test for PoolFile and Location.
Torsten Werner [Wed, 19 Jan 2011 07:39:42 +0000 (08:39 +0100)]
Add a test for PoolFile and Location.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMark Location.archive_type as obsolete.
Torsten Werner [Tue, 18 Jan 2011 21:11:01 +0000 (22:11 +0100)]
Mark Location.archive_type as obsolete.

It needs to be removed through a DB upgrade.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoCarefully add a backref from PoolFile to Location.
Torsten Werner [Tue, 18 Jan 2011 21:05:03 +0000 (22:05 +0100)]
Carefully add a backref from PoolFile to Location.

Using lazy='dynamic' makes sure that property Location.files is not a very huge
list but a query object that can be iterated or .filter()-ed.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd an incomplete test for Maintainer.
Torsten Werner [Tue, 18 Jan 2011 20:12:33 +0000 (21:12 +0100)]
Add an incomplete test for Maintainer.

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

13 years agoAdd a win32-loader autobyhand script.
Didier Raboud [Tue, 18 Jan 2011 12:30:37 +0000 (13:30 +0100)]
Add a win32-loader autobyhand script.

13 years agomake-changelog: do not move to next element on unpack error
Luca Falavigna [Tue, 18 Jan 2011 08:19:37 +0000 (08:19 +0000)]
make-changelog: do not move to next element on unpack error

This leads to not correctly remove temporary directory, which
is not available for the next packages to be unpacked.

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agomake-changelog: only consider latest sources in suites
Luca Falavigna [Tue, 18 Jan 2011 08:18:06 +0000 (08:18 +0000)]
make-changelog: only consider latest sources in suites

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMake relation Maintainer - DBSource bidirectional.
Torsten Werner [Tue, 18 Jan 2011 05:51:38 +0000 (06:51 +0100)]
Make relation Maintainer - DBSource bidirectional.

The following is possible now (returns lists of DBSource objects):
- somesrc.maintainer.maintains_sources
- somesrc.changedby.changed_sources

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoTimestampTestCase: replace sql string by func.now.
Torsten Werner [Tue, 18 Jan 2011 04:48:44 +0000 (05:48 +0100)]
TimestampTestCase: replace sql string by func.now.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoDBSource: drop property srcassociations.
Torsten Werner [Mon, 17 Jan 2011 19:18:57 +0000 (20:18 +0100)]
DBSource: drop property srcassociations.

... in favour of new property suites.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agomake-changelog: print dpkg-source output on fail
Luca Falavigna [Mon, 17 Jan 2011 17:04:45 +0000 (17:04 +0000)]
make-changelog: print dpkg-source output on fail

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoDrop 'source' and 'all' from 'dak admin s-a list'.
Torsten Werner [Sun, 16 Jan 2011 23:58:14 +0000 (00:58 +0100)]
Drop 'source' and 'all' from  'dak admin s-a list'.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix sort order of property Suite.architectures.
Torsten Werner [Sun, 16 Jan 2011 23:54:17 +0000 (00:54 +0100)]
Fix sort order of property Suite.architectures.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix dak admin s-a list.
Torsten Werner [Sun, 16 Jan 2011 23:41:04 +0000 (00:41 +0100)]
Fix dak admin s-a list.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoOptimize performance of running multiple DB tests.
Torsten Werner [Sun, 16 Jan 2011 23:34:36 +0000 (00:34 +0100)]
Optimize performance of running multiple DB tests.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMake admin.py more robust.
Torsten Werner [Sun, 16 Jan 2011 23:19:24 +0000 (00:19 +0100)]
Make admin.py more robust.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoSuppress warnings in the most suitable files.
Torsten Werner [Sun, 16 Jan 2011 22:49:05 +0000 (23:49 +0100)]
Suppress warnings in the most suitable files.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMake generate-filelist more readable.
Torsten Werner [Sun, 16 Jan 2011 21:02:19 +0000 (22:02 +0100)]
Make generate-filelist more readable.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove class SuiteAchitecture completely.
Torsten Werner [Sun, 16 Jan 2011 20:47:00 +0000 (21:47 +0100)]
Remove class SuiteAchitecture completely.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoUnicode fixes in generate-filelist
Torsten Werner [Sun, 16 Jan 2011 20:38:39 +0000 (21:38 +0100)]
Unicode fixes in generate-filelist

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove SuiteArchitecture from admin.py.
Torsten Werner [Sun, 16 Jan 2011 20:17:58 +0000 (21:17 +0100)]
Remove SuiteArchitecture from admin.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove function get_suite_architecture().
Torsten Werner [Sun, 16 Jan 2011 19:58:44 +0000 (20:58 +0100)]
Remove function get_suite_architecture().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRefactor get_architecture_suites().
Torsten Werner [Sun, 16 Jan 2011 17:22:00 +0000 (18:22 +0100)]
Refactor get_architecture_suites().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd test for get_architecture_suites().
Torsten Werner [Sun, 16 Jan 2011 17:19:44 +0000 (18:19 +0100)]
Add test for get_architecture_suites().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoDefine sort order for Architecture Suite relationship.
Torsten Werner [Sun, 16 Jan 2011 17:09:55 +0000 (18:09 +0100)]
Define sort order for Architecture Suite relationship.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRefactor get_suite_architectures().
Torsten Werner [Sun, 16 Jan 2011 16:33:53 +0000 (17:33 +0100)]
Refactor get_suite_architectures().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd a test for get_suite_architectures().
Torsten Werner [Sun, 16 Jan 2011 15:34:32 +0000 (16:34 +0100)]
Add a test for get_suite_architectures().

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove relation between Suite and Architecture.
Torsten Werner [Sun, 16 Jan 2011 15:06:01 +0000 (16:06 +0100)]
Improve relation between Suite and Architecture.

Define a many to many relation between Suite and Architecture which makes
SuiteArchitecture obsolete.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Sun, 16 Jan 2011 10:24:08 +0000 (11:24 +0100)]
Merge branch 'master' into dbtests

13 years agoHandle (and re-raise) IOError in generate-releases.
Torsten Werner [Sun, 16 Jan 2011 10:19:12 +0000 (11:19 +0100)]
Handle (and re-raise) IOError in generate-releases.

Print the full filename before re-raising the Exception to aid debugging.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoStart new PackageTestCase.
Torsten Werner [Sat, 15 Jan 2011 23:26:22 +0000 (00:26 +0100)]
Start new PackageTestCase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMake TimestampTestCase work with sqlalchemy 0.5.
Torsten Werner [Sat, 15 Jan 2011 17:04:14 +0000 (18:04 +0100)]
Make TimestampTestCase work with sqlalchemy 0.5.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd new TimestampTestCase.
Torsten Werner [Sat, 15 Jan 2011 16:57:23 +0000 (17:57 +0100)]
Add new TimestampTestCase.

* Add triggers to test database.
* Add test case for columns created and modified.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd more Fingerprint tests.
Torsten Werner [Sat, 15 Jan 2011 10:37:40 +0000 (11:37 +0100)]
Add more Fingerprint tests.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd a doc string to FingerprintTestCase.
Torsten Werner [Fri, 14 Jan 2011 23:10:42 +0000 (00:10 +0100)]
Add a doc string to FingerprintTestCase.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove database tests.
Torsten Werner [Fri, 14 Jan 2011 23:04:51 +0000 (00:04 +0100)]
Improve database tests.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge master branch.
Torsten Werner [Fri, 14 Jan 2011 22:40:18 +0000 (23:40 +0100)]
Merge master branch.

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

13 years agoReally fix the DebVersion type in dbconn.py.
Torsten Werner [Fri, 14 Jan 2011 22:35:33 +0000 (23:35 +0100)]
Really fix the DebVersion type in dbconn.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd another fix to DebVersion.
Torsten Werner [Fri, 14 Jan 2011 22:33:36 +0000 (23:33 +0100)]
Add another fix to DebVersion.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoReally fix the DebVersion type in dbconn.py.
Torsten Werner [Fri, 14 Jan 2011 18:46:42 +0000 (19:46 +0100)]
Really fix the DebVersion type in dbconn.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoImprove debversion test.
Torsten Werner [Thu, 13 Jan 2011 21:56:08 +0000 (21:56 +0000)]
Improve debversion test.

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, 13 Jan 2011 21:50:14 +0000 (21:50 +0000)]
Merge branch 'dbtests' of ftp-master.debian.org:public_html/dak into dbtests

13 years agoAdd tests/dbtest_debversion.py.
Torsten Werner [Thu, 13 Jan 2011 21:47:03 +0000 (22:47 +0100)]
Add tests/dbtest_debversion.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoClean up after DB test.
Torsten Werner [Thu, 13 Jan 2011 19:01:09 +0000 (20:01 +0100)]
Clean up after DB test.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix the DebVersion type in dbconn.py.
Torsten Werner [Thu, 13 Jan 2011 18:57:46 +0000 (19:57 +0100)]
Fix the DebVersion type in dbconn.py.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoReally, really fix DebVersion.
Torsten Werner [Thu, 13 Jan 2011 18:31:18 +0000 (19:31 +0100)]
Really, really fix DebVersion.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoReally fix DebVersion type.
Torsten Werner [Thu, 13 Jan 2011 18:25:29 +0000 (19:25 +0100)]
Really fix DebVersion type.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoFix custom type DebVersion in dbconn.py.
Torsten Werner [Thu, 13 Jan 2011 06:19:03 +0000 (07:19 +0100)]
Fix custom type DebVersion in dbconn.py.

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 [Wed, 12 Jan 2011 21:45:42 +0000 (22:45 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak

13 years agoUse original dak.conf in tests/create_pickle_file.py.
Torsten Werner [Wed, 12 Jan 2011 21:11:23 +0000 (22:11 +0100)]
Use original dak.conf in tests/create_pickle_file.py.

We don't want to use the test database for creating the pickle file.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAvoid production database names in dbtest code.
Torsten Werner [Wed, 12 Jan 2011 21:04:10 +0000 (22:04 +0100)]
Avoid production database names in dbtest code.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAdd workaround for database versions < #41.
Torsten Werner [Wed, 12 Jan 2011 20:49:09 +0000 (21:49 +0100)]
Add workaround for database versions < #41.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRename 2 sequences in database upgrade #41.
Torsten Werner [Wed, 12 Jan 2011 20:43:14 +0000 (20:43 +0000)]
Rename 2 sequences in database upgrade #41.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge remote branch 'drkranz/overrides' into merge
Joerg Jaspert [Tue, 11 Jan 2011 22:39:48 +0000 (23:39 +0100)]
Merge remote branch 'drkranz/overrides' into merge

* drkranz/overrides:
  Avoid converting unicode strings into yaml nodes
  override.py: fix typo, spotted by Holger Levsen

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoimprove dbtest_fingerprint.py
Torsten Werner [Tue, 11 Jan 2011 21:38:25 +0000 (22:38 +0100)]
improve dbtest_fingerprint.py

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoupdate db-metadata-0.5.2.pkl to include views
Torsten Werner [Tue, 11 Jan 2011 21:36:57 +0000 (21:36 +0000)]
update db-metadata-0.5.2.pkl to include views

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoupdate db-metadata-0.6.3.pkl to include views
Torsten Werner [Tue, 11 Jan 2011 21:18:46 +0000 (22:18 +0100)]
update db-metadata-0.6.3.pkl to include views

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agodbconn.py: reflect all views, too
Torsten Werner [Tue, 11 Jan 2011 20:47:23 +0000 (20:47 +0000)]
dbconn.py: reflect all views, too

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 [Tue, 11 Jan 2011 20:25:26 +0000 (21:25 +0100)]
Merge branch 'dbtests' of ftp-master.debian.org:public_html/dak into dbtests

13 years agoadd a script create_pickle_file.py for updating the metadata
Torsten Werner [Tue, 11 Jan 2011 20:24:49 +0000 (20:24 +0000)]
add a script create_pickle_file.py for updating the metadata

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoMerge branch 'master' into dbtests
Torsten Werner [Tue, 11 Jan 2011 20:11:24 +0000 (21:11 +0100)]
Merge branch 'master' into dbtests

13 years agoadd pickle file db-metadata-0.5.2.pkl
Torsten Werner [Tue, 11 Jan 2011 20:10:16 +0000 (20:10 +0000)]
add pickle file db-metadata-0.5.2.pkl

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoinclude sqlalchemy's version in db-metadata-*.pkl
Torsten Werner [Tue, 11 Jan 2011 20:07:49 +0000 (21:07 +0100)]
include sqlalchemy's version in db-metadata-*.pkl

The metadata objects are not compatible between versions and that is why
we need to keep one pickle file per version.

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agodbconn.py: workaround for good old sqlalchemy 0.5
Torsten Werner [Tue, 11 Jan 2011 19:55:08 +0000 (19:55 +0000)]
dbconn.py: workaround for good old sqlalchemy 0.5

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoAvoid converting unicode strings into yaml nodes
Luca Falavigna [Tue, 11 Jan 2011 13:38:15 +0000 (13:38 +0000)]
Avoid converting unicode strings into yaml nodes

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agooverride.py: fix typo, spotted by Holger Levsen
Luca Falavigna [Mon, 10 Jan 2011 22:00:56 +0000 (22:00 +0000)]
override.py: fix typo, spotted by Holger Levsen

Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
13 years agoMerge branch 'security'
Joerg Jaspert [Mon, 10 Jan 2011 22:34:59 +0000 (23:34 +0100)]
Merge branch 'security'

* security: (36 commits)
  bugfixes
  process-policy
  also clean disembargo incoming
  Override mail
  use the right var name, stupid
  Move a-f cleanup to the last
  right path
  More directories for queue-report
  Fix the arch entries for the buildd suites
  s/install//
  try with case
  no more advisory
  fix n-s-i
  cron.buildd
  cron.buildd
  copyfile wants full names
  only run the archive update when we actually had changes in the archive
  use copyfile, we want it accessible in that dest
  Add import-keyring
  unchecked
  ...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agobugfixes
Joerg Jaspert [Mon, 10 Jan 2011 22:11:06 +0000 (23:11 +0100)]
bugfixes

merge bugfixes from Torsten and Mark:
- built uncompressed and bz2 packages/sources too for buildd
- set a codename in the release file
- strip epoch from version

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agorsyncable
Joerg Jaspert [Mon, 10 Jan 2011 21:49:30 +0000 (22:49 +0100)]
rsyncable

centrally export the GZIP variable with the --rsyncable default set

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agowe need to wait for the background processes before the end of dinstall
Joerg Jaspert [Mon, 10 Jan 2011 21:48:58 +0000 (22:48 +0100)]
we need to wait for the background processes before the end of dinstall

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoAdded --rsyncable for gzip calls to scriptvars
Joerg Jaspert [Mon, 10 Jan 2011 21:43:17 +0000 (22:43 +0100)]
Added --rsyncable for gzip calls to scriptvars

Signed-off-by: Joerg Jaspert <joerg@debian.org>
13 years agoMerge remote branch 'drkranz/overrides' into merge
Joerg Jaspert [Mon, 10 Jan 2011 21:37:54 +0000 (22:37 +0100)]
Merge remote branch 'drkranz/overrides' into merge

* drkranz/overrides:
  Move more objects into get_packages_from_ftp()
  Pipes ftw!
  Add dak override-disparity command to cron.daily
  override_disparity.py: display YAML output
  Move common code to the new get_packages_from_ftp()
  override_disparity.py: generate a list of override disparities
  override.py: check override compliance
  ls.py: let -a source display sources only (#458186)

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

13 years agoimplement first test with database access
Torsten Werner [Sun, 9 Jan 2011 20:47:38 +0000 (21:47 +0100)]
implement first test with database access

* Implement a new test class: DBDakTestCase in db_test.py.
* First test: dbtest_fingerprint.py is prefixed with dbtest_ instead of
  test_ because we do not have a test database on franck (yet).

Signed-off-by: Torsten Werner <twerner@debian.org>
13 years agoRemove useless type casts from primary keys.
Torsten Werner [Mon, 10 Jan 2011 19:49:48 +0000 (20:49 +0100)]
Remove useless type casts from primary keys.

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