Joerg Jaspert [Wed, 23 Apr 2008 19:16:28 +0000 (21:16 +0200)]
Merge changed-by patch
Joerg Jaspert [Wed, 23 Apr 2008 19:02:56 +0000 (21:02 +0200)]
Merge Myons patch to write the changed-by information into the database
Joerg Jaspert [Wed, 23 Apr 2008 18:47:06 +0000 (20:47 +0200)]
Merge Myons fubar fix
Joerg Jaspert [Wed, 23 Apr 2008 18:44:09 +0000 (20:44 +0200)]
Merge with upstream
Joerg Jaspert [Tue, 22 Apr 2008 19:33:53 +0000 (21:33 +0200)]
Change interval for 31 days to 7
Joerg Jaspert [Tue, 22 Apr 2008 19:23:02 +0000 (21:23 +0200)]
Added an sql function
Joerg Jaspert [Mon, 21 Apr 2008 23:42:43 +0000 (01:42 +0200)]
Add push for katie@merkel to start projectb sync
Joerg Jaspert [Mon, 21 Apr 2008 21:21:37 +0000 (23:21 +0200)]
Correct place for braces makes it actually work
Joerg Jaspert [Mon, 21 Apr 2008 14:55:14 +0000 (16:55 +0200)]
Merge
Joerg Jaspert [Mon, 21 Apr 2008 14:54:18 +0000 (16:54 +0200)]
Add dump expire script and use it
Joerg Jaspert [Mon, 21 Apr 2008 10:10:33 +0000 (12:10 +0200)]
Fix src_uploads in debian maintainers case
Joerg Jaspert [Sun, 20 Apr 2008 20:56:09 +0000 (20:56 +0000)]
Disable unneeded vacuum runs
Joerg Jaspert [Sat, 19 Apr 2008 23:40:43 +0000 (23:40 +0000)]
Merge
Joerg Jaspert [Sat, 19 Apr 2008 23:28:39 +0000 (01:28 +0200)]
Fake a changelog entry for thomas
Joerg Jaspert [Sat, 19 Apr 2008 23:26:47 +0000 (01:26 +0200)]
Merge Thomas patch to deal with newer format lines
Thomas Viehmann [Fri, 18 Apr 2008 20:34:12 +0000 (20:34 +0000)]
fix utils.py/build_file_list to parse (and reject) extended .dsc format
James Troup [Fri, 18 Apr 2008 20:32:55 +0000 (20:32 +0000)]
Add armel to udeb for testing
Joerg Jaspert [Fri, 18 Apr 2008 19:14:41 +0000 (21:14 +0200)]
Add s-p-u -> p-u mapping
Joerg Jaspert [Fri, 18 Apr 2008 18:42:54 +0000 (18:42 +0000)]
check key == "new", not t[key]
Joerg Jaspert [Fri, 18 Apr 2008 18:42:20 +0000 (20:42 +0200)]
check key == "new", not t[key]
Joerg Jaspert [Fri, 18 Apr 2008 18:36:03 +0000 (18:36 +0000)]
More exception handling
Joerg Jaspert [Fri, 18 Apr 2008 18:32:59 +0000 (20:32 +0200)]
Missed continue statement
Joerg Jaspert [Fri, 18 Apr 2008 18:30:33 +0000 (20:30 +0200)]
Add more exception handling
Joerg Jaspert [Fri, 18 Apr 2008 18:26:24 +0000 (18:26 +0000)]
Merge
Joerg Jaspert [Fri, 18 Apr 2008 18:25:42 +0000 (20:25 +0200)]
Fix case of an empty transitions file and accept debian native versions in transitions
Anthony Towns [Fri, 18 Apr 2008 05:16:56 +0000 (05:16 +0000)]
improve import-keyring output
invoke import-keyring -L debian-keyring.gpg in cron.daily
Joerg Jaspert [Thu, 17 Apr 2008 22:06:15 +0000 (22:06 +0000)]
Merge again
Joerg Jaspert [Thu, 17 Apr 2008 22:05:35 +0000 (00:05 +0200)]
*sigh*, actually do it at the right location
Joerg Jaspert [Thu, 17 Apr 2008 22:02:56 +0000 (22:02 +0000)]
Merge again for transitions
Joerg Jaspert [Thu, 17 Apr 2008 22:02:07 +0000 (00:02 +0200)]
Also check for invalid package list indentation
Joerg Jaspert [Thu, 17 Apr 2008 21:35:51 +0000 (21:35 +0000)]
Merge release transitions checking
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
Christoph Berg [Sat, 9 Feb 2008 22:27:52 +0000 (23:27 +0100)]
Script to import yet missing fields from filippo's uploads-history DB.
Joerg Jaspert [Sat, 9 Feb 2008 20:34:21 +0000 (21:34 +0100)]
Merge myons fubar fix
Christoph Berg [Sat, 9 Feb 2008 20:04:53 +0000 (21:04 +0100)]
Add ChangeLog entry for previous commit (fubar does not exist in global
namespace).
Christoph Berg [Sat, 9 Feb 2008 19:57:33 +0000 (20:57 +0100)]
Add changedby column to source table, and fill in information found in the
.changes. This will allow to identify NMUs and sponsored uploads more precisely
in tools querying projectb.
Also move src_uploaders after source in DB population script so the REFERNCES
clause works.
Christoph Berg [Sat, 9 Feb 2008 19:36:41 +0000 (20:36 +0100)]
fubar does not exist in global namespace
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