]>
git.decadent.org.uk Git - dak.git/log
Joerg Jaspert [Thu, 17 Apr 2008 21:32:06 +0000 (23:32 +0200)]
Add missing ;
Joerg Jaspert [Thu, 17 Apr 2008 21:23:08 +0000 (23:23 +0200)]
Check if temppath exists
Joerg Jaspert [Thu, 17 Apr 2008 19:07:21 +0000 (21:07 +0200)]
Check if our temp transitions file is in the path we expect it to be in
Joerg Jaspert [Sat, 12 Apr 2008 20:13:58 +0000 (22:13 +0200)]
Merge from upstream
James Troup [Sat, 12 Apr 2008 18:35:09 +0000 (18:35 +0000)]
Trivial cleanups and rough old stable notes
James Troup [Sat, 12 Apr 2008 18:34:08 +0000 (18:34 +0000)]
Sarge point release
James Troup [Sat, 12 Apr 2008 18:33:34 +0000 (18:33 +0000)]
Add -s/--suite and -n/--no-action support to clean-proposed-updates
Joerg Jaspert [Fri, 11 Apr 2008 14:43:08 +0000 (16:43 +0200)]
Merge latest upstream dak changes
Anthony Towns [Fri, 11 Apr 2008 11:48:35 +0000 (11:48 +0000)]
reject on presence/absence of un/expected checksums-* fields
Anthony Towns [Fri, 11 Apr 2008 11:07:57 +0000 (11:07 +0000)]
* dak/utils.py: build_file_list() extra parameters so it can
build a file list for checksums-foo fields. Don't use float() to
compare formats, because Format: 1.10 should compare greater than
Format: 1.9 (use "1.9".split(".",1) and tuple comparison instead)
* dak/process_unchecked.py: check_md5sum becomes check_hashes
and check_hash. If changes format is 1.8 or later, also check
checksums-sha1 and checksums-sha256 for both .changes and .dsc.
Joerg Jaspert [Mon, 7 Apr 2008 19:13:53 +0000 (21:13 +0200)]
Check for changes format 1.8
Joerg Jaspert [Wed, 26 Mar 2008 23:53:19 +0000 (00:53 +0100)]
Mark every part that might run within sudo dak environments
Joerg Jaspert [Wed, 26 Mar 2008 23:51:56 +0000 (00:51 +0100)]
Mark every part that might run within sudo dak environments
Joerg Jaspert [Wed, 26 Mar 2008 23:43:50 +0000 (00:43 +0100)]
Merge from mainline
Joerg Jaspert [Sat, 22 Mar 2008 14:16:28 +0000 (15:16 +0100)]
Merge from aj
Joerg Jaspert [Sat, 22 Mar 2008 14:11:41 +0000 (15:11 +0100)]
* dak/transitions.py (load_transitions): Check if all our keys are
defined, if there are only keys defined we want and also the types
of the various keys.
Anthony Towns [Sat, 22 Mar 2008 11:40:21 +0000 (11:40 +0000)]
Merge transitions support.
Anthony Towns [Sat, 22 Mar 2008 11:39:31 +0000 (11:39 +0000)]
merge from Joerg
Joerg Jaspert [Fri, 21 Mar 2008 21:46:42 +0000 (22:46 +0100)]
Mention experimental
Joerg Jaspert [Fri, 21 Mar 2008 21:17:27 +0000 (22:17 +0100)]
Make tempfile readable by everyone, so we can actually copy it later
Joerg Jaspert [Fri, 21 Mar 2008 20:49:03 +0000 (21:49 +0100)]
Check for help option before we do any database connect or sudo checks/prints
Joerg Jaspert [Fri, 21 Mar 2008 20:45:01 +0000 (21:45 +0100)]
Merge from aj
Anthony Towns [Fri, 21 Mar 2008 20:17:47 +0000 (20:17 +0000)]
Change sudo otpion to match dak new-security-instal (-s, --sudo, automatically
implied for non-dak users)
Anthony Towns [Fri, 21 Mar 2008 20:07:40 +0000 (20:07 +0000)]
always prompt to commit edits
some display tidying
Anthony Towns [Fri, 21 Mar 2008 19:56:35 +0000 (19:56 +0000)]
ooops, shouldn't have sudo invoke dak edit-transitions if it's renamed...
Anthony Towns [Fri, 21 Mar 2008 19:54:07 +0000 (19:54 +0000)]
* dak/edit_transitions.py: Add --import option.
Add --use-sudo option. Use fcntl locking for writing.
Move writing into a function (write_transitions).
Reinvoke self using sudo and --import if necessary.
Move temporary file creation into a function, use mkstemp.
Rename to "dak transitions".
Anthony Towns [Fri, 21 Mar 2008 16:57:26 +0000 (16:57 +0000)]
merge from joerg
Joerg Jaspert [Fri, 21 Mar 2008 16:06:25 +0000 (17:06 +0100)]
Also only run on unstable uploads
Joerg Jaspert [Fri, 21 Mar 2008 15:49:06 +0000 (16:49 +0100)]
import errno, create tempfile *after* we got the lockfile
Joerg Jaspert [Fri, 21 Mar 2008 15:39:38 +0000 (16:39 +0100)]
* dak/edit_transitions.py (edit_transitions): Use sudo to copy the
edited file back in place
(check_transitions): Use proper locking and also use sudo to copy
the new file in place
Joerg Jaspert [Fri, 21 Mar 2008 14:24:55 +0000 (15:24 +0100)]
Whitespace changes only
Joerg Jaspert [Fri, 21 Mar 2008 14:23:23 +0000 (15:23 +0100)]
Merge from aj
Joerg Jaspert [Fri, 21 Mar 2008 14:13:38 +0000 (15:13 +0100)]
Merge ajs branch
Anthony Towns [Fri, 21 Mar 2008 14:04:34 +0000 (14:04 +0000)]
extensions.py: minor tidyup
Anthony Towns [Fri, 21 Mar 2008 13:59:45 +0000 (13:59 +0000)]
merge with mainline
Anthony Towns [Fri, 21 Mar 2008 13:57:15 +0000 (13:57 +0000)]
daklib/extensions.py, dak/dak.py, config/debian/extensions.py: move
generic extension helpers into daklib.extensions
Anthony Towns [Fri, 21 Mar 2008 13:28:50 +0000 (13:28 +0000)]
merge from mainline
Anthony Towns [Fri, 21 Mar 2008 13:25:06 +0000 (13:25 +0000)]
extensions.py: update @replace_dak_function decorator to automatically
pass the old function as an argument to the new function
Anthony Towns [Fri, 21 Mar 2008 12:19:34 +0000 (12:19 +0000)]
move process_unchecked changes intoconfig/debian/extensions.py
Anthony Towns [Fri, 21 Mar 2008 11:37:25 +0000 (11:37 +0000)]
merge with extensions.py update
Anthony Towns [Fri, 21 Mar 2008 11:34:50 +0000 (11:34 +0000)]
* config/debian/extensions.py: Add infrastructure for replacing
functions in dak modules; add upload blocking for dpkg.
Joerg Jaspert [Wed, 12 Mar 2008 22:29:21 +0000 (23:29 +0100)]
check_transitions only takes the loaded transitions
Joerg Jaspert [Wed, 12 Mar 2008 22:27:00 +0000 (23:27 +0100)]
* dak/edit_transitions.py: Done a number of cleanups to make code
working. Also changed the way prompting/answering goes, to not
have to import daklib/queue.
(edit_transitions): When done with a successful edit - also print
a final overview about defined transitions
Joerg Jaspert [Tue, 11 Mar 2008 23:23:49 +0000 (00:23 +0100)]
* dak/dak.py (init): Renamed check -> edit transitions
* dak/edit_transitions.py: Renamed from check_transitions.py
(main): Also rename new_vers/curvers to expected/current
Basically a nice rewrite, so it now does checks and edit,
depending on how you call it. Check also removes old transitions,
if user wants it
Joerg Jaspert [Tue, 11 Mar 2008 21:35:45 +0000 (22:35 +0100)]
* dak/process_unchecked.py: Import syck module directly, not "from
syck import *"
(check_transition): Do the check for sourceful upload in here
Also adjust the syck loading commands, rename new_vers to
expected, curvers to current, to make it more clear what they mean.
* daklib/database.py (get_suite_version): Renamed from
get_testing_version. Also changed the cache variables name
* The above changes are based on modifications from Anthony.
Joerg Jaspert [Sun, 2 Mar 2008 23:43:12 +0000 (00:43 +0100)]
Add a better documentation
Joerg Jaspert [Sun, 2 Mar 2008 23:28:41 +0000 (00:28 +0100)]
Fix en_Ganneff
Joerg Jaspert [Sun, 2 Mar 2008 23:00:57 +0000 (00:00 +0100)]
Unindent the reject message
Joerg Jaspert [Sun, 2 Mar 2008 22:39:16 +0000 (23:39 +0100)]
Fix check logic to work the way apt_pkg.VersionCompare wants it. Also parse "not in testing" as reject reason, as wanted by a release team member
Joerg Jaspert [Sun, 2 Mar 2008 21:11:28 +0000 (22:11 +0100)]
Make the no-action working
Joerg Jaspert [Sun, 2 Mar 2008 21:06:51 +0000 (22:06 +0100)]
Fix a number of syntax errors. Also do not remove elements from a dict where we iterate through
Joerg Jaspert [Sun, 2 Mar 2008 16:37:58 +0000 (17:37 +0100)]
Add check_transitions so the yaml file can easily be checked. Make it known to dak
Joerg Jaspert [Sun, 2 Mar 2008 15:39:41 +0000 (16:39 +0100)]
Move database query in own function in database.py, use it from check-transition
Joerg Jaspert [Sun, 2 Mar 2008 15:29:46 +0000 (16:29 +0100)]
Actually revert the move to daklib.queue, keep it in proces_unchecked.
Will only move the sql to daklib.database, and the wrapper for the
release team will have the rest on its own.
Joerg Jaspert [Sun, 2 Mar 2008 15:12:20 +0000 (16:12 +0100)]
* daklib/queue.py (check_transition): Added in here
Modified so it only cleans up when called with cleanup
parameter. Which will be called from a seperate script for the
release managers.
* dak/process_unchecked.py
(check_transition): Warn on broken transitions file and return,
not doing anything.
(check_transition): Moved out of here, into daklib/queue
(process_it): Call it in daklib.queue, but only if
changes[architecture] has source included.
Joerg Jaspert [Sun, 2 Mar 2008 13:39:13 +0000 (14:39 +0100)]
Merge two checks if we should run or not.
Also modify the database result check to not break.
Joerg Jaspert [Sun, 2 Mar 2008 10:23:50 +0000 (11:23 +0100)]
Place ReleaseTransitions where they are expected.
Joerg Jaspert [Sun, 2 Mar 2008 00:59:48 +0000 (01:59 +0100)]
Added a transition check feature for the release team, together with an
example transition yaml file.
Anthony Towns [Fri, 29 Feb 2008 22:58:42 +0000 (22:58 +0000)]
add automatic d-i byhand processing
add armel to testing
update stable point release README
Joerg Jaspert [Wed, 6 Feb 2008 22:01:47 +0000 (23:01 +0100)]
Pending merge
James Troup [Wed, 6 Feb 2008 21:59:24 +0000 (21:59 +0000)]
[AJ, r=JT] add debian maintainers not able to update any packages and fix packages debian maintainers may updae
James Troup [Wed, 6 Feb 2008 21:58:54 +0000 (21:58 +0000)]
[AJ, r=JT] fix slice for raw- check
James Troup [Wed, 6 Feb 2008 21:58:34 +0000 (21:58 +0000)]
[AJ, r=JT] add armel
Joerg Jaspert [Wed, 6 Feb 2008 21:45:42 +0000 (22:45 +0100)]
key variable missing for keyexpired reject
Anthony Towns [Tue, 15 Jan 2008 07:36:22 +0000 (07:36 +0000)]
update new-security-install and security-install from klecker
Anthony Towns [Tue, 15 Jan 2008 07:31:56 +0000 (07:31 +0000)]
update security-install.advisory template from klecker
Anthony Towns [Tue, 15 Jan 2008 07:19:42 +0000 (07:19 +0000)]
sync debian-security config from klecker
Anthony Towns [Mon, 14 Jan 2008 06:13:57 +0000 (06:13 +0000)]
process_unchecked: if embargoed queues are enabled, always embargo
Anthony Towns [Mon, 14 Jan 2008 06:12:51 +0000 (06:12 +0000)]
process_unchecked: Check for duplicate files in embargoed/unembargoed
dirs, if configured
Anthony Towns [Mon, 14 Jan 2008 04:08:54 +0000 (04:08 +0000)]
add src_uploaders creation and permissions to setup
Anthony Towns [Mon, 14 Jan 2008 04:01:28 +0000 (04:01 +0000)]
grant permissions on keyrings table
Anthony Towns [Mon, 14 Jan 2008 03:58:13 +0000 (03:58 +0000)]
add keyrings table to init_pool sql
Anthony Towns [Mon, 14 Jan 2008 03:45:03 +0000 (03:45 +0000)]
initial support for local python extensions
Joerg Jaspert [Mon, 7 Jan 2008 00:09:30 +0000 (01:09 +0100)]
Merge lintian html fixes
Joerg Jaspert [Mon, 7 Jan 2008 00:06:42 +0000 (01:06 +0100)]
Remove linda call, linda doesnt provide anything anymore thats not done by lintian
Joerg Jaspert [Sun, 6 Jan 2008 11:46:38 +0000 (12:46 +0100)]
dont escape html chars if not needed
Joerg Jaspert [Sun, 6 Jan 2008 11:24:07 +0000 (12:24 +0100)]
Lintian now loves html output too
Anthony Towns [Thu, 3 Jan 2008 15:02:09 +0000 (15:02 +0000)]
cron.unchecked: don't try doing anything if the daily lock is held
James Troup [Mon, 31 Dec 2007 16:57:09 +0000 (16:57 +0000)]
[AJ, r=JT] fix process-new's handling of check_dsc_against_db() warnings
James Troup [Sun, 30 Dec 2007 22:14:51 +0000 (22:14 +0000)]
[JJ, r=JT] sync
Joerg Jaspert [Sun, 30 Dec 2007 22:12:34 +0000 (23:12 +0100)]
Call it within queue/new and with *.changes
James Troup [Sun, 30 Dec 2007 22:07:23 +0000 (22:07 +0000)]
[JJ, r=JT] show-new support
Joerg Jaspert [Sun, 30 Dec 2007 22:01:33 +0000 (23:01 +0100)]
s/utils/queue/
Joerg Jaspert [Sun, 30 Dec 2007 21:55:44 +0000 (22:55 +0100)]
s/µ/u/. Also use daklib.queue for check_valid, its there
Joerg Jaspert [Sun, 30 Dec 2007 21:52:12 +0000 (22:52 +0100)]
Did a few style fixes. Moved determine_new and friends into daklib/queue. Removed some unneeded imports
Joerg Jaspert [Sun, 30 Dec 2007 21:28:33 +0000 (22:28 +0100)]
Add show-new to dak wrapper
Joerg Jaspert [Sun, 30 Dec 2007 21:22:08 +0000 (22:22 +0100)]
WTH does that line come from? removed
Joerg Jaspert [Sun, 30 Dec 2007 21:19:51 +0000 (22:19 +0100)]
Use print_escaped_text, not print_formatted_text.
Joerg Jaspert [Sun, 30 Dec 2007 21:03:53 +0000 (22:03 +0100)]
Add link from new.html to .html for packages
Joerg Jaspert [Sun, 30 Dec 2007 20:56:48 +0000 (21:56 +0100)]
Added show_new and modified examine_package and daklib/utils to make it work
Joerg Jaspert [Sun, 30 Dec 2007 20:42:39 +0000 (21:42 +0100)]
Add dak.conf option for show-new, add show-new to cron.hourly
James Troup [Sun, 30 Dec 2007 20:33:16 +0000 (20:33 +0000)]
[JJ, r=JT] drop support for non-US which was last used in Debian for 3.0
James Troup [Sun, 30 Dec 2007 19:42:37 +0000 (19:42 +0000)]
[JJ, r=JT] ignore stderr when finding copyright with dpkg-deb
James Troup [Fri, 28 Dec 2007 22:13:34 +0000 (22:13 +0000)]
[JT] fix indentation
James Troup [Fri, 28 Dec 2007 22:10:23 +0000 (22:10 +0000)]
[JT] sync
James Troup [Fri, 28 Dec 2007 22:09:30 +0000 (22:09 +0000)]
[JJ, r=JT] merge Joerg's outstanding changes.
James Troup [Fri, 28 Dec 2007 21:52:21 +0000 (21:52 +0000)]
[AJ] sync
James Troup [Fri, 28 Dec 2007 21:52:13 +0000 (21:52 +0000)]
[AJ] add -a/--apt-conf and -f/--force-touch options. Pull version info from the database. Make description optional
James Troup [Fri, 28 Dec 2007 21:51:42 +0000 (21:51 +0000)]
[AJ] comment out version and description for stable. update moreinfourl
James Troup [Fri, 28 Dec 2007 21:51:15 +0000 (21:51 +0000)]
[AJ] add hurd-i386 to debian-installer unstable section