]>
git.decadent.org.uk Git - dak.git/log
Chris Lamb [Sun, 1 Nov 2009 10:19:48 +0000 (10:19 +0000)]
Add test that imports all dak commands.
Signed-off-by: Chris Lamb <lamby@debian.org>
Mark Hymers [Sun, 1 Nov 2009 10:17:33 +0000 (10:17 +0000)]
temporarily stop people during NEW processing
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sun, 1 Nov 2009 10:06:29 +0000 (10:06 +0000)]
typo fix
Signed-off-by: Mark Hymers <mhy@debian.org>
Mark Hymers [Sun, 1 Nov 2009 10:05:37 +0000 (10:05 +0000)]
Import os
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:59:04 +0000 (10:59 +0100)]
Merge branch 'merge'
* merge:
use central function instead of reimplementing
don't let Ganneff send messages in german
Joerg Jaspert [Sun, 1 Nov 2009 09:58:51 +0000 (10:58 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master':
use central function instead of reimplementing
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sun, 1 Nov 2009 09:55:44 +0000 (09:55 +0000)]
use central function instead of reimplementing
Signed-off-by: Mark Hymers <mhy@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:53:48 +0000 (10:53 +0100)]
Its buildd
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:44:51 +0000 (10:44 +0100)]
Merge commit 'mhy/master' into merge
* commit 'mhy/master':
don't let Ganneff send messages in german
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sun, 1 Nov 2009 09:43:45 +0000 (09:43 +0000)]
Merge commit 'ftpmaster/master'
Joerg Jaspert [Sun, 1 Nov 2009 09:31:15 +0000 (10:31 +0100)]
do not do this
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:28:38 +0000 (10:28 +0100)]
Merge branch 'merge'
* merge:
lenny's python-apt does not support "#" comments.
Joerg Jaspert [Sun, 1 Nov 2009 09:28:25 +0000 (10:28 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master':
lenny's python-apt does not support "#" comments.
no i-u-f-p
cron
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:27:46 +0000 (10:27 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
* 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak:
fix up tbl handling
Mark Hymers [Sun, 1 Nov 2009 09:27:37 +0000 (09:27 +0000)]
fix up tbl handling
Signed-off-by: Mark Hymers <mhy@debian.org>
Chris Lamb [Sun, 1 Nov 2009 09:27:11 +0000 (09:27 +0000)]
lenny's python-apt does not support "#" comments.
Signed-off-by: Chris Lamb <lamby@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:23:48 +0000 (10:23 +0100)]
Revert "no i-u-f-p"
This reverts commit
983f7ea9cec7265c4d5c59af2c355881bdec0f20 .
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Mark Hymers [Sun, 1 Nov 2009 09:22:53 +0000 (09:22 +0000)]
Merge commit 'ftpmaster/master'
Joerg Jaspert [Sun, 1 Nov 2009 09:22:13 +0000 (10:22 +0100)]
no i-u-f-p
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:20:49 +0000 (10:20 +0100)]
cron
modify for new world order
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 1 Nov 2009 09:06:47 +0000 (10:06 +0100)]
Merge commit 'lamby/master' into merge
* commit 'lamby/master': (23 commits)
Add tests for process_gpgv_output
Remove some of the Table boilerplate
Heh, someone fixed these issues since 2001.
Add dak.conf for tests as utilities parse it.
Port old tests to unittest; currently 18 failures.
Add a 'fixture' utility to generate a path to a fixture.
Tidy daklib.utils.which_conf_file
Use a custom dak.conf during tests - now we can import daklib.utils.
Drop executable bits on libraries.
Prefer the "Borg" pattern over the GoF singleton pattern.
Remove empty docstring.
Make daklib.lintian work on the named groups, not the "flat" groups
Use named groups in lintian regex.
Alter generate_reject_messages to return a generator.
Tidy upload.check_lintian.
Generate lintian reject messages in daklib.lintian + tests
Add a docstring for parse_lintian_output
An empty output is handled fine.
Move lintian parsing to daklib.lintian and add tests.
Rename warning/error in lintian autorejects to nonfatal/fatal.
...
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Chris Lamb [Sat, 31 Oct 2009 23:28:41 +0000 (23:28 +0000)]
Add tests for process_gpgv_output
Signed-off-by: Chris Lamb <lamby@debian.org>
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>
Chris Lamb [Sat, 31 Oct 2009 23:06:29 +0000 (23:06 +0000)]
Remove some of the Table boilerplate
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 21:49:33 +0000 (21:49 +0000)]
Heh, someone fixed these issues since 2001.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 21:35:45 +0000 (21:35 +0000)]
Add dak.conf for tests as utilities parse it.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 21:35:19 +0000 (21:35 +0000)]
Port old tests to unittest; currently 18 failures.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 15:39:46 +0000 (15:39 +0000)]
Add a 'fixture' utility to generate a path to a fixture.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 13:53:30 +0000 (13:53 +0000)]
Tidy daklib.utils.which_conf_file
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 13:53:11 +0000 (13:53 +0000)]
Use a custom dak.conf during tests - now we can import daklib.utils.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 12:36:44 +0000 (12:36 +0000)]
Drop executable bits on libraries.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 12:23:21 +0000 (12:23 +0000)]
Prefer the "Borg" pattern over the GoF singleton pattern.
The only visible difference is the lack of object identity between
instances.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 11:06:20 +0000 (11:06 +0000)]
Remove empty docstring.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 10:54:29 +0000 (10:54 +0000)]
Make daklib.lintian work on the named groups, not the "flat" groups
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 10:41:42 +0000 (10:41 +0000)]
Use named groups in lintian regex.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 10:29:14 +0000 (10:29 +0000)]
Alter generate_reject_messages to return a generator.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 10:25:01 +0000 (10:25 +0000)]
Tidy upload.check_lintian.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 10:03:19 +0000 (10:03 +0000)]
Generate lintian reject messages in daklib.lintian + tests
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 09:43:52 +0000 (09:43 +0000)]
Add a docstring for parse_lintian_output
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 09:43:16 +0000 (09:43 +0000)]
An empty output is handled fine.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 09:33:41 +0000 (09:33 +0000)]
Move lintian parsing to daklib.lintian and add tests.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Sat, 31 Oct 2009 09:16:20 +0000 (09:16 +0000)]
Rename warning/error in lintian autorejects to nonfatal/fatal.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 23:50:43 +0000 (23:50 +0000)]
Make all tests use DakTestCase.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 23:45:12 +0000 (23:45 +0000)]
Add a base TestCase that we can extend later.
Signed-off-by: Chris Lamb <lamby@debian.org>
Chris Lamb [Fri, 30 Oct 2009 23:43:51 +0000 (23:43 +0000)]
Simplify which_conf_file.s
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>