]>
git.decadent.org.uk Git - dak.git/log
Mark Hymers [Sat, 31 Oct 2009 23:24:56 +0000 (23:24 +0000)]
Merge commit 'ftpmaster/master'
Mark Hymers [Sat, 31 Oct 2009 23:24:35 +0000 (23:24 +0000)]
don't let Ganneff send messages in german
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sat, 31 Oct 2009 22:17:54 +0000 (23:17 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master': (50 commits)
hmm...
fix name
right variable name
I'm never tidying up names again
poolfile, you moron
in_queue is the object, _id the id
queue_id -> policy_queue_id
fix variable name
argh
When changing Queue -> Build/PolicyQueue, it helps to do a full job
argh, another typo
typo
well spotted, djpig
Fix up hand off to policy and buildd queues
sort out permission columns
do not support multi-archive mode in process-upload
check_files: Fix check for known changes files
Small fixes
Fix typo in foreign key constraint name
initial policy queue implementation in process_upload
...
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:55:39 +0000 (21:55 +0000)]
hmm...
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:54:08 +0000 (21:54 +0000)]
fix name
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:48:31 +0000 (21:48 +0000)]
right variable name
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:47:17 +0000 (21:47 +0000)]
I'm never tidying up names again
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:44:24 +0000 (21:44 +0000)]
poolfile, you moron
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:41:33 +0000 (21:41 +0000)]
in_queue is the object, _id the id
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:39:31 +0000 (21:39 +0000)]
queue_id -> policy_queue_id
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:36:55 +0000 (21:36 +0000)]
fix variable name
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:35:22 +0000 (21:35 +0000)]
argh
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:34:06 +0000 (21:34 +0000)]
When changing Queue -> Build/PolicyQueue, it helps to do a full job
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:30:29 +0000 (21:30 +0000)]
argh, another typo
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:29:03 +0000 (21:29 +0000)]
typo
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:18:42 +0000 (21:18 +0000)]
well spotted, djpig
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 21:09:04 +0000 (21:09 +0000)]
Fix up hand off to policy and buildd queues
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 20:23:15 +0000 (20:23 +0000)]
Merge commit 'ftpmaster/master'
Mark Hymers [Sat, 31 Oct 2009 20:22:56 +0000 (20:22 +0000)]
Merge commit 'djpig/process-upload'
Mark Hymers [Sat, 31 Oct 2009 20:20:55 +0000 (20:20 +0000)]
sort out permission columns
Signed-off-by: Mark Hymers <mhy@debian.org>
Frank Lichtenheld [Sat, 31 Oct 2009 20:20:52 +0000 (20:20 +0000)]
do not support multi-archive mode in process-upload
We don't actually have any multi-archive machines at the moment
and removing it makes test-setups easier to do.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Sat, 31 Oct 2009 14:06:38 +0000 (14:06 +0000)]
check_files: Fix check for known changes files
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Sat, 31 Oct 2009 13:35:21 +0000 (13:35 +0000)]
Small fixes
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Sat, 31 Oct 2009 13:16:37 +0000 (13:16 +0000)]
Fix typo in foreign key constraint name
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Sat, 31 Oct 2009 12:47:16 +0000 (12:47 +0000)]
Merge commit 'mhy/master' into process-upload
Mark Hymers [Sat, 31 Oct 2009 12:41:34 +0000 (12:41 +0000)]
initial policy queue implementation in process_upload
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sat, 31 Oct 2009 11:15:21 +0000 (12:15 +0100)]
Move one tag
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sat, 31 Oct 2009 11:02:55 +0000 (11:02 +0000)]
fix up existing changes file handling
Signed-off-by: Mark Hymers <mhy@debian.org>
Frank Lichtenheld [Sat, 31 Oct 2009 10:41:21 +0000 (10:41 +0000)]
Multi-valued changes fields are space-separated
Not comma-separated.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Mark Hymers [Sat, 31 Oct 2009 09:44:09 +0000 (09:44 +0000)]
rename known_changes
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 09:17:48 +0000 (09:17 +0000)]
Merge commit 'ftpmaster/master'
Conflicts:
daklib/dbconn.py
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sat, 31 Oct 2009 09:16:47 +0000 (09:16 +0000)]
Try to sanitise changes and queue handling
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sat, 31 Oct 2009 08:32:27 +0000 (09:32 +0100)]
Stop talking about old and even older and yet older versions / vcs information
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 31 Oct 2009 08:29:44 +0000 (09:29 +0100)]
remove some very old files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 31 Oct 2009 08:22:02 +0000 (09:22 +0100)]
Merge commit 'djpig/djpig' into merge
* commit 'djpig/djpig':
clean_queues: Log which queue we remove from
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 23:29:14 +0000 (23:29 +0000)]
clean_queues: Log which queue we remove from
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 23:15:07 +0000 (00:15 +0100)]
Merge commit 'djpig/djpig' into merge
* commit 'djpig/djpig':
Fix error in SQLA mapper setup
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:54:12 +0000 (22:54 +0000)]
Fix error in SQLA mapper setup
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:53:34 +0000 (22:53 +0000)]
Fix queue-report
Since we have no .dak files anymore, parse the changes file directly.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 22:42:26 +0000 (23:42 +0100)]
remove manpages, not much sense to have them, noone uses them
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 22:41:29 +0000 (23:41 +0100)]
remove a manpage. closes: 540170
remove a manpage
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 22:37:50 +0000 (23:37 +0100)]
rm
another rm.
closes: #540170
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 22:35:40 +0000 (23:35 +0100)]
readme
remove a pretty old documentation
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Frank Lichtenheld [Thu, 29 Oct 2009 12:56:46 +0000 (12:56 +0000)]
update-db: General code cleanup
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Mark Hymers [Fri, 30 Oct 2009 22:26:30 +0000 (22:26 +0000)]
Merge commit 'djpig/process-upload'
Also remove p-a and p-unchecked to avoid confusion
Conflicts:
daklib/dbconn.py
daklib/queue.py
Signed-off-by: Mark Hymers <mhy@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:20:35 +0000 (22:20 +0000)]
check_files: check changes against known_changes
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:20:12 +0000 (22:20 +0000)]
Various fixes
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:18:33 +0000 (22:18 +0000)]
changes: fix known_changes handling of parsed changes files
Some fields in the changes file are stored as dicts, so handle
them correctly here where we only want the string.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:17:57 +0000 (22:17 +0000)]
changes: Remove .dak file handling
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Mark Hymers [Fri, 30 Oct 2009 22:17:23 +0000 (22:17 +0000)]
don't delete files in queue_files
Signed-off-by: Mark Hymers <mhy@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:12:50 +0000 (22:12 +0000)]
check_dsc_against_db: fix a corner-case in .orig. handling
If the .orig.tar was contained in the .changes file but already
present in the pool, we did delete it from the file list, but
did not record the files id in the desc file list.
In the old code this did not cause any errors since process-accepted
called check_dsc_against_db with the file list loaded from the .dak
file which was already cleansed of the .orig. So it took the other
code branch (.orig. present in the pool but not in changes) which
did record the files id.
Now we only call check_dsc_against_db once in process-upload so
we need to record the files id in this case, too.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:11:21 +0000 (22:11 +0000)]
process-upload: try to use the same session all over the code
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:10:10 +0000 (22:10 +0000)]
Fix various errors caused by moving stuff around
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:06:29 +0000 (22:06 +0000)]
process-upload: make sure we clean up after ourself
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 22:02:47 +0000 (22:02 +0000)]
changes: Use @session_wrapper
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 21:50:06 +0000 (22:50 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master':
add changes and queue handling
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Fri, 30 Oct 2009 21:42:05 +0000 (21:42 +0000)]
add changes and queue handling
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 19:52:06 +0000 (20:52 +0100)]
sig verify
dont barf on policy_url in a sig, even if the usge of that is pretty
pointless for things uploaded to the archive.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 16:59:42 +0000 (16:59 +0000)]
queue: Add missing SQLA import
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 16:56:03 +0000 (16:56 +0000)]
Fix typo in function name
check_dm_source_upload -> check_dm_upload
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 16:37:52 +0000 (16:37 +0000)]
Merge process-accepted's install into Upload.install()
queue build support is still disabled since we will modify that
significantly.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 16:34:14 +0000 (16:34 +0000)]
Upload: remove cruft
* Remove unused reprocess member
* Remove CopyDotDak support
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 16:30:05 +0000 (16:30 +0000)]
Move helper functions for database insertion to dbconn
Copy
add_poolfile
add_dsc_to_db
add_deb_to_db
from process-accepted to dbconn so that we can use them
from the new process-upload.
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 15:16:40 +0000 (15:16 +0000)]
Merge commit 'private/master' into process-upload
Joerg Jaspert [Fri, 30 Oct 2009 14:40:08 +0000 (15:40 +0100)]
Merge commit 'stew/knownchanges' into merge
* commit 'stew/knownchanges':
split read and write locks
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Fri, 30 Oct 2009 14:38:18 +0000 (15:38 +0100)]
split read and write locks
Signed-off-by: Mike O'Connor <stew@vireo.org>
Joerg Jaspert [Fri, 30 Oct 2009 14:32:17 +0000 (15:32 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master': (23 commits)
'as' is a reserved word in Python 2.6.
Don't shadow 'file' builtin in daklib.queue.
Use 4 spaces for indentation.
Correct code to match documentation of Binary.check_utf8_package
Remove unused 'time' import.
Correct isinstance call; DictType is not an actual type.
dak's "Dict" is a synonym of the 'dict' builtin
Use foo.iteritems() to avoid reentrancy with foo[k].
Don't shadow 'map' builtin in daklib.utils.TemplateSubst
Update comment about our monkeypatching of commands.getstatusoutput.
Remove duplicated 'commands' import.
Don't use deprecated string module.
Remove unused imports from daklib.queue.
Remove shadowing builtins in daklib.queue
Remove daklib's now-unused extension functionality.
Remove shadowing builtins in daklib.dbconn.
Don't shadow 'dir' builtin in daklib.utils.get_changes_files
We don't use re_is_orig_source in daklib.utils anymore.
Don't shadow "dir" builtin.
Fix uid references in DM upload error codepaths.
...
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Chris Lamb [Fri, 30 Oct 2009 14:28:33 +0000 (14:28 +0000)]
'as' is a reserved word in Python 2.6.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 14:11:05 +0000 (14:11 +0000)]
Don't shadow 'file' builtin in daklib.queue.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 14:08:27 +0000 (14:08 +0000)]
Use 4 spaces for indentation.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 14:07:46 +0000 (14:07 +0000)]
Correct code to match documentation of Binary.check_utf8_package
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 14:05:47 +0000 (14:05 +0000)]
Remove unused 'time' import.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 14:00:15 +0000 (14:00 +0000)]
Correct isinstance call; DictType is not an actual type.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:56:18 +0000 (13:56 +0000)]
dak's "Dict" is a synonym of the 'dict' builtin
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:52:08 +0000 (13:52 +0000)]
Use foo.iteritems() to avoid reentrancy with foo[k].
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:50:46 +0000 (13:50 +0000)]
Don't shadow 'map' builtin in daklib.utils.TemplateSubst
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:49:48 +0000 (13:49 +0000)]
Update comment about our monkeypatching of commands.getstatusoutput.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:48:03 +0000 (13:48 +0000)]
Remove duplicated 'commands' import.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:47:46 +0000 (13:47 +0000)]
Don't use deprecated string module.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:25:26 +0000 (13:25 +0000)]
Remove unused imports from daklib.queue.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:24:48 +0000 (13:24 +0000)]
Remove shadowing builtins in daklib.queue
Chris Lamb [Fri, 30 Oct 2009 13:20:27 +0000 (13:20 +0000)]
Remove daklib's now-unused extension functionality.
Was only used for ACL-like purposes which was re-implemented.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:18:15 +0000 (13:18 +0000)]
Remove shadowing builtins in daklib.dbconn.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:15:57 +0000 (13:15 +0000)]
Don't shadow 'dir' builtin in daklib.utils.get_changes_files
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:15:07 +0000 (13:15 +0000)]
We don't use re_is_orig_source in daklib.utils anymore.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:13:48 +0000 (13:13 +0000)]
Don't shadow "dir" builtin.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:12:33 +0000 (13:12 +0000)]
Fix uid references in DM upload error codepaths.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:11:05 +0000 (13:11 +0000)]
Fix component references in upload component error codepaths.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 13:07:37 +0000 (13:07 +0000)]
Fix handling of invalid Maintainer field.
Signed-off-by: Chris Lamb <lamby@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 14:28:31 +0000 (15:28 +0100)]
Merge commit 'stew/knownchanges' into merge
* commit 'stew/knownchanges':
try to get rid of deadlock
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 14:13:43 +0000 (14:13 +0000)]
process-upload: import action() from process-unchecked
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Mike O'Connor [Fri, 30 Oct 2009 14:27:41 +0000 (15:27 +0100)]
try to get rid of deadlock
Signed-off-by: Mike O'Connor <stew@vireo.org>
Mark Hymers [Fri, 30 Oct 2009 14:23:10 +0000 (14:23 +0000)]
sort out type problem
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 14:14:49 +0000 (15:14 +0100)]
Merge commit 'stew/knownchanges' into merge
* commit 'stew/knownchanges':
towpdown import_known_changes
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mike O'Connor [Fri, 30 Oct 2009 14:13:59 +0000 (15:13 +0100)]
towpdown import_known_changes
Signed-off-by: Mike O'Connor <stew@vireo.org>
Frank Lichtenheld [Fri, 30 Oct 2009 14:12:14 +0000 (14:12 +0000)]
queue_install: Adapt to new code organisation
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 14:00:22 +0000 (15:00 +0100)]
Merge commit 'mhy/suitesql' into merge
* commit 'mhy/suitesql':
never change things at the last minute...
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Fri, 30 Oct 2009 14:00:01 +0000 (14:00 +0000)]
never change things at the last minute...
Signed-off-by: Mark Hymers <mhy@debian.org>
Frank Lichtenheld [Fri, 30 Oct 2009 13:58:08 +0000 (13:58 +0000)]
Copy parts of process-unchecked to daklib.queue_install
To not bloat the new process-upload script unnecessarily
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
Joerg Jaspert [Fri, 30 Oct 2009 13:55:05 +0000 (14:55 +0100)]
Merge commit 'mhy/suitesql' into merge
* commit 'mhy/suitesql':
fix up policy_queue support in the ORM and drop old column
add support for policy queues to the database
Signed-off-by: Joerg Jaspert <joerg@debian.org>