Anthony Towns [Mon, 5 Dec 2005 03:45:12 +0000 (03:45 +0000)]
* katie.py: Move accept() autobuilding support into separate function (queue_build), and generalise to build different queues * db_access.py: Add get_or_set_queue_id instead of hardcoding accepted=0 * jennifer: Initial support for enabling embargo handling with the Dinstall::SecurityQueueHandling option. * jennifer: Shift common code into remove_from_unchecked and move_to_dir functions. * katie.conf-security: Include embargo options * init_pool.sql-security: Create disembargo table
Anthony Towns [Sat, 26 Nov 2005 07:52:06 +0000 (07:52 +0000)]
Merge of changes from klecker, by various peopleamber: special casing for not passing on amd64 and oldstable updatesamber: security mirror triggeringtemplates/amber.advisory: updated advisory structureapt.conf.buildd-security: update for sarge's releaseapt.conf-security: update for sarge's releasecron.buildd-security: generalise suite support, update for sarge's releasecron.daily-security: update for sarge's release, add udeb supportvars-security: update for sarge's releasekatie.conf-security: update for sarge's release, add amd64 support,update signing keydocs/README.names, docs/README.quotes: include the additions
Ryan Murray [Sun, 10 Jul 2005 18:07:42 +0000 (18:07 +0000)]
packages that make it to $foo-proposed-updates that are still in securitywill not be built, as the security build should be finished and uploadedfirst.remove non-US support.remove "sh" support.
James Troup [Tue, 18 Jan 2005 22:18:55 +0000 (22:18 +0000)]
2005-01-18 James Troup <james@nocrew.org> * katie.py (Katie.build_summaries): avoid leaking file handle when extracting package description. (Katie.force_reject): remember and close each file descriptor we use. (Katie.do_reject): s/file/temp_fh/ to avoid pychecker warning. s/reason_file/reason_fd/ because it's a file descriptor. (Katie.check_dsc_against_db): avoid leaking file handle whenever invoking apt_pkg.md5sum().
James Troup [Tue, 18 Jan 2005 22:18:31 +0000 (22:18 +0000)]
2005-01-18 James Troup <james@nocrew.org> * jennifer (check_deb_ar): new function: sanity check the ar contents of a .deb. (check_files): use it. (check_timestamps): check for data.tar.bz2 if data.tar.gz can't be found. (check_files): accept 'raw-installer' as an alias for 'byhand'.
Anthony Towns [Fri, 14 Jan 2005 14:07:17 +0000 (14:07 +0000)]
2005-01-14 Anthony Towns <ajt@debian.org> * kelly: when UNACCEPTing, don't double up the "Rejecting:" * propup stuff (thanks to Andreas Barth) * katie.conf: add stable MustBeOlderThan testing, add -security propup * jennifer: set distribution-version in .katie if propup may be needed * katie.py: add propogation to cross_suite_version_check
James Troup [Sat, 27 Nov 2004 18:12:57 +0000 (18:12 +0000)]
2004-11-27 James Troup <james@nocrew.org> * utils.py (re_no_epoch): s/\*/+/ as there must be a digit in an epoch. (re_no_revision): don't escape '-', it's not a special character. s/\*/+/ as there must be at least one non-dash character after the dash in a revision. Thanks to Christian Reis for noticing both of these.2004-09-20 James Troup <james@nocrew.org> * melanie (reverse_depends_check): retrieve component information too and display it if it's not 'main'. * utils.py (pp_dep): renamed... (pp_deps): ... to this. * jeri (check_dep): update calls to utils.pp_deps(). * melanie (reverse_depends_check): likewise.2004-08-04 James Troup <james@nocrew.org> * utils.py (cant_open_exc): correct exception string, s/read/open/, s/.$//.2004-06-20 James Troup <james@nocrew.org> * utils.py (changes_compare): if there's no changes["version"] use "0" rather than None. (Avoids a crash on unsigned changes file.)
James Troup [Sat, 27 Nov 2004 18:03:11 +0000 (18:03 +0000)]
2004-09-20 James Troup <james@nocrew.org> * tea (check_override): underline suite name in output properly. (validate_packages): read a compressed Packages file.
James Troup [Sat, 27 Nov 2004 17:59:47 +0000 (17:59 +0000)]
2004-10-05 James Troup <james@nocrew.org> * jennifer (check_dsc): correct reject message on invalid Maintainer field.2004-09-20 James Troup <james@nocrew.org> * jennifer (check_changes): move initalization of email variables from here... (process_it): ...to here as we no longer always run check_changes(). Don't bother to initialize changes["architecture"].2004-06-20 James Troup <james@nocrew.org> * jennifer (process_it): only run check_changes() if check_signature() returns something. (Likewise)
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().