]> git.decadent.org.uk Git - dak.git/log
dak.git
16 years agoCheck for help option before we do any database connect or sudo checks/prints
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

16 years agoMerge from aj
Joerg Jaspert [Fri, 21 Mar 2008 20:45:01 +0000 (21:45 +0100)]
Merge from aj

16 years agoChange sudo otpion to match dak new-security-instal (-s, --sudo, automatically
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)

16 years agoalways prompt to commit edits
Anthony Towns [Fri, 21 Mar 2008 20:07:40 +0000 (20:07 +0000)]
always prompt to commit edits
some display tidying

16 years agoooops, shouldn't have sudo invoke dak edit-transitions if it's renamed...
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...

16 years ago * dak/edit_transitions.py: Add --import option.
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".

16 years agomerge from joerg
Anthony Towns [Fri, 21 Mar 2008 16:57:26 +0000 (16:57 +0000)]
merge from joerg

16 years agoAlso only run on unstable uploads
Joerg Jaspert [Fri, 21 Mar 2008 16:06:25 +0000 (17:06 +0100)]
Also only run on unstable uploads

16 years agoimport errno, create tempfile *after* we got the lockfile
Joerg Jaspert [Fri, 21 Mar 2008 15:49:06 +0000 (16:49 +0100)]
import errno, create tempfile *after* we got the lockfile

16 years ago * dak/edit_transitions.py (edit_transitions): Use sudo to copy the
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

16 years agoWhitespace changes only
Joerg Jaspert [Fri, 21 Mar 2008 14:24:55 +0000 (15:24 +0100)]
Whitespace changes only

16 years agoMerge from aj
Joerg Jaspert [Fri, 21 Mar 2008 14:23:23 +0000 (15:23 +0100)]
Merge from aj

16 years agoMerge ajs branch
Joerg Jaspert [Fri, 21 Mar 2008 14:13:38 +0000 (15:13 +0100)]
Merge ajs branch

16 years agoextensions.py: minor tidyup
Anthony Towns [Fri, 21 Mar 2008 14:04:34 +0000 (14:04 +0000)]
extensions.py: minor tidyup

16 years agomerge with mainline
Anthony Towns [Fri, 21 Mar 2008 13:59:45 +0000 (13:59 +0000)]
merge with mainline

16 years agodaklib/extensions.py, dak/dak.py, config/debian/extensions.py: move
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

16 years agomerge from mainline
Anthony Towns [Fri, 21 Mar 2008 13:28:50 +0000 (13:28 +0000)]
merge from mainline

16 years agoextensions.py: update @replace_dak_function decorator to automatically
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

16 years agomove process_unchecked changes intoconfig/debian/extensions.py
Anthony Towns [Fri, 21 Mar 2008 12:19:34 +0000 (12:19 +0000)]
move process_unchecked changes intoconfig/debian/extensions.py

16 years agomerge with extensions.py update
Anthony Towns [Fri, 21 Mar 2008 11:37:25 +0000 (11:37 +0000)]
merge with extensions.py update

16 years ago* config/debian/extensions.py: Add infrastructure for replacing
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.

16 years agocheck_transitions only takes the loaded transitions
Joerg Jaspert [Wed, 12 Mar 2008 22:29:21 +0000 (23:29 +0100)]
check_transitions only takes the loaded transitions

16 years ago* dak/edit_transitions.py: Done a number of cleanups to make code
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

16 years ago * dak/dak.py (init): Renamed check -> edit 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

16 years ago* dak/process_unchecked.py: Import syck module directly, not "from
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.

16 years agoAdd a better documentation
Joerg Jaspert [Sun, 2 Mar 2008 23:43:12 +0000 (00:43 +0100)]
Add a better documentation

16 years agoFix en_Ganneff
Joerg Jaspert [Sun, 2 Mar 2008 23:28:41 +0000 (00:28 +0100)]
Fix en_Ganneff

16 years agoUnindent the reject message
Joerg Jaspert [Sun, 2 Mar 2008 23:00:57 +0000 (00:00 +0100)]
Unindent the reject message

16 years agoFix check logic to work the way apt_pkg.VersionCompare wants it. Also parse "not...
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

16 years agoMake the no-action working
Joerg Jaspert [Sun, 2 Mar 2008 21:11:28 +0000 (22:11 +0100)]
Make the no-action working

16 years agoFix a number of syntax errors. Also do not remove elements from a dict where we itera...
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

16 years agoAdd check_transitions so the yaml file can easily be checked. Make it known to dak
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

16 years agoMove database query in own function in database.py, use it from check-transition
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

16 years agoActually revert the move to daklib.queue, keep it in proces_unchecked.
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.

16 years ago* daklib/queue.py (check_transition): Added in here
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.

16 years agoMerge two checks if we should run or not.
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.

16 years agoPlace ReleaseTransitions where they are expected.
Joerg Jaspert [Sun, 2 Mar 2008 10:23:50 +0000 (11:23 +0100)]
Place ReleaseTransitions where they are expected.

16 years agoAdded a transition check feature for the release team, together with an
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.

16 years agoadd automatic d-i byhand processing
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

16 years agoPending merge
Joerg Jaspert [Wed, 6 Feb 2008 22:01:47 +0000 (23:01 +0100)]
Pending merge

16 years ago[AJ, r=JT] add debian maintainers not able to update any packages and fix packages...
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

16 years ago[AJ, r=JT] fix slice for raw- check
James Troup [Wed, 6 Feb 2008 21:58:54 +0000 (21:58 +0000)]
[AJ, r=JT] fix slice for raw- check

16 years ago[AJ, r=JT] add armel
James Troup [Wed, 6 Feb 2008 21:58:34 +0000 (21:58 +0000)]
[AJ, r=JT] add armel

16 years agokey variable missing for keyexpired reject
Joerg Jaspert [Wed, 6 Feb 2008 21:45:42 +0000 (22:45 +0100)]
key variable missing for keyexpired reject

16 years agoupdate new-security-install and security-install from klecker
Anthony Towns [Tue, 15 Jan 2008 07:36:22 +0000 (07:36 +0000)]
update new-security-install and security-install from klecker

16 years agoupdate security-install.advisory template from klecker
Anthony Towns [Tue, 15 Jan 2008 07:31:56 +0000 (07:31 +0000)]
update security-install.advisory template from klecker

16 years agosync debian-security config from klecker
Anthony Towns [Tue, 15 Jan 2008 07:19:42 +0000 (07:19 +0000)]
sync debian-security config from klecker

16 years agoprocess_unchecked: if embargoed queues are enabled, always embargo
Anthony Towns [Mon, 14 Jan 2008 06:13:57 +0000 (06:13 +0000)]
process_unchecked: if embargoed queues are enabled, always embargo

16 years agoprocess_unchecked: Check for duplicate files in embargoed/unembargoed
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

16 years agoadd src_uploaders creation and permissions to setup
Anthony Towns [Mon, 14 Jan 2008 04:08:54 +0000 (04:08 +0000)]
add src_uploaders creation and permissions to setup

16 years agogrant permissions on keyrings table
Anthony Towns [Mon, 14 Jan 2008 04:01:28 +0000 (04:01 +0000)]
grant permissions on keyrings table

16 years agoadd keyrings table to init_pool sql
Anthony Towns [Mon, 14 Jan 2008 03:58:13 +0000 (03:58 +0000)]
add keyrings table to init_pool sql

16 years agoinitial support for local python extensions
Anthony Towns [Mon, 14 Jan 2008 03:45:03 +0000 (03:45 +0000)]
initial support for local python extensions

16 years agoMerge lintian html fixes
Joerg Jaspert [Mon, 7 Jan 2008 00:09:30 +0000 (01:09 +0100)]
Merge lintian html fixes

16 years agoRemove linda call, linda doesnt provide anything anymore thats not done by lintian
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

16 years agodont escape html chars if not needed
Joerg Jaspert [Sun, 6 Jan 2008 11:46:38 +0000 (12:46 +0100)]
dont escape html chars if not needed

16 years agoLintian now loves html output too
Joerg Jaspert [Sun, 6 Jan 2008 11:24:07 +0000 (12:24 +0100)]
Lintian now loves html output too

16 years agocron.unchecked: don't try doing anything if the daily lock is held
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

16 years ago[AJ, r=JT] fix process-new's handling of check_dsc_against_db() warnings
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

16 years ago[JJ, r=JT] sync
James Troup [Sun, 30 Dec 2007 22:14:51 +0000 (22:14 +0000)]
[JJ, r=JT] sync

16 years agoCall it within queue/new and with *.changes
Joerg Jaspert [Sun, 30 Dec 2007 22:12:34 +0000 (23:12 +0100)]
Call it within queue/new and with *.changes

16 years ago[JJ, r=JT] show-new support
James Troup [Sun, 30 Dec 2007 22:07:23 +0000 (22:07 +0000)]
[JJ, r=JT] show-new support

16 years agos/utils/queue/
Joerg Jaspert [Sun, 30 Dec 2007 22:01:33 +0000 (23:01 +0100)]
s/utils/queue/

16 years agos/µ/u/. Also use daklib.queue for check_valid, its there
Joerg Jaspert [Sun, 30 Dec 2007 21:55:44 +0000 (22:55 +0100)]
s/µ/u/. Also use daklib.queue for check_valid, its there

16 years agoDid a few style fixes. Moved determine_new and friends into daklib/queue. Removed...
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

16 years agoAdd show-new to dak wrapper
Joerg Jaspert [Sun, 30 Dec 2007 21:28:33 +0000 (22:28 +0100)]
Add show-new to dak wrapper

16 years agoWTH does that line come from? removed
Joerg Jaspert [Sun, 30 Dec 2007 21:22:08 +0000 (22:22 +0100)]
WTH does that line come from? removed

16 years agoUse print_escaped_text, not print_formatted_text.
Joerg Jaspert [Sun, 30 Dec 2007 21:19:51 +0000 (22:19 +0100)]
Use print_escaped_text, not print_formatted_text.

16 years agoAdd link from new.html to .html for packages
Joerg Jaspert [Sun, 30 Dec 2007 21:03:53 +0000 (22:03 +0100)]
Add link from new.html to .html for packages

16 years agoAdded show_new and modified examine_package and daklib/utils to make it work
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

16 years agoAdd dak.conf option for show-new, add show-new to cron.hourly
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

16 years ago[JJ, r=JT] drop support for non-US which was last used in Debian for 3.0
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

16 years ago[JJ, r=JT] ignore stderr when finding copyright with dpkg-deb
James Troup [Sun, 30 Dec 2007 19:42:37 +0000 (19:42 +0000)]
[JJ, r=JT] ignore stderr when finding copyright with dpkg-deb

16 years ago[JT] fix indentation
James Troup [Fri, 28 Dec 2007 22:13:34 +0000 (22:13 +0000)]
[JT] fix indentation

16 years ago[JT] sync
James Troup [Fri, 28 Dec 2007 22:10:23 +0000 (22:10 +0000)]
[JT] sync

16 years ago[JJ, r=JT] merge Joerg's outstanding changes.
James Troup [Fri, 28 Dec 2007 22:09:30 +0000 (22:09 +0000)]
[JJ, r=JT] merge Joerg's outstanding changes.

16 years ago[AJ] sync
James Troup [Fri, 28 Dec 2007 21:52:21 +0000 (21:52 +0000)]
[AJ] sync

16 years ago[AJ] add -a/--apt-conf and -f/--force-touch options. Pull version info from the...
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

16 years ago[AJ] comment out version and description for stable. update moreinfourl
James Troup [Fri, 28 Dec 2007 21:51:42 +0000 (21:51 +0000)]
[AJ] comment out version and description for stable.  update moreinfourl

16 years ago[AJ] add hurd-i386 to debian-installer unstable section
James Troup [Fri, 28 Dec 2007 21:51:15 +0000 (21:51 +0000)]
[AJ] add hurd-i386 to debian-installer unstable section

16 years ago[AJ] add -f/--force option
James Troup [Fri, 28 Dec 2007 21:50:55 +0000 (21:50 +0000)]
[AJ] add -f/--force option

16 years ago[AJ] add NOTATION_DATA and NOTATION_NAME to known_keyowrds from gpgv
James Troup [Fri, 28 Dec 2007 21:50:33 +0000 (21:50 +0000)]
[AJ] add NOTATION_DATA and NOTATION_NAME to known_keyowrds from gpgv

16 years ago[AJ] don't auto-reject on warnings
James Troup [Fri, 28 Dec 2007 21:50:09 +0000 (21:50 +0000)]
[AJ] don't auto-reject on warnings

16 years ago[JT] trivial typo in comment
James Troup [Fri, 28 Dec 2007 21:48:10 +0000 (21:48 +0000)]
[JT] trivial typo in comment

16 years agoKEYEXPIRED is a known keyword. We do check its existance earlier on
Joerg Jaspert [Fri, 28 Dec 2007 21:14:27 +0000 (21:14 +0000)]
KEYEXPIRED is a known keyword. We do check its existance earlier on
(and do reject based on it if it has no GOODSIG also).

16 years agoFix examine_packages
Joerg Jaspert [Mon, 24 Dec 2007 18:29:25 +0000 (18:29 +0000)]
Fix examine_packages

16 years agoproperly escape apostrophes in Uploader: fields
Anthony Towns [Fri, 21 Dec 2007 09:22:23 +0000 (09:22 +0000)]
properly escape apostrophes in Uploader: fields

16 years ago[JJ, r=JT] remove check for pre-depend on dpkg >= 1.10.24
James Troup [Fri, 21 Dec 2007 00:09:32 +0000 (00:09 +0000)]
[JJ, r=JT] remove check for pre-depend on dpkg >= 1.10.24

16 years agoRemove the (now useless) check for a pre-depends on dpkg for
Joerg Jaspert [Thu, 20 Dec 2007 23:59:12 +0000 (23:59 +0000)]
Remove the (now useless) check for a pre-depends on dpkg for
binaries that contain bzip2 compressed data tarballs.

16 years agoimport_keyring: add support for creating users from LDAP, so that
Anthony Towns [Wed, 5 Dec 2007 14:06:14 +0000 (14:06 +0000)]
import_keyring: add support for creating users from LDAP, so that
   dak import-keyring -L .../debian-keyring.gpg
can be used as a (non-interactive) replacement for import-ldap-fingerprints

16 years agochanges for DM support
Anthony Towns [Wed, 5 Dec 2007 07:27:13 +0000 (07:27 +0000)]
changes for DM support

16 years agoprocess_unchecked: better support for autobyhand handling (gives script
Anthony Towns [Wed, 5 Dec 2007 07:26:02 +0000 (07:26 +0000)]
process_unchecked: better support for autobyhand handling (gives script
full .changes file, will leave as BYHAND if script fails)

16 years agoprocess_unchecked: fix bug when dealing with unrecognised file types in .dsc Files:
Anthony Towns [Wed, 5 Dec 2007 07:23:26 +0000 (07:23 +0000)]
process_unchecked: fix bug when dealing with unrecognised file types in .dsc Files:

16 years agoexamine_package: Add --show-overrides to lintian invocation, call them
Anthony Towns [Wed, 5 Dec 2007 07:18:36 +0000 (07:18 +0000)]
examine_package: Add --show-overrides to lintian invocation, call them
udebs rather than use fancy characters, add note for exactly matching
copyright files

16 years agocron.hourly: update timestamp on trace file
Anthony Towns [Wed, 5 Dec 2007 07:16:15 +0000 (07:16 +0000)]
cron.hourly: update timestamp on trace file

16 years agocron.daily: automatically bzip2 old backups
Anthony Towns [Wed, 5 Dec 2007 07:15:44 +0000 (07:15 +0000)]
cron.daily: automatically bzip2 old backups

16 years agocron.daily: increase ulimit for distmnt scripts
Anthony Towns [Wed, 5 Dec 2007 07:15:13 +0000 (07:15 +0000)]
cron.daily: increase ulimit for distmnt scripts

16 years agoDon't force-to-latin, just use (and assume) utf8
Anthony Towns [Wed, 5 Dec 2007 07:11:13 +0000 (07:11 +0000)]
Don't force-to-latin, just use (and assume) utf8

16 years agocheck-archive: Provide last_used info for files that aren't present but
Anthony Towns [Wed, 5 Dec 2007 07:09:46 +0000 (07:09 +0000)]
check-archive: Provide last_used info for files that aren't present but
are due to be removed, and make messages clearer

16 years agos/SourceFileList/FileList/
Anthony Towns [Wed, 5 Dec 2007 07:08:39 +0000 (07:08 +0000)]
s/SourceFileList/FileList/