]>
git.decadent.org.uk Git - dak.git/log
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: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>
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>
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 [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 [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: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 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: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 [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:04:43 +0000 (23:04 +0100)]
do is a little different than queue, even if just a tiny bit
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 11 Dec 2010 22:01:11 +0000 (23:01 +0100)]
better function names
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 11 Dec 2010 21:56:47 +0000 (22:56 +0100)]
security queue handling
reenable the embargo/disembargo handling. we check if the policy_queues
named like it exist, if not we just dont do anything. if they (especially)
embargo exist, we always do it. As embargo is just a kind of catch-all at the
end
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 11 Dec 2010 20:24:34 +0000 (21:24 +0100)]
ignore advisories
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 11 Dec 2010 15:14:52 +0000 (16:14 +0100)]
Ask the database for components
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 29 Nov 2010 20:05:28 +0000 (21:05 +0100)]
disable a-f
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 29 Nov 2010 08:55:22 +0000 (09:55 +0100)]
new path
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 29 Nov 2010 08:22:37 +0000 (09:22 +0100)]
clean the debbugs version track archive
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 29 Nov 2010 08:11:48 +0000 (09:11 +0100)]
oh yay, we get away without the s-u-p-u, anything will be taken from s-p-u
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 28 Nov 2010 22:39:53 +0000 (23:39 +0100)]
db schema 40
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 28 Nov 2010 22:36:38 +0000 (23:36 +0100)]
rename volatile to updates
what an insanity. We end up with things like Squeeze-Updates-Proposed-Updates.
Why the heck one cant just make p-u a full suite and recommend people to use that
too? Its after a "NEW" queue anyways. This only serves to needlessly confuse
users. "What? proposed-updates and updates? whats going on?"
Meh. Volatile might be a bad name, but now this is worse.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 5 Nov 2010 22:30:03 +0000 (23:30 +0100)]
Merge remote branch 'drkranz/master' into merge
* drkranz/master:
process_new.py: show NEW comments as a whole
Use Changes-file as field name for deferred .changes files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Thu, 4 Nov 2010 16:28:29 +0000 (16:28 +0000)]
process_new.py: show NEW comments as a whole
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Mon, 1 Nov 2010 13:30:35 +0000 (13:30 +0000)]
Use Changes-file as field name for deferred .changes files
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Thu, 14 Oct 2010 08:43:11 +0000 (10:43 +0200)]
team not ftpmaster for this stuff
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 13 Oct 2010 17:33:50 +0000 (19:33 +0200)]
Merge remote branch 'drkranz/master' into merge
* drkranz/master:
process_new.py: s/Binaries/No-Binaries/
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Wed, 13 Oct 2010 09:40:02 +0000 (09:40 +0000)]
process_new.py: s/Binaries/No-Binaries/
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Wed, 13 Oct 2010 06:13:02 +0000 (08:13 +0200)]
Ups, \
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Wed, 13 Oct 2010 06:10:57 +0000 (08:10 +0200)]
Adjust mail address
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 12 Oct 2010 20:07:20 +0000 (22:07 +0200)]
Merge remote branch 'drkranz/master' into merge
* drkranz/master:
Add an option to reverse sorting of binary-NEW packages
examine-package: colorize distribution
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Tue, 12 Oct 2010 20:01:47 +0000 (22:01 +0200)]
l-bpo-sloppy
rin in de kartoffeln, rut ut de kartoffeln....
now they have lenny-bpo-sloppy as an own suite with own overrides.
glad i dont have to do NEW there.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 10 Oct 2010 21:07:19 +0000 (21:07 +0000)]
Add an option to reverse sorting of binary-NEW packages
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 10 Oct 2010 19:10:38 +0000 (19:10 +0000)]
examine-package: colorize distribution
Assign a color to Distribution field if it's not unstable
or experimental, to ease detection of those packages
uploaded to an uncommon distribution.
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 10 Oct 2010 22:30:42 +0000 (00:30 +0200)]
Use the good mail from only.
we really need a function for the mail stuff from cronjobs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 10 Oct 2010 15:01:03 +0000 (17:01 +0200)]
Add buildd-squeeze-volatile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 10 Oct 2010 14:19:22 +0000 (16:19 +0200)]
Add hourly cronjob
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 7 Oct 2010 19:33:18 +0000 (21:33 +0200)]
only nag once a day
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 4 Oct 2010 21:42:47 +0000 (23:42 +0200)]
Remove settings given by defaults
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 4 Oct 2010 21:37:32 +0000 (23:37 +0200)]
No longer provide uncompressed files on bpo
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 4 Oct 2010 18:12:15 +0000 (20:12 +0200)]
right keyring
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 4 Oct 2010 06:50:19 +0000 (08:50 +0200)]
Dont fail if file to rm isnt there
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Mon, 4 Oct 2010 06:47:27 +0000 (08:47 +0200)]
Import os
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 3 Oct 2010 15:36:27 +0000 (17:36 +0200)]
Merge remote branch 'drkranz/master' into merge
* drkranz/master:
Join cnf.exportpath into a temp variable
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 3 Oct 2010 15:04:08 +0000 (15:04 +0000)]
Join cnf.exportpath into a temp variable
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 3 Oct 2010 15:29:32 +0000 (17:29 +0200)]
[Mark] Fix for the _setup_routines()
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sun, 3 Oct 2010 13:39:56 +0000 (15:39 +0200)]
Merge remote branch 'drkranz/master' into merge
* drkranz/master:
Fix sorting of NEW packages
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 3 Oct 2010 13:37:38 +0000 (13:37 +0000)]
Fix sorting of NEW packages
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 3 Oct 2010 13:20:04 +0000 (15:20 +0200)]
Merge remote branch 'drkranz/make-changelog' into merge
* drkranz/make-changelog:
Don't hardcode paths
Check brit_file value, it can be None
s/britney_changelog/changelog/
Restore Changelogs config entry for compatibility purposes
Update projectb with changelogs config values
Define Britney changelog file from suite table
make-changelog: drop useless -T command
Define changelogs export path into projectb
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Luca Falavigna [Sun, 3 Oct 2010 13:07:45 +0000 (13:07 +0000)]
Don't hardcode paths
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 3 Oct 2010 12:47:57 +0000 (12:47 +0000)]
Check brit_file value, it can be None
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 3 Oct 2010 12:46:33 +0000 (12:46 +0000)]
s/britney_changelog/changelog/
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sun, 3 Oct 2010 12:40:32 +0000 (12:40 +0000)]
Restore Changelogs config entry for compatibility purposes
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sat, 25 Sep 2010 14:21:08 +0000 (14:21 +0000)]
Update projectb with changelogs config values
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sat, 25 Sep 2010 14:02:37 +0000 (14:02 +0000)]
Define Britney changelog file from suite table
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sat, 25 Sep 2010 13:11:47 +0000 (13:11 +0000)]
make-changelog: drop useless -T command
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Luca Falavigna [Sat, 25 Sep 2010 13:04:20 +0000 (13:04 +0000)]
Define changelogs export path into projectb
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
Joerg Jaspert [Sun, 3 Oct 2010 11:01:53 +0000 (13:01 +0200)]
Dont c-o -sloppy
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Sat, 2 Oct 2010 11:37:45 +0000 (13:37 +0200)]
Add lenny-backports-sloppy
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 1 Oct 2010 21:47:18 +0000 (23:47 +0200)]
Tell edit note explicitly about the trainee
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Fri, 1 Oct 2010 19:27:23 +0000 (21:27 +0200)]
Merge remote branch 'tolimar/rm-close-bugs' into merge
* tolimar/rm-close-bugs:
make wnpp file world readable and do so before moving it
Fix spelling of "IOError" so we indeed don't raise an exception
Make that file readable by ftpteam
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Alexander Reichle-Schmehl [Fri, 1 Oct 2010 12:49:15 +0000 (12:49 +0000)]
make wnpp file world readable and do so before moving it
Alexander Reichle-Schmehl [Fri, 1 Oct 2010 09:19:46 +0000 (09:19 +0000)]
Fix spelling of "IOError" so we indeed don't raise an exception
Alexander Reichle-Schmehl [Fri, 1 Oct 2010 09:18:53 +0000 (09:18 +0000)]
Make that file readable by ftpteam
Joerg Jaspert [Thu, 30 Sep 2010 10:33:38 +0000 (12:33 +0200)]
set the tmpdir variable
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 30 Sep 2010 10:33:17 +0000 (12:33 +0200)]
Rewrite so that it uses mktemp. also let a trap for the cleanup function handle the rm of the tempfile, we save on the whole if then
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Joerg Jaspert [Thu, 30 Sep 2010 10:19:51 +0000 (12:19 +0200)]
Merge remote branch 'tolimar/rm-close-bugs' into merge
* tolimar/rm-close-bugs:
Make the wnpp parse more robust for missing files
Only log, if there is something to log
Make it the qa wnpp list download more fault tolerant
Fix comment of cron.daily (copy and paste from cron.monthly)
Use different mail templates to close removal bugs, if related bugs got closed
Refresh the wnpp bugs list on a daily basis
Also close wnpp bugs on package removal
Signed-off-by: Joerg Jaspert <joerg@debian.org>