]>
git.decadent.org.uk Git - dak.git/log
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>
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>
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>
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>
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>
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
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>
Torsten Werner [Tue, 11 Jan 2011 20:11:24 +0000 (21:11 +0100)]
Merge branch 'master' into dbtests
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>
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>
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>
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>
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>
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>
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>
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>
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>
Torsten Werner [Mon, 10 Jan 2011 21:16:01 +0000 (22:16 +0100)]
Merge branch 'master' into dbtests
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>
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>
Torsten Werner [Sun, 9 Jan 2011 14:05:13 +0000 (15:05 +0100)]
suppress warnings when running tests in squeeze
Signed-off-by: Torsten Werner <twerner@debian.org>
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>
Luca Falavigna [Sun, 12 Dec 2010 17:08:54 +0000 (17:08 +0000)]
Move more objects into get_packages_from_ftp()
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 12 Dec 2010 16:50:02 +0000 (16:50 +0000)]
Pipes ftw!
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 12 Dec 2010 11:19:19 +0000 (11:19 +0000)]
Add dak override-disparity command to cron.daily
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 12 Dec 2010 11:18:37 +0000 (11:18 +0000)]
override_disparity.py: display YAML output
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 12 Dec 2010 01:46:10 +0000 (01:46 +0000)]
Move common code to the new get_packages_from_ftp()
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Fri, 10 Dec 2010 13:53:48 +0000 (13:53 +0000)]
override_disparity.py: generate a list of override disparities
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Thu, 9 Dec 2010 21:08:06 +0000 (21:08 +0000)]
override.py: check override compliance
Before attempting to edit overrides, check if the
proposed change complies with Debian Policy ยง2.5.
Check is performed on package dependencies and
reverse dependencies as well.
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Thu, 9 Dec 2010 09:56:03 +0000 (09:56 +0000)]
ls.py: let -a source display sources only (#458186)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Torsten Werner [Sun, 9 Jan 2011 20:42:03 +0000 (21:42 +0100)]
disable warnings in base_test instead of test_all
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sun, 9 Jan 2011 14:05:13 +0000 (15:05 +0100)]
suppress warnings when running tests in squeeze
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 8 Jan 2011 18:30:13 +0000 (19:30 +0100)]
fix paths in test_copy_installer to work on franck
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 8 Jan 2011 18:05:56 +0000 (19:05 +0100)]
add command copy-installer to dak driver
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 8 Jan 2011 17:58:51 +0000 (18:58 +0100)]
copy_installer.py: implement main()
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 8 Jan 2011 16:28:17 +0000 (17:28 +0100)]
create new class InstallerCopier
- will support the now copy-installer command
- includes test code
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 7 Jan 2011 19:32:58 +0000 (20:32 +0100)]
cron.unchecked: improve error message if locking fails
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 7 Jan 2011 19:30:11 +0000 (20:30 +0100)]
increase retry count for locking unchecked.lock
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Fri, 7 Jan 2011 19:27:34 +0000 (20:27 +0100)]
fix error handling in add_deb_to_db()
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 5 Jan 2011 20:43:41 +0000 (21:43 +0100)]
improve import of DM keyring
Fall back to first uid that contains an email address if the primary uid
does not.
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 5 Jan 2011 20:11:35 +0000 (21:11 +0100)]
remove useless "aliases" entry in Keyring
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 4 Jan 2011 20:45:40 +0000 (21:45 +0100)]
fix syntax error in show-new
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 4 Jan 2011 20:00:19 +0000 (21:00 +0100)]
show-new: refactor Luca's changes
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Tue, 4 Jan 2011 19:53:41 +0000 (20:53 +0100)]
Merge remote branch 'dktrkranz/show-new'
Torsten Werner [Tue, 4 Jan 2011 19:07:56 +0000 (20:07 +0100)]
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
Torsten Werner [Tue, 4 Jan 2011 19:06:28 +0000 (20:06 +0100)]
secure show-new by unchecked.log
... to avoid parallel execution of dak
Signed-off-by: Torsten Werner <twerner@debian.org>
Luca Falavigna [Tue, 4 Jan 2011 17:15:37 +0000 (17:15 +0000)]
show-new: query database only when needed
Instead of querying database once for every single .changes file,
only regenerate html output if not previously available or older.
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Torsten Werner [Tue, 4 Jan 2011 10:34:52 +0000 (11:34 +0100)]
fix lock removal in dinstall
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sun, 2 Jan 2011 12:03:04 +0000 (13:03 +0100)]
wait for background processes at dinstall's end
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sun, 2 Jan 2011 11:15:20 +0000 (12:15 +0100)]
append cron.daily's output to dinstall's logfile
(instead of sending spam)
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 1 Jan 2011 22:42:31 +0000 (23:42 +0100)]
fix exception in 'dak override'
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 1 Jan 2011 16:44:29 +0000 (17:44 +0100)]
make onerror() in dinstall.functions more robust
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Sat, 1 Jan 2011 12:13:13 +0000 (13:13 +0100)]
avoid 'unbound variable' error in shell script
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 30 Dec 2010 18:22:22 +0000 (19:22 +0100)]
fix threadpool's joinAll() method
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 30 Dec 2010 17:10:54 +0000 (17:10 +0000)]
add option --no-action to import-keyring
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Thu, 30 Dec 2010 11:53:53 +0000 (11:53 +0000)]
add option --list-uids to import-keyring
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 29 Dec 2010 23:13:32 +0000 (00:13 +0100)]
fix arguments for format string
... to avoid exception during import
Signed-off-by: Torsten Werner <twerner@debian.org>
Torsten Werner [Wed, 29 Dec 2010 23:10:05 +0000 (00:10 +0100)]
do no longer automatically update UIDs
- ... because we want to have control over the UIDs.
Signed-off-by: Torsten Werner <twerner@debian.org>
Joerg Jaspert [Wed, 15 Dec 2010 19:59:40 +0000 (20:59 +0100)]
process-policy
also process ACCEPTED files once more, so late-accepts do work
use the len(opref) to find how much of the name to strip to see if its a direntry we work on
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 15 Dec 2010 07:53:22 +0000 (08:53 +0100)]
also clean disembargo incoming
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 21:38:13 +0000 (22:38 +0100)]
use the right var name, stupid
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 22:32:34 +0000 (23:32 +0100)]
Override mail
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 21:38:13 +0000 (22:38 +0100)]
use the right var name, stupid
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 21:30:31 +0000 (22:30 +0100)]
Move a-f cleanup to the last
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 21:04:50 +0000 (22:04 +0100)]
right path
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 19:02:58 +0000 (20:02 +0100)]
More directories for queue-report
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 18:54:47 +0000 (19:54 +0100)]
Fix the arch entries for the buildd suites
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 14 Dec 2010 00:05:03 +0000 (01:05 +0100)]
s/install//
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 23:51:02 +0000 (00:51 +0100)]
try with case
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 23:33:05 +0000 (00:33 +0100)]
no more advisory
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 23:07:58 +0000 (00:07 +0100)]
fix n-s-i
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 22:49:05 +0000 (23:49 +0100)]
cron.buildd
whitespace fun
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 22:48:55 +0000 (23:48 +0100)]
cron.buildd
now with signed buildd dirs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 22:26:52 +0000 (23:26 +0100)]
copyfile wants full names
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 22:23:29 +0000 (23:23 +0100)]
only run the archive update when we actually had changes in the archive
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 22:21:01 +0000 (23:21 +0100)]
use copyfile, we want it accessible in that dest
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 21:57:16 +0000 (22:57 +0100)]
Add import-keyring
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 20:27:44 +0000 (21:27 +0100)]
unchecked
run the process-policy stuff and accept (late) builds for already accepted
security releases.
this also requires a run of the normal archive fun, to push it out.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 20:26:55 +0000 (21:26 +0100)]
new-security-install
entirely rewritten. much smaller and nicer and better and whatnot.
except preparing advisories, this should be all they need. lets see.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 20:23:06 +0000 (21:23 +0100)]
vars
remove duplicate
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 13 Dec 2010 20:22:53 +0000 (21:22 +0100)]
queue_install
we really need to copy here, symlinks wont work due to the rights
of the queues. the webserver wont see the embargoed fun otherwise
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 20:42:29 +0000 (21:42 +0100)]
updated for new version
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 20:20:03 +0000 (21:20 +0100)]
update variables
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 20:06:46 +0000 (21:06 +0100)]
Merge branch 'master' into security
* master:
security install fun
Joerg Jaspert [Sun, 12 Dec 2010 20:05:11 +0000 (21:05 +0100)]
security install fun
yes, the mhy is right, its all wrong to go special for security in changesutil. remove the special case.
also, check if we process files in newstage. if thats the case (changes known and its in_queue attribute
tells us the queue its in is newstage) then dont do embargo/disembargo, this is one that got accepted
from there
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 19:45:14 +0000 (20:45 +0100)]
right lockfile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 19:36:09 +0000 (20:36 +0100)]
Merge branch 'master' into security
* master:
new lock dir
embargo/disembargo build up a symlink farm for our buildds.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 19:30:20 +0000 (20:30 +0100)]
new lock dir
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 15:27:47 +0000 (16:27 +0100)]
embargo/disembargo build up a symlink farm for our buildds.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 15:27:47 +0000 (16:27 +0100)]
embargo/disembargo build up a symlink farm for our buildds.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 14:52:37 +0000 (15:52 +0100)]
Merge branch 'master' into security
* master:
fixme note
Joerg Jaspert [Sun, 12 Dec 2010 14:51:22 +0000 (15:51 +0100)]
fixme note
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 14:14:58 +0000 (15:14 +0100)]
Merge branch 'master' into security
* master:
In case the component name contains a /, replace it with a _. Works much better when using this as part of a filename
Joerg Jaspert [Sun, 12 Dec 2010 14:14:18 +0000 (15:14 +0100)]
In case the component name contains a /, replace it with a _. Works much better when using this as part of a filename
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 13:55:44 +0000 (14:55 +0100)]
Add check-overrides entry
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 12 Dec 2010 13:50:27 +0000 (14:50 +0100)]
add cache dir
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 11 Dec 2010 22:46:09 +0000 (23:46 +0100)]
Merge branch 'master' into security
* master:
missing the chg parameter
Joerg Jaspert [Sat, 11 Dec 2010 22:45:25 +0000 (23:45 +0100)]
missing the chg parameter
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 11 Dec 2010 22:40:12 +0000 (23:40 +0100)]
Merge branch 'master' into security
* master:
do is a little different than queue, even if just a tiny bit
better function names
Joerg Jaspert [Sat, 11 Dec 2010 22:39:08 +0000 (23:39 +0100)]
keyring stuff
Signed-off-by: Joerg Jaspert <joerg@debian.org>