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.
James Troup [Sun, 7 Sep 2003 13:54:20 +0000 (13:54 +0000)]
Move clean_symlink here. New function wrap(). Don't bomb out on bogus blank lines when not using dsc_whitespace_rules. don't bother validating arguments in send_mail. minor improvements to rejection messages in check_signature(). Other minor changes.
Anthony Towns [Mon, 18 Aug 2003 15:04:17 +0000 (15:04 +0000)]
* katie.py (source_exists): expand the list of distributionsthe source may exist in to include any suite that's mapped tothe destination suite (even transitively (a->b->c)). This shouldunbreak binary uploads to *-proposed-updates.
Anthony Towns [Tue, 29 Jul 2003 14:00:39 +0000 (14:00 +0000)]
* katie.py (source_exists): add an extra parameter to limit thedistribution(s) the source must exist in.* kelly, lisa, jennifer: update to use the new source_exists