]> err.no Git - dak/log
dak
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 12:58:50 +0000 (14:58 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  dak/process_upload.py: set __ANNOUNCE_LIST_ADDRESS__ subst variable

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/process_upload.py: set __ANNOUNCE_LIST_ADDRESS__ subst variable
Ansgar Burchardt [Sun, 12 Aug 2012 12:54:15 +0000 (14:54 +0200)]
dak/process_upload.py: set __ANNOUNCE_LIST_ADDRESS__ subst variable

12 years agogrant usage for world
Joerg Jaspert [Sun, 12 Aug 2012 12:53:29 +0000 (14:53 +0200)]
grant usage for world

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 12:49:21 +0000 (14:49 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  dak/dakdb/update79.py: Use || operator instead of CONCAT to make postgresql 9.0 happy

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/dakdb/update79.py: Use || operator instead of CONCAT to make postgresql 9.0 happy
Ansgar Burchardt [Sun, 12 Aug 2012 12:49:01 +0000 (14:49 +0200)]
dak/dakdb/update79.py: Use || operator instead of CONCAT to make postgresql 9.0 happy

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 12:46:23 +0000 (14:46 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  dak/dakdb/update79.py: add world schema and new stable views

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/dakdb/update79.py: add world schema and new stable views
Ansgar Burchardt [Sun, 12 Aug 2012 12:45:37 +0000 (14:45 +0200)]
dak/dakdb/update79.py: add world schema and new stable views

12 years agoneed a qdir, the dirnames are different to queuenames
Joerg Jaspert [Sun, 12 Aug 2012 12:40:13 +0000 (14:40 +0200)]
need a qdir, the dirnames are different to queuenames

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoname tmux window after the changes filename
Joerg Jaspert [Sun, 12 Aug 2012 12:01:24 +0000 (14:01 +0200)]
name tmux window after the changes filename

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoNo longer present file listing, we have it elsewhere anyways
Joerg Jaspert [Sun, 12 Aug 2012 12:00:27 +0000 (14:00 +0200)]
No longer present file listing, we have it elsewhere anyways

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 11:59:14 +0000 (13:59 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  dak/examine_package.py: dereference symlink by using ls -lL
  dak/examine_package.py: use basename of .deb to get package name

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/examine_package.py: dereference symlink by using ls -lL
Ansgar Burchardt [Sat, 7 Jul 2012 17:39:43 +0000 (11:39 -0600)]
dak/examine_package.py: dereference symlink by using ls -lL

This still shows the full path, but at least it shows the correct size
instead of just a symlink to another file.

12 years agodak/examine_package.py: use basename of .deb to get package name
Ansgar Burchardt [Sun, 12 Aug 2012 11:56:58 +0000 (13:56 +0200)]
dak/examine_package.py: use basename of .deb to get package name

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 11:21:00 +0000 (13:21 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  dak/dakdb/update78.py: alter permissions for new tables and set default permissions
  daklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/dakdb/update78.py: alter permissions for new tables and set default permissions
Ansgar Burchardt [Sun, 12 Aug 2012 11:20:17 +0000 (13:20 +0200)]
dak/dakdb/update78.py: alter permissions for new tables and set default permissions

12 years agoRevert "daklib/dbconn.py: use apt_pkg.TagSection instead of implementing our own...
Joerg Jaspert [Sun, 12 Aug 2012 10:57:24 +0000 (12:57 +0200)]
Revert "daklib/dbconn.py: use apt_pkg.TagSection instead of implementing our own parser"

This reverts commit 1b70efbb284c409256589036ffe6d54c832421ea.

Problem: The TagSection code strips leading whitespace (here, newline and space),
which generates wrong data for us.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead
Ansgar Burchardt [Sun, 12 Aug 2012 10:41:20 +0000 (12:41 +0200)]
daklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 10:36:39 +0000 (12:36 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  daklib/policy.py: also import Suite from daklib.dbconn

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/policy.py: also import Suite from daklib.dbconn
Ansgar Burchardt [Sun, 12 Aug 2012 10:34:24 +0000 (12:34 +0200)]
daklib/policy.py: also import Suite from daklib.dbconn

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 10:30:02 +0000 (12:30 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  daklib/checks.py: set control variable

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/checks.py: set control variable
Ansgar Burchardt [Sun, 12 Aug 2012 10:29:35 +0000 (12:29 +0200)]
daklib/checks.py: set control variable

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2'
Joerg Jaspert [Sun, 12 Aug 2012 10:18:15 +0000 (12:18 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'

* ansgar/pu/multiarchive-2:
  config/debian/common: also process BYHAND
  dak/process_new.py: auto-accept uploads if we have all overrides

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoconfig/debian/common: also process BYHAND
Ansgar Burchardt [Sun, 12 Aug 2012 10:17:35 +0000 (12:17 +0200)]
config/debian/common: also process BYHAND

12 years agodak/process_new.py: auto-accept uploads if we have all overrides
Ansgar Burchardt [Sun, 12 Aug 2012 10:16:14 +0000 (12:16 +0200)]
dak/process_new.py: auto-accept uploads if we have all overrides

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-2' into merge
Joerg Jaspert [Sun, 12 Aug 2012 09:56:46 +0000 (11:56 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-2' into merge

* ansgar/pu/multiarchive-2: (51 commits)
  dak/show_new.py: remove obsolete import
  config/debian/*: update for multiarchive changes
  dak/contents.py, daklib/contents.py: add archive option
  dak/export.py, daklib/policy.py: ignore existing files
  Revert "config/*/common: do not touch incoming"
  add export-suite subcommand to export a suite to a flat directory
  dak/clean_suites.py: allow limiting file removal to specific archives
  dak/process_upload.py: ignore non-existing files when rejecting
  dak/process_upload.py: add missing import
  daklib/archive.py: try to get all source files from pool, even when listed in changes
  daklib/archive.py: also ignore files from .changes that do not exist
  daklib/archive.py: ignore missing source files when copying to temporary directory
  dak/dakdb/update75.py: fix adding architectures for new and byhand
  dak/clean_suites.py: implement per-archive stay of execution
  dak/dakdb/update77.py: move stayofexecution to the database
  dak/control_suite.py: prefetch files table when looking up a binary or source package
  dak/generate_releases.py: add archive option
  dak/generate_packages_sources2.py: add archive option
  indicate who rejected a package
  config/*/dinstall.functions: include Built-Using sources
  ...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/show_new.py: remove obsolete import
Ansgar Burchardt [Sun, 12 Aug 2012 09:49:19 +0000 (11:49 +0200)]
dak/show_new.py: remove obsolete import

12 years agoconfig/debian/*: update for multiarchive changes
Ansgar Burchardt [Sun, 12 Aug 2012 09:15:25 +0000 (11:15 +0200)]
config/debian/*: update for multiarchive changes

12 years agodak/contents.py, daklib/contents.py: add archive option
Ansgar Burchardt [Sun, 12 Aug 2012 09:06:40 +0000 (11:06 +0200)]
dak/contents.py, daklib/contents.py: add archive option

12 years agodak/export.py, daklib/policy.py: ignore existing files
Ansgar Burchardt [Sun, 12 Aug 2012 08:57:24 +0000 (10:57 +0200)]
dak/export.py, daklib/policy.py: ignore existing files

The same upstream tarball can be used by multiple uploads so we have to
ignore already existing files.

12 years agoRevert "config/*/common: do not touch incoming"
Ansgar Burchardt [Sun, 12 Aug 2012 08:09:42 +0000 (10:09 +0200)]
Revert "config/*/common: do not touch incoming"

This reverts commit 58fc1503ab1484b42e66a93155441634eff6e604.

12 years agoadd export-suite subcommand to export a suite to a flat directory
Ansgar Burchardt [Sun, 12 Aug 2012 07:50:38 +0000 (09:50 +0200)]
add export-suite subcommand to export a suite to a flat directory

12 years agodak/clean_suites.py: allow limiting file removal to specific archives
Ansgar Burchardt [Sun, 12 Aug 2012 06:45:30 +0000 (08:45 +0200)]
dak/clean_suites.py: allow limiting file removal to specific archives

This allows us to remove all obsolete files from the NEW queue even when
the maximum number of removals would be reached normally.

12 years agodak/process_upload.py: ignore non-existing files when rejecting
Ansgar Burchardt [Sat, 11 Aug 2012 17:51:35 +0000 (19:51 +0200)]
dak/process_upload.py: ignore non-existing files when rejecting

12 years agodak/process_upload.py: add missing import
Ansgar Burchardt [Sat, 11 Aug 2012 17:44:56 +0000 (19:44 +0200)]
dak/process_upload.py: add missing import

12 years agodaklib/archive.py: try to get all source files from pool, even when listed in changes
Ansgar Burchardt [Sat, 11 Aug 2012 17:42:32 +0000 (19:42 +0200)]
daklib/archive.py: try to get all source files from pool, even when listed in changes

12 years agodaklib/archive.py: also ignore files from .changes that do not exist
Ansgar Burchardt [Sat, 11 Aug 2012 17:40:11 +0000 (19:40 +0200)]
daklib/archive.py: also ignore files from .changes that do not exist

12 years agodaklib/archive.py: ignore missing source files when copying to temporary directory
Ansgar Burchardt [Sat, 11 Aug 2012 17:27:53 +0000 (19:27 +0200)]
daklib/archive.py: ignore missing source files when copying to temporary directory

12 years agodak/dakdb/update75.py: fix adding architectures for new and byhand
Ansgar Burchardt [Sat, 11 Aug 2012 16:59:43 +0000 (18:59 +0200)]
dak/dakdb/update75.py: fix adding architectures for new and byhand

12 years agodak/clean_suites.py: implement per-archive stay of execution
Ansgar Burchardt [Sat, 11 Aug 2012 15:37:24 +0000 (17:37 +0200)]
dak/clean_suites.py: implement per-archive stay of execution

12 years agodak/dakdb/update77.py: move stayofexecution to the database
Ansgar Burchardt [Sat, 11 Aug 2012 15:47:57 +0000 (17:47 +0200)]
dak/dakdb/update77.py: move stayofexecution to the database

12 years agoi bet noone uses this stuff, so i dont care. off with pipefail
Joerg Jaspert [Sat, 11 Aug 2012 15:13:34 +0000 (17:13 +0200)]
i bet noone uses this stuff, so i dont care. off with pipefail

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years ago* config/debian/dinstall.functions: Fix up mklslar a bit
Joerg Jaspert [Sat, 11 Aug 2012 15:06:14 +0000 (17:06 +0200)]
* config/debian/dinstall.functions: Fix up mklslar a bit

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Sat, 11 Aug 2012 11:56:52 +0000 (13:56 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  dak/init_dirs.py: only create directories for active keyrings
  dak/init_dirs.py: do not use Dir::Pool
  change documentation style
  Python modules should not be executable
  daklib/archive.py, daklib/checks.py: implement transition blocks
  daklib/archive.py: use method to decide which policy queue to use
  daklib/archive.py, daklib/checks.py: implement upload blocks
  daklib/dbconn.py: use apt_pkg.TagSection instead of implementing our own parser
  daklib/archive.py: check for source when copying binaries

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodak/control_suite.py: prefetch files table when looking up a binary or source package
Ansgar Burchardt [Sat, 11 Aug 2012 09:38:20 +0000 (11:38 +0200)]
dak/control_suite.py: prefetch files table when looking up a binary or source package

12 years agodak/generate_releases.py: add archive option
Ansgar Burchardt [Sat, 11 Aug 2012 11:41:52 +0000 (13:41 +0200)]
dak/generate_releases.py: add archive option

12 years agodak/generate_packages_sources2.py: add archive option
Ansgar Burchardt [Sat, 11 Aug 2012 11:41:37 +0000 (13:41 +0200)]
dak/generate_packages_sources2.py: add archive option

12 years agoindicate who rejected a package
Ansgar Burchardt [Mon, 30 Jul 2012 13:43:21 +0000 (15:43 +0200)]
indicate who rejected a package

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
12 years agoconfig/*/dinstall.functions: include Built-Using sources
Ansgar Burchardt [Thu, 12 Jul 2012 17:32:20 +0000 (11:32 -0600)]
config/*/dinstall.functions: include Built-Using sources

Include source packages only referenced by Built-Using in per-suite
source indices.

12 years agoconfig/*/dinstall.functions: use files_archive_map instead of location
Ansgar Burchardt [Thu, 12 Jul 2012 17:31:44 +0000 (11:31 -0600)]
config/*/dinstall.functions: use files_archive_map instead of location

12 years agoconfig/*/common: do not touch incoming
Ansgar Burchardt [Thu, 12 Jul 2012 16:55:28 +0000 (10:55 -0600)]
config/*/common: do not touch incoming

The incoming build queue is now managed by manage-build-queues.

12 years agodaklib/utils.py (check_reverse_depends): update for multi-archive changes
Ansgar Burchardt [Tue, 10 Jul 2012 18:28:48 +0000 (12:28 -0600)]
daklib/utils.py (check_reverse_depends): update for multi-archive changes

12 years agoremove now unused code
Ansgar Burchardt [Tue, 31 Jul 2012 17:13:17 +0000 (19:13 +0200)]
remove now unused code

REMOVE :: changesutils.py: no longer in use

12 years agodak/dominate.py: skip suites that are backends for policy queues
Ansgar Burchardt [Sun, 10 Jun 2012 14:22:07 +0000 (16:22 +0200)]
dak/dominate.py: skip suites that are backends for policy queues

12 years agodak/admin.py: add archive subcommand
Ansgar Burchardt [Thu, 31 May 2012 08:24:57 +0000 (10:24 +0200)]
dak/admin.py: add archive subcommand

12 years agodak/manage_build_queues.py: update for multi-archive changes
Ansgar Burchardt [Thu, 14 Jun 2012 17:35:17 +0000 (19:35 +0200)]
dak/manage_build_queues.py: update for multi-archive changes

12 years agodak/rm.py: update for multi-archive changes
Ansgar Burchardt [Mon, 11 Jun 2012 17:41:33 +0000 (19:41 +0200)]
dak/rm.py: update for multi-archive changes

12 years agodaklib/contents.py: update for multi-archive changes
Ansgar Burchardt [Sun, 8 Jul 2012 00:12:19 +0000 (18:12 -0600)]
daklib/contents.py: update for multi-archive changes

12 years agodak/ls.py: update for multi-archive changes
Ansgar Burchardt [Mon, 4 Jun 2012 16:16:42 +0000 (18:16 +0200)]
dak/ls.py: update for multi-archive changes

12 years agodak/control_suite.py: update for multi-archive changes
Ansgar Burchardt [Mon, 6 Aug 2012 15:52:13 +0000 (17:52 +0200)]
dak/control_suite.py: update for multi-archive changes

12 years agodak/check_overrides.py: update for multi-archive changes
Ansgar Burchardt [Sat, 7 Jul 2012 18:59:01 +0000 (12:59 -0600)]
dak/check_overrides.py: update for multi-archive changes

12 years agodaklib/checks.py, daklib/utils.py: check for source files
Ansgar Burchardt [Sat, 7 Jul 2012 17:59:44 +0000 (11:59 -0600)]
daklib/checks.py, daklib/utils.py: check for source files

Reintroduce the check that all source files for the used format are
actually included.

12 years agodak/queue_report.py: update for multi-archive changes
Ansgar Burchardt [Sat, 7 Jul 2012 17:39:06 +0000 (11:39 -0600)]
dak/queue_report.py: update for multi-archive changes

12 years agodak/show_new.py: update for multi-archive changes
Ansgar Burchardt [Sat, 7 Jul 2012 17:38:57 +0000 (11:38 -0600)]
dak/show_new.py: update for multi-archive changes

12 years agodak/check_archive.py: update for multi-archive changes
Ansgar Burchardt [Fri, 6 Jul 2012 00:11:28 +0000 (18:11 -0600)]
dak/check_archive.py: update for multi-archive changes

12 years agodak/process_new.py: update for multi-archive changes
Ansgar Burchardt [Fri, 8 Jun 2012 15:21:15 +0000 (17:21 +0200)]
dak/process_new.py: update for multi-archive changes

12 years agodak/process_policy.py: update for multi-archive changes
Ansgar Burchardt [Fri, 8 Jun 2012 09:28:05 +0000 (11:28 +0200)]
dak/process_policy.py: update for multi-archive changes

12 years agodak/process_upload.py: update for multi-archive changes
Ansgar Burchardt [Thu, 31 May 2012 19:22:33 +0000 (21:22 +0200)]
dak/process_upload.py: update for multi-archive changes

12 years agodak/clean_suites.py: update for multi-archive changes
Ansgar Burchardt [Sun, 10 Jun 2012 14:22:27 +0000 (16:22 +0200)]
dak/clean_suites.py: update for multi-archive changes

12 years agodaklib/policy.py: handle mapped components
Ansgar Burchardt [Mon, 6 Aug 2012 15:03:02 +0000 (17:03 +0200)]
daklib/policy.py: handle mapped components

12 years agomove method to evaluate component mappings to dbconn.py
Ansgar Burchardt [Thu, 9 Aug 2012 13:24:47 +0000 (15:24 +0200)]
move method to evaluate component mappings to dbconn.py

12 years agodaklib/utils.py (poolify): no longer include component
Ansgar Burchardt [Tue, 31 Jul 2012 17:11:58 +0000 (19:11 +0200)]
daklib/utils.py (poolify): no longer include component

The component is no longer part of the filename we store. This is needed
to allow having the same file in multiple components at the same time.

12 years agodak/generate_packages_sources2.py: update for multi-archive
Ansgar Burchardt [Tue, 31 Jul 2012 17:11:03 +0000 (19:11 +0200)]
dak/generate_packages_sources2.py: update for multi-archive

12 years agodak/admin.py: new suites need an archive
Ansgar Burchardt [Tue, 31 Jul 2012 17:09:17 +0000 (19:09 +0200)]
dak/admin.py: new suites need an archive

12 years agodak/dakdb/update76.py: add closes to changes table
Ansgar Burchardt [Thu, 5 Jul 2012 19:01:00 +0000 (13:01 -0600)]
dak/dakdb/update76.py: add closes to changes table

12 years agodaklib/dbconn.py: remove two unused backreferences
Ansgar Burchardt [Tue, 29 May 2012 17:31:40 +0000 (19:31 +0200)]
daklib/dbconn.py: remove two unused backreferences

The backreferences were causing problems when creating new objects via
the ORM.

12 years agodaklib/dbconn.py (PoolFile): add component property
Ansgar Burchardt [Mon, 6 Aug 2012 15:51:57 +0000 (17:51 +0200)]
daklib/dbconn.py (PoolFile): add component property

12 years agoconfig/*/dak.conf: set Dir::Base
Ansgar Burchardt [Fri, 10 Aug 2012 14:01:51 +0000 (16:01 +0200)]
config/*/dak.conf: set Dir::Base

12 years agodatabase changes for multi-archive support
Ansgar Burchardt [Tue, 31 Jul 2012 17:08:53 +0000 (19:08 +0200)]
database changes for multi-archive support

12 years agoUse archive path instead of Dir::Root
Ansgar Burchardt [Tue, 31 Jul 2012 17:33:06 +0000 (19:33 +0200)]
Use archive path instead of Dir::Root

12 years agodak/init_dirs.py: only create directories for active keyrings
Ansgar Burchardt [Sat, 7 Jul 2012 18:50:24 +0000 (12:50 -0600)]
dak/init_dirs.py: only create directories for active keyrings

This avoids problems if inactive keyrings in locations not writable by
the archive user are referenced.

12 years agodak/init_dirs.py: do not use Dir::Pool
Ansgar Burchardt [Wed, 6 Jun 2012 13:43:54 +0000 (15:43 +0200)]
dak/init_dirs.py: do not use Dir::Pool

12 years agochange documentation style
Ansgar Burchardt [Wed, 1 Aug 2012 15:35:24 +0000 (17:35 +0200)]
change documentation style

12 years agoPython modules should not be executable
Ansgar Burchardt [Mon, 6 Aug 2012 08:43:33 +0000 (10:43 +0200)]
Python modules should not be executable

12 years agodaklib/archive.py, daklib/checks.py: implement transition blocks
Ansgar Burchardt [Mon, 6 Aug 2012 09:59:34 +0000 (11:59 +0200)]
daklib/archive.py, daklib/checks.py: implement transition blocks

12 years agodaklib/archive.py: use method to decide which policy queue to use
Ansgar Burchardt [Tue, 31 Jul 2012 12:11:53 +0000 (14:11 +0200)]
daklib/archive.py: use method to decide which policy queue to use

This method can later decide which policy queue to use for the security
archive.

12 years agodaklib/archive.py, daklib/checks.py: implement upload blocks
Ansgar Burchardt [Fri, 3 Aug 2012 14:11:47 +0000 (16:11 +0200)]
daklib/archive.py, daklib/checks.py: implement upload blocks

12 years agodaklib/dbconn.py: use apt_pkg.TagSection instead of implementing our own parser
Ansgar Burchardt [Mon, 6 Aug 2012 13:55:23 +0000 (15:55 +0200)]
daklib/dbconn.py: use apt_pkg.TagSection instead of implementing our own parser

12 years agodaklib/archive.py: check for source when copying binaries
Ansgar Burchardt [Tue, 7 Aug 2012 14:06:07 +0000 (16:06 +0200)]
daklib/archive.py: check for source when copying binaries

12 years agoMerge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge
Joerg Jaspert [Mon, 30 Jul 2012 20:40:25 +0000 (22:40 +0200)]
Merge remote-tracking branch 'ansgar/pu/multiarchive-1' into merge

* ansgar/pu/multiarchive-1:
  Add export subcommand to export upload from policy queues.
  daklib/dbconn.py: add basename property to PoolFile
  daklib/dbconn.py: add path property to Suite
  daklib/archive.py: guess source component even with component mappings
  daklib/archive.py: implement component mappings
  Add BinaryTimestampCheck.
  daklib/config.py: add find_i method
  daklib/checks.py: add missing join
  daklib/checks.py: use apt_pkg.version_compare correctly
  daklib/checks.py: make version check slightly more verbose
  daklib/archive.py: handle unexpected names for byhand files
  daklib/archive.py: session → self.session
  daklib/checks.py: allow DMs to upload to all suites
  daklib/archive.py (install_binary): fix use of source_suites
  daklib/archive.py: use SQLAlchemy 0.6 syntax for join
  daklib/regexes.py: re_file_binary: arch names can have dashes
  daklib/regexes.py: re_field_source: fix matching version numbers
  daklib/contents.py: close db session after use
  error out if sql query fails
  use "set -o pipefail" for shell scripts

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agoAdd export subcommand to export upload from policy queues.
Ansgar Burchardt [Sun, 1 Jul 2012 12:13:42 +0000 (14:13 +0200)]
Add export subcommand to export upload from policy queues.

12 years agodaklib/dbconn.py: add basename property to PoolFile
Ansgar Burchardt [Sat, 7 Jul 2012 17:38:42 +0000 (11:38 -0600)]
daklib/dbconn.py: add basename property to PoolFile

12 years agodaklib/dbconn.py: add path property to Suite
Ansgar Burchardt [Fri, 15 Jun 2012 13:40:36 +0000 (15:40 +0200)]
daklib/dbconn.py: add path property to Suite

12 years agodaklib/archive.py: guess source component even with component mappings
Ansgar Burchardt [Fri, 20 Jul 2012 11:10:54 +0000 (13:10 +0200)]
daklib/archive.py: guess source component even with component mappings

12 years agodaklib/archive.py: implement component mappings
Ansgar Burchardt [Sat, 14 Jul 2012 16:32:57 +0000 (10:32 -0600)]
daklib/archive.py: implement component mappings

12 years agoAdd BinaryTimestampCheck.
Ansgar Burchardt [Sat, 14 Jul 2012 00:09:44 +0000 (18:09 -0600)]
Add BinaryTimestampCheck.

12 years agodaklib/config.py: add find_i method
Ansgar Burchardt [Sat, 14 Jul 2012 20:59:17 +0000 (14:59 -0600)]
daklib/config.py: add find_i method

12 years agomove dc9 talk to presentations git
Joerg Jaspert [Sun, 15 Jul 2012 07:02:52 +0000 (09:02 +0200)]
move dc9 talk to presentations git

Signed-off-by: Joerg Jaspert <joerg@debian.org>
12 years agodaklib/checks.py: add missing join
Ansgar Burchardt [Mon, 9 Jul 2012 16:43:16 +0000 (10:43 -0600)]
daklib/checks.py: add missing join

12 years agodaklib/checks.py: use apt_pkg.version_compare correctly
Ansgar Burchardt [Sun, 8 Jul 2012 21:50:11 +0000 (15:50 -0600)]
daklib/checks.py: use apt_pkg.version_compare correctly

version_compare returns values less than, equal to or greater than zero.
This value is not always -1, 0 or 2(!) as the documentation claims.

Reference: http://bugs.debian.org/680891

12 years agodaklib/checks.py: make version check slightly more verbose
Ansgar Burchardt [Sun, 8 Jul 2012 21:40:34 +0000 (15:40 -0600)]
daklib/checks.py: make version check slightly more verbose