James Troup [Sat, 27 Nov 2004 17:58:47 +0000 (17:58 +0000)]
2004-08-04 James Troup <james@nocrew.org> * jenna (cleanup): use .setdefault() for dictionaries. (write_filelists): likewise. (write_filelists): Use utils.split_args() not split() to split command line arguments. (stable_dislocation_p): likewise. (write_filelists): Add support for mapping side of suite-based "Arch: all mapping". (do_da_do_da): ensure that if we're not doing all suites that we process enough to be able correct map arch: all packages.
James Troup [Sat, 27 Nov 2004 16:08:21 +0000 (16:08 +0000)]
2004-11-27 James Troup <james@nocrew.org> * cindy (process): restrict "find all packages" queries by component. Respect Options["No-Action"]. (main): add -n/--no-action support. Only run on unstable. Rename type to otype (pychecker).
James Troup [Sat, 27 Nov 2004 16:05:12 +0000 (16:05 +0000)]
2004-11-27 James Troup <james@nocrew.org> * utils.py (validate_changes_file_arg): s/file/filename/. s/fatal/require_changes/. If require_changes is -1, ignore errors and return the .changes filename regardless. * ashley (main): pass require_changes=-1 to utils.validate_changes_file_arg().
James Troup [Sat, 27 Nov 2004 13:32:16 +0000 (13:32 +0000)]
2004-08-04 James Troup <james@nocrew.org> * jennifer (check_files): check for unknown component before checking for NEWness.2004-06-17 James Troup <james@nocrew.org> * jennifer (check_dsc): s/dsc_whitespace_rules/signing_rules/. * tea (check_dscs): likewise. * utils.py (parse_changes): s/dsc_whitespace_rules/signing_rules/, change from boolean to a variable with 3 possible values, 0 and 1 as before, -1 means don't require a signature. Makes parse_changes() useful for parsing arbitary RFC822-style files, e.g. 'Release' files. (check_signature): add support for detached signatures by passing the files the signature is for as an optional third argument. s/filename/sig_filename/g. Add a fourth optional argument to choose the keyring(s) to use. Don't os.path.basename() the sig_filename before checking it for taint. (re_taint_free): allow '/'.
James Troup [Sat, 27 Nov 2004 13:28:16 +0000 (13:28 +0000)]
2004-08-04 James Troup <james@nocrew.org> * melanie (reverse_depends_check): read Packages.gz rather than Packages.2004-06-24 James Troup <james@nocrew.org> * melanie (main): s/file/temp_file/ and close file handle before removing the temporary file. (main): don't warn about needing a --carbon-copy if in no-action mode.
2004-07-12 Daniel Silverstone <dsilvers@digital.org> * billie (main): Make the verbatim lists include all the README elements. * docs/README.names: Add billie in (correcting oversight)
James Troup [Thu, 24 Jun 2004 00:41:39 +0000 (00:41 +0000)]
2004-06-24 James Troup <james@nocrew.org> * melanie (main): s/file/temp_file/ and close file handle before removing the temporary file.2004-06-17 Martin Michlmayr <tbm@cyrius.com> * jeri (pp_dep): moved from here to ... * utils.py (pp_dep): here. * melanie (main): add reverse dependency checking.
James Troup [Wed, 23 Jun 2004 23:11:47 +0000 (23:11 +0000)]
2004-06-24 James Troup <james@nocrew.org> * test/006/test.py (main): check bracketed email-only form. * utils.py (fix_maintainer): if the Maintainer string is bracketed email-only, strip the brackets so we don't end up with <<james@nocrew.org>>.
James Troup [Thu, 17 Jun 2004 15:02:02 +0000 (15:02 +0000)]
2004-06-10 James Troup <james@nocrew.org> * katie.py (Katie.cross_suite_version_check): post-woody versions of python-apt's apt_pkg.VersionCompare() function apparently returns variable integers for less than or greater than results - update our result checking to match. * jenna (resolve_arch_all_vs_any): likewise. * charisma (main): likewise.
James Troup [Thu, 17 Jun 2004 14:59:17 +0000 (14:59 +0000)]
2004-06-11 James Troup <james@nocrew.org> * docs/README.first: clarify that 'alyson' and running add_constraints.sql by hand is something you only want to do if you're not running 'neve'. * docs/README.config (Location::$LOCATION::Suites): document.
James Troup [Tue, 8 Jun 2004 23:31:05 +0000 (23:31 +0000)]
2004-06-09 James Troup <james@nocrew.org> * jennifer (process_it): s/changes_valid/valid_changes_p/. Add valid_dsc_p and don't run check_source() if check_dsc() failed. (check_dsc): on fatal failures return 0 so check_source() isn't run (since it makes fatal assumptions about the presence of mandatory .dsc fields).
James Troup [Tue, 20 Apr 2004 00:08:27 +0000 (00:08 +0000)]
2004-04-20 James Troup <james@nocrew.org> * jennifer (check_files): check for existing .changes or .katie files of the same name in the Suite::<suite>::Copy{Changes,Katie} directories.
James Troup [Mon, 19 Apr 2004 16:04:34 +0000 (16:04 +0000)]
2004-04-19 James Troup <james@nocrew.org> * jennifer (check_source): handle failure to remove the temporary directory (used for source tree extraction) better, specifically: if we fail with -EACCES, chmod -R u+rwx the temporary directory and try again and if that works, REJECT the package.
James Troup [Mon, 19 Apr 2004 15:59:12 +0000 (15:59 +0000)]
2004-04-17 James Troup <james@nocrew.org> * docs/madison.1.sgml: document -b/--binary-type, -g/--greaterorequal and -G/--greaterthan. * madison (usage): -b/--binary-type only takes a single argument. Document -g/--greaterorequal and -G/--greaterthan. (main): add support for -g/--greaterorequal and -G/--greaterthan.
James Troup [Wed, 7 Apr 2004 00:12:13 +0000 (00:12 +0000)]
2004-04-07 James Troup <james@nocrew.org> * katie.py (Katie.check_dsc_against_db): in the case we're ignoring an identical-to-existing orig.tar.gz remember the path to the existent version in pkg.orig_tar_gz. Adjust query to grab location.path too to be able to do so.
James Troup [Sat, 3 Apr 2004 02:49:46 +0000 (02:49 +0000)]
2004-04-03 James Troup <james@nocrew.org> * debian/control (Depends): add python2.1-email | python (>= 2.2) needed for new utils.rfc2047_encode() function. * utils.py (re_parse_maintainer): allow whitespace inside the email address. (Error): new exception base class. (ParseMaintError): new exception class. (force_to_utf8): new function. (rfc2047_encode): likewise. (fix_maintainer): rework. use force_to_utf8() to force name and rfc822 return values to always use UTF-8. use rfc2047_encode() to return an rfc2047 value. Validate the address to catch missing email addresses and (some) broken ones. * katie.py (nmu_p.is_an_nmu): adapt for new utils.fix_maintainer() by adopting foo2047 return value. (Katie.dump_vars): add changedby2047 and maintainer2047 as mandatory changes fields. Promote changes and maintainer822 to mandatory fields. (Katie.update_subst): default maintainer2047 rather than maintainer822. User foo2047 rather than foo822 when setting __MAINTAINER_TO__ or __MAINTAINER_FROM__. * jennifer (check_changes): set default changes["maintainer2047"] and changes["changedby2047"] values rather than their 822 equivalents. Makes changes["changes"] a mandatory field. Adapt to new utils.fix_maintainer() - reject on exception and adopt foo2047 return value. (check_dsc): if a mandatory field is missing don't do any further checks and as a result reduce paranoia about dsc[var] existence. Validate the maintainer field by calling new utils.fix_maintainer(). * ashley (main): add changedby2047 and maintainer2047 to mandatory changes fields. Promote maintainer822 to a mandatory changes field. add "pool name" to files fields. * test/006/test.py: new file - tests for new utils.fix_maintainer().
James Troup [Thu, 1 Apr 2004 17:14:25 +0000 (17:14 +0000)]
2004-04-01 James Troup <james@nocrew.org> * jennifer (get_changelog_versions): create a symlink mirror of the source files in the temporary directory. (check_source): if check_dsc_against_db() couldn't find the orig.tar.gz bail out. * katie.py (Katie.check_dsc_against_db): if the orig.tar.gz is not part of the upload store the path to it in pkg.orig_tar_gz and if it can't be found set pkg.orig_tar_gz to -1. Explicitly return the second value as None in the (usual) case where we don't have to reprocess. Remove obsolete diagnostic logs. * katie.py (Katie.do_reject): use utils.temp_file() and don't import tempfile.2004-03-15 James Troup <james@nocrew.org> * jennifer (check_dsc): check changes["architecture"] for source before we do anything else.2004-03-12 James Troup <james@nocrew.org> * docs/README.config (Dir::Queue::BTSVersionTrack): document. * katie.conf (Dir::Queue::BTSVersionTrack): define. * katie.py (Katie.accept): add support for DebBugs Version Tracking by writing out .versions (generated in jennifer's get_changelog_versions()) and .debinfo (mapping of binary -> source) files. * ashley (main): add dsc["bts changelog"]. * katie.py (Katie.dump_vars): store dsc["bts changelog"] too. * jennifer (check_diff): obsoleted by check_source(), removed. (check_source): new function: create a temporary directory and move into it and call get_changelog_versions(). (get_changelog_versions): new function: extract the source package and optionally parse debian/changelog to obtain the version history for the BTS. (process_it): call check_source() rather than check_diff().
James Troup [Thu, 11 Mar 2004 00:20:51 +0000 (00:20 +0000)]
2004-02-27 James Troup <james@nocrew.org> * rose (process_tree): use 'if var in [ list ]' rather than long 'if var == foo or var == bar or var == baz'. Suggested by Martin Michlmayr. * jennifer (check_files): reduce 'if var != None' to 'if var' as suggested by Martin Michlmayr. * catherine (poolize): likewise. * charisma (main): likewise. * halle (check_changes): likewise. * heidi (main): likewise. (process_file): likewise. * kelly (install): likewise. (stable_install): likewise. * utils.py (fix_maintainer): likewise.
James Troup [Thu, 11 Mar 2004 00:14:32 +0000 (00:14 +0000)]
2004-03-08 James Troup <james@nocrew.org> * lisa (edit_index): Fix logic swapo from 'use "if varfoo in listbar" rather than "if listbar.count(varfoo)"' change on 2004-02-24.
pseudo-packages.maintainers (ftp.debian.org): Changed the maintainer to be ftpmaster@ftp-master.debian.org to bring it into line with how the dak tools close bugs.
* katie.conf (Alicia): Added an Alicia section with email address * templates/alicia.bug-close: Added * docs/alicia.1.sgml: Added the docs for the -d/--done argument * alicia (main): Added a -d/--done argument
* lisa (prod_maintainer): Added function to prod the maintainer without accepting or rejecting the package * templates/lisa.prod: Added this template for the prodding mail * .cvsignore: Added neve-files which turns up in new installations
* alicia (usage): Fixed usage message to offer section and priority as seperately optional arguments. * alicia (main): Added a % (arg) interpolation needed when only one of section or priority is provided and it cannot be found.
* alicia: Added * docs/alicia.1.sgml: Added * docs/Makefile: Added alicia to the list of manpages to build * docs/README.names: Noted what alicia does * docs/README.first: Noted where alicia is useful
James Troup [Wed, 21 Jan 2004 03:22:23 +0000 (03:22 +0000)]
2004-01-04 James Troup <james@nocrew.org> * jenna (write_filelists): correct typo, s/Components/Component/ for Options.2003-11-20 James Troup <james@nocrew.org> * jenna (main): don't use utils.try_with_debug(), it produces way too much output.
James Troup [Wed, 21 Jan 2004 03:20:52 +0000 (03:20 +0000)]
2004-01-21 James Troup <james@nocrew.org> * utils.py (parse_changes): don't process data not inside the signed data. Thanks to Andrew Suffield <asuffield@debian.org> for pointing this out. * test/005/test.py (main): new test to test for above.