]>
git.decadent.org.uk Git - dak.git/log
Joerg Jaspert [Sat, 28 Feb 2009 17:01:25 +0000 (18:01 +0100)]
p-u-new/o-p-u-new
dont read in all changes files for (o-)p-u-new
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 28 Feb 2009 11:21:47 +0000 (12:21 +0100)]
syck -> yaml
remove the syck module, use yaml instead
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 27 Feb 2009 22:08:07 +0000 (23:08 +0100)]
p-n
a few docstrings.
Also use utils.get_changes_files if none are given at commandline.
Which also cd's to the right directory.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 27 Feb 2009 21:53:38 +0000 (22:53 +0100)]
release files
also list the Contents files.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 26 Feb 2009 22:19:07 +0000 (23:19 +0100)]
dak.conf
use a special envelope@ address for all mail generated from us.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 25 Feb 2009 23:29:44 +0000 (00:29 +0100)]
Revert "Merge commit 'stew/content_generation' into merge"
This reverts commit
2ae7b715431fed62b6a619e6d1b027d919da1070 .
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 25 Feb 2009 23:29:34 +0000 (00:29 +0100)]
Revert "for the time we test, modify the path to a non-world-visible one"
This reverts commit
c1941b0e15102d43a286c7b634b275f32259130d .
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 25 Feb 2009 23:28:38 +0000 (00:28 +0100)]
Revert "Merge branch 'merge'"
This reverts commit
a1e87687d8e78a910fedf1e90830d7882a22a555 .
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 25 Feb 2009 23:28:19 +0000 (00:28 +0100)]
Revert "Merge branch 'merge'"
This reverts commit
16f020f22ddc10b88ee076f2ac86d33cbc7769e5 .
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 25 Feb 2009 23:01:38 +0000 (00:01 +0100)]
Merge branch 'merge'
* merge:
get rid of finally:
Joerg Jaspert [Wed, 25 Feb 2009 23:01:27 +0000 (00:01 +0100)]
Merge commit 'stew/content_generation' into merge
* commit 'stew/content_generation':
get rid of finally:
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Wed, 25 Feb 2009 22:58:41 +0000 (17:58 -0500)]
get rid of finally:
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Wed, 25 Feb 2009 22:54:53 +0000 (23:54 +0100)]
Merge branch 'merge'
* merge:
replace Config DBConn module names with lowercase
Joerg Jaspert [Wed, 25 Feb 2009 22:54:45 +0000 (23:54 +0100)]
Merge commit 'stew/content_generation' into merge
* commit 'stew/content_generation':
replace Config DBConn module names with lowercase
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Wed, 25 Feb 2009 22:52:21 +0000 (17:52 -0500)]
replace Config DBConn module names with lowercase
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Wed, 25 Feb 2009 22:47:39 +0000 (23:47 +0100)]
for the time we test, modify the path to a non-world-visible one
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 25 Feb 2009 22:46:29 +0000 (23:46 +0100)]
Merge commit 'stew/content_generation' into merge
* commit 'stew/content_generation': (35 commits)
spalling fix, get rid of extra import in utils.py
allow contents files to be written to an alternate location
another fix to bootstrap, and get rid of 'fetchall'
get bootstrap working again
stop setting the db connection to latin1
insert files, not dirs
cant delete it after i set it to null, dummy
use get_suite_architectures from dbconn.py instead of database.py
fix misspelling cleanup() -> _cleanup()
forgot to update config, get rid of incorrect warning
stupid bad merge syntax error
better cleanup of temporary files, consolidate some repeated code
adding back our schema migration as update6
update header - we always ship compressed contents files
temp_content_associations -> pending_content_associations
typo fix
some spelling changes
oops, forgot some changes to contents.py
missing ; in dak.conf
undoing incorrect changes in dak.conf
...
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Wed, 25 Feb 2009 22:43:25 +0000 (17:43 -0500)]
spalling fix, get rid of extra import in utils.py
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 25 Feb 2009 21:21:16 +0000 (16:21 -0500)]
allow contents files to be written to an alternate location
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 25 Feb 2009 20:16:22 +0000 (15:16 -0500)]
another fix to bootstrap, and get rid of 'fetchall'
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 25 Feb 2009 20:09:14 +0000 (15:09 -0500)]
get bootstrap working again
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 25 Feb 2009 19:43:24 +0000 (14:43 -0500)]
Merge branch 'master' into content_generation
Joerg Jaspert [Tue, 24 Feb 2009 22:36:29 +0000 (23:36 +0100)]
clean-suites
actually run the prepared query...
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 24 Feb 2009 22:30:17 +0000 (23:30 +0100)]
clean-suites
its delete_date, not delete_data
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 24 Feb 2009 18:24:00 +0000 (19:24 +0100)]
generate-releases
call database.init
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 24 Feb 2009 18:23:44 +0000 (19:23 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master':
use database to generate suite_architectures list
remove debug output
allow --maximum argument to clean_suites
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Tue, 24 Feb 2009 15:54:53 +0000 (15:54 +0000)]
use database to generate suite_architectures list
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Tue, 24 Feb 2009 15:44:19 +0000 (15:44 +0000)]
Merge commit 'ftpmaster/master'
Joerg Jaspert [Mon, 23 Feb 2009 22:46:41 +0000 (23:46 +0100)]
dinstall / reboot
add a first pass of a script intended to restart dinstall after a reboot,
in case it was running right before.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Mon, 23 Feb 2009 21:28:38 +0000 (16:28 -0500)]
stop setting the db connection to latin1
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Mon, 23 Feb 2009 14:59:35 +0000 (09:59 -0500)]
insert files, not dirs
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Mon, 23 Feb 2009 07:37:10 +0000 (08:37 +0100)]
Save the 'after' log
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Mon, 23 Feb 2009 05:16:49 +0000 (00:16 -0500)]
cant delete it after i set it to null, dummy
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Sun, 22 Feb 2009 18:22:18 +0000 (13:22 -0500)]
Merge branch 'master' into content_generation
Mark Hymers [Sun, 22 Feb 2009 18:18:24 +0000 (18:18 +0000)]
remove debug output
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sun, 22 Feb 2009 18:15:28 +0000 (18:15 +0000)]
Merge commit 'ftpmaster/master'
Mark Hymers [Sun, 22 Feb 2009 18:15:03 +0000 (18:15 +0000)]
allow --maximum argument to clean_suites
Signed-off-by: Mark Hymers <mhy@debian.org>
Mike O'Connor [Sun, 22 Feb 2009 17:08:00 +0000 (12:08 -0500)]
use get_suite_architectures from dbconn.py instead of database.py
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Sun, 22 Feb 2009 17:03:17 +0000 (12:03 -0500)]
fix misspelling cleanup() -> _cleanup()
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Sun, 22 Feb 2009 17:02:41 +0000 (12:02 -0500)]
forgot to update config, get rid of incorrect warning
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Sun, 22 Feb 2009 16:31:33 +0000 (17:31 +0100)]
dinstall
save timestamp when we start and rename the logfile according to it
at the end of dinstall.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 22 Feb 2009 16:02:53 +0000 (17:02 +0100)]
Merge commit 'djpig/djpig' into merge
* commit 'djpig/djpig':
control-overrides: Add some safer modes of operation
control-overrides: Simplify maintainer override handling
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Frank Lichtenheld [Sun, 22 Feb 2009 15:50:11 +0000 (15:50 +0000)]
control-overrides: Add some safer modes of operation
Add "--no-action" option to not do any changes but only tell
the user what would've been done.
Also add "--change" option which will ignore all additions
and deletions.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Sun, 22 Feb 2009 15:48:50 +0000 (15:48 +0000)]
control-overrides: Simplify maintainer override handling
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Mike O'Connor [Sun, 22 Feb 2009 15:04:49 +0000 (10:04 -0500)]
stupid bad merge syntax error
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Sun, 22 Feb 2009 14:55:49 +0000 (09:55 -0500)]
better cleanup of temporary files, consolidate some repeated code
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Sun, 22 Feb 2009 13:49:05 +0000 (08:49 -0500)]
adding back our schema migration as update6
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mark Hymers [Sat, 21 Feb 2009 18:49:14 +0000 (18:49 +0000)]
update header - we always ship compressed contents files
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 21 Feb 2009 18:47:42 +0000 (18:47 +0000)]
temp_content_associations -> pending_content_associations
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 21 Feb 2009 18:46:25 +0000 (18:46 +0000)]
typo fix
Signed-off-by: Mark Hymers <mhy@debian.org>
Mike O'Connor [Sun, 22 Feb 2009 13:34:16 +0000 (08:34 -0500)]
some spelling changes
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Sun, 22 Feb 2009 13:13:39 +0000 (08:13 -0500)]
merge from master
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Sun, 22 Feb 2009 09:20:11 +0000 (10:20 +0100)]
dinstall
use full path for REPORT everywhere
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 22 Feb 2009 00:27:07 +0000 (01:27 +0100)]
Dont complain
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 22:49:20 +0000 (23:49 +0100)]
dinstall
rename to cron.dinstall, its now default
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sat, 21 Feb 2009 21:37:13 +0000 (21:37 +0000)]
set up Arguments properly
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 21:32:20 +0000 (22:32 +0100)]
dinstall
fix the find to not warn.
its LOCK_BRITNEY, not britneylock
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 21:05:35 +0000 (22:05 +0100)]
Merge branch 'merge'
* merge:
docstring
move logic into a function
more tidy ups for paths/variables
use variables for paths
allow p-a and p-u to take a directory to parse themselves
Joerg Jaspert [Sat, 21 Feb 2009 21:05:18 +0000 (22:05 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master':
docstring
move logic into a function
more tidy ups for paths/variables
use variables for paths
allow p-a and p-u to take a directory to parse themselves
dinstall
p-a
dinstall
Ignore errors to updates
2 more fixes
dinstall
Add a space
utf-8
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sat, 21 Feb 2009 21:03:29 +0000 (21:03 +0000)]
docstring
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 21 Feb 2009 21:00:38 +0000 (21:00 +0000)]
move logic into a function
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 21 Feb 2009 20:52:59 +0000 (20:52 +0000)]
more tidy ups for paths/variables
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 21 Feb 2009 20:51:34 +0000 (20:51 +0000)]
use variables for paths
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 21 Feb 2009 20:48:21 +0000 (20:48 +0000)]
allow p-a and p-u to take a directory to parse themselves
This prevents any possible issues with maximum command line
lengths when using shell globbing.
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 20:43:27 +0000 (21:43 +0100)]
dinstall
if $LOCK_STOP exists - exit asap.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 20:23:15 +0000 (21:23 +0100)]
dinstall
its lock_accepted, not lockac
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 20:11:18 +0000 (21:11 +0100)]
p-a
add the two lines back, p-a insists on having them. it just doesnt want
to make up random ones for it.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 20:09:04 +0000 (21:09 +0100)]
dinstall
dont rotate logs in cleanup
dont ignore p-a errors
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 20:03:56 +0000 (21:03 +0100)]
Ignore errors to updates
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 20:03:10 +0000 (21:03 +0100)]
2 more fixes
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 19:56:46 +0000 (20:56 +0100)]
dinstall
args, 2 functions with same name does no good
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 19:55:19 +0000 (20:55 +0100)]
Add a space
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 19:42:56 +0000 (20:42 +0100)]
utf-8
enforce properly encoded changes/dsc files. if they do not pass
unicode() they wont get in.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 14:59:41 +0000 (15:59 +0100)]
dinstall
implement various comments and suggestions from mhy
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Sat, 21 Feb 2009 14:29:47 +0000 (09:29 -0500)]
Merge branch 'master' into content_generation, make changes based on Joerg's review
Conflicts:
dak/dakdb/update4.py
dak/init_db.py
dak/process_accepted.py
dak/update_db.py
daklib/database.py
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Sat, 21 Feb 2009 11:13:02 +0000 (12:13 +0100)]
key expire
catch a case where the key is expired and no not-expired-subkey is
used to sign the .changes, ie. no GOODSIG token available. The
timestamp we get back from the command is unixtime, but type string,
so we should cast it to float or time.gmtime will complain.
And if that doesnt work, for whatever reason, issue a more generic
reject message.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 10:16:38 +0000 (11:16 +0100)]
legacy
remove the legacy support
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 10:02:49 +0000 (11:02 +0100)]
mixed component
remove the mixed component part, its LONG gone.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 09:42:48 +0000 (10:42 +0100)]
dinstall
make sure all functions start in a defined dir, currently $configdir.
they have to cd to wherever they want to be if thats not good enough
for them.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 21 Feb 2009 08:45:28 +0000 (09:45 +0100)]
add_user
its no longer daklib.foo but just foo
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 20 Feb 2009 23:36:33 +0000 (00:36 +0100)]
dinstall
commit an initial version of the new dinstall script. People: Please
comment.
The idea being that we end up with a dinstall that we can interrupt
and restart without (too much) trouble.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 20 Feb 2009 22:23:31 +0000 (23:23 +0100)]
Its base, not basedir
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:37:22 +0000 (23:37 +0100)]
mail-whitelist
keep mail-whitelist as local file
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:37:02 +0000 (23:37 +0100)]
bpo/security
remove architectures from config
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:30:38 +0000 (23:30 +0100)]
Damn python and its complains on missing )
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:29:22 +0000 (23:29 +0100)]
bin_assoc
fix bin_assoc_by_arch view
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:24:59 +0000 (23:24 +0100)]
architectures
remove the architecture mappings from the config file.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:22:39 +0000 (23:22 +0100)]
Use the database.init
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:16:28 +0000 (23:16 +0100)]
Import database
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:15:02 +0000 (23:15 +0100)]
Fixes
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 22:10:56 +0000 (23:10 +0100)]
Fixes
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 21:51:05 +0000 (22:51 +0100)]
get_suite_architectures
its database.get_suite_architectures everywhere
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 21:47:33 +0000 (22:47 +0100)]
updatedb
helps to import an exception if you want to catch it
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 21:36:34 +0000 (22:36 +0100)]
suite_architectures
new function, daklib.database.get_suite_architectures.
Use that instead of Cnf.ValueList("Suites::%s::Architectures") everywhere
to find out which suite supports which architectures
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 19 Feb 2009 20:53:26 +0000 (21:53 +0100)]
suite_architectures
lets put the architectures into the database.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Wed, 18 Feb 2009 14:19:47 +0000 (09:19 -0500)]
oops, forgot some changes to contents.py
* fix to find the header from dak.conf
* had forgotten the change for lowercase packagesnames in daklib/
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 18 Feb 2009 14:03:31 +0000 (09:03 -0500)]
missing ; in dak.conf
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 18 Feb 2009 14:00:40 +0000 (09:00 -0500)]
undoing incorrect changes in dak.conf
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 18 Feb 2009 13:56:09 +0000 (08:56 -0500)]
merge from master
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mike O'Connor [Wed, 18 Feb 2009 13:51:30 +0000 (08:51 -0500)]
Contents generation should be working now
* rename mhy's daklib/Foo.py to daklib/foo.py
* add temporary tables which are populated during p-u
* copy from the temporary tables during p-a
Signed-off-by: Mike O'Connor <stew@vireo.org>