]> git.decadent.org.uk Git - dak.git/blob - ChangeLog
[rmurray] handle multiple orig.tar.gz's in check_dsc_against_db
[dak.git] / ChangeLog
1 2007-02-08  Anthony Towns  <ajt@debian.org>
2
3         * daklib/queue.py (Upload.build_summaries): handle files without a
4         'type' gracefully.
5
6         * dak/generate_releases.py (print_sha256_files): new function.
7         (main): use it.
8
9         * dak/process_accepted.py (stable_install): fix name of template
10         mail.
11
12         * dak/process_unchecked.py (is_stableupdate): fix invocation of
13         database.get_suite_id().
14
15         * templates/process-new.bxa_notification: Update on request
16         of/after discussion with BIS staff.
17
18         * scripts/debian/mkfilesindices: also handle proposed-updates.
19
20 2007-02-08  Ryan Murray  <rmurray@debian.org>
21
22         * daklib/queue.py (Upload.check_dsc_against_db): handle multiple
23         orig.tar.gz's by picking the first one by file id.
24
25         * dak/override.py (main): limit to binary overrides only for now.
26         (usage): update to match.
27
28         * config/debian/cron.daily: track when we have the accepted lock
29         and clean it up on exit if we have it.  Take/check the
30         cron.unchecked lock just before traping to cleanup on exit.
31         Remove potato override handling.  Remove any dangling symlinks in
32         /srv/incoming.d.o/buildd.  Clean up apt-ftparchive's databases.
33
34         * config/debian/apt.conf: change default compression scheme for
35         both Sources and Packages to gzip and bzip2 rather than
36         uncompressed and gzip (Packages) and gzip (Sources).  Use old
37         defaults for proposed-updates.
38
39         * dak/control_overrides.py (main): refuse to operate on
40         untouchable suites.
41
42         * config/debian/pseudo-packages.maintainers: drop install,
43         installation, boot-floppy, slink-cd, potato-cd and
44         nonus.debian.org.  Update base.
45         * config/debian/pseudo-packages.description: likewise.
46
47         * daklib/utils.py (re_srchasver): new regex.
48         (parse_changes): use regex to split 'Source (Version)' style
49         Source fields into 'source' and 'source-version'.
50
51         * config/debian/cron.daily: use $base instead of hardcoding path
52         name.
53
54         * scripts/debian/mkfilesindices: source 'vars' file and use it's
55         variables instead of hardcoding path names.
56
57         * config/debian/apt.conf: switch from /org to /srv.
58         * config/debian/apt.conf.buildd: likewise.
59         * config/debian/apt.conf.stable: likewise.
60         * config/debian/cron.daily: likewise.
61         * config/debian/cron.hourly: likewise.
62         * config/debian/cron.monthly: likewise.
63         * config/debian/cron.unchecked: likewise.
64         * config/debian/cron.weekly: likewise.
65         * config/debian/dak.conf: likewise.
66         * config/debian/vars: likewise.
67         * scripts/debian/mkfilesindices: likewise.
68         
69 2007-02-08  James Troup  <james@nocrew.org>
70
71         * dak/process_unchecked.py (check_signed_by_key): new function to
72         ensure .changes files are signed by an authorized uploader.
73         (process_it): use it.
74
75         * config/debian/dak.conf (Binary-Upload-Restrictions): new stanza
76         to configure per suite/component/architecture binary upload
77         restrictions.
78
79 2006-10-09  James Troup  <james.troup@canonical.com>
80
81         * dak/process_unchecked.py (check_timestamps): change match to
82         search as recent versions of python-apt prefix the string with 'E: '.
83
84 2006-06-26  Ryan Murray  <rmurray@debian.org>
85
86         * dak/process_unchecked.py (check_files): strip optional source version
87         from Source: field in changes file, and ensure what is left is a valid
88         package name.
89
90 2006-06-23  Ryan Murray  <rmurray@debian.org>
91
92         * dak/process_unchecked.py (check_files): also check ProposedUpdates
93         queue for source.
94
95 2006-06-18  Ryan Murray  <rmurray@debian.org>
96
97         * dak/scripts/debian/update-ftpstats: look for dak named processes in
98         the log, too.
99
100         * dak/process_unchecked.py (check_files): only check embargoed and
101         unembargoed queues if the keys are set.
102
103         * dak/config/debian-security/apt.conf: set Packages::Compress to gzip
104         and bzip2 for etch.
105
106 2006-06-16  James Troup  <james@nocrew.org>
107
108         * dak/dak.py (init): add new-security-install.
109
110         * dak/new_security_install.py: cleanups and adapt for new naming
111         scheme and other changes.
112
113 2006-06-16  Anthony Towns  <ajt@debian.org>
114
115         * dak/new_security_install.py: initial version imported from
116         klecker.
117
118 2006-06-16  James Troup  <james@nocrew.org>
119
120         [Merged changes from klecker - original author unknown.]
121
122         * daklib/queue.py (Upload.dump_vars): also save changes["adv id"].
123
124         * dak/security_install.py (do_upload): fix check for oldstable and
125         upload file list handling.
126
127         * dak/process_unchecked.py (check_files): update "check for
128         source" code to also look in Embargoed and Unembargoed queues.
129         (is_unembargo): fix handling of Dir::Queue::Disembargo.
130
131         * dak/decode_dot_dak.py (main): add support for changes["adv id"].
132
133         * config/debian-security/vars (disembargo): add.
134
135         * config/debian-security/dak.conf (Dinstall::SigningKeyIds):
136         update.
137         (Process-Unchecked::AcceptedLockFile): add.
138         (Suite::Testing): clean up Version and Description.
139         (SuiteMappings): add silent map from etch-secure to testing.
140
141         * config/debian-security/cron.unchecked: add support for
142         disembargoed queues.
143
144         * config/debian-security/apt.conf.buildd: add bzip2ed Packages
145         files too.
146
147         * config/debian-security/apt.conf: add amd64 to architectures for
148         testing-security.
149
150 2006-06-11  James Troup  <troup@spohr.debian.org>
151
152         * config/debian/cron.daily: invoke process-accepted not
153         process-unchecked.
154
155         * config/debian/vars (scriptsdir): new variable.
156         * config/debian/cron.daily: use it.
157
158         * scripts/debian/mkmaintainers: put Maintainers_Versions-non-US in
159         $base/misc/ instead of versioned $masterdir.  Correct 'dak
160         make-maintainers' invocation to look in $configdir for
161         pseudo-packages.maintainers.
162
163         * daklib/queue.py (Upload.do_reject): use correct name for
164         rejection template.
165
166 2006-06-11  James Troup  <james@nocrew.org>
167
168         * dak/override.py (main): temporarily add content of old X-Katie
169         header back as the PTS apparently filters on it.
170         * dak/process_accepted.py (main): likewise.
171         * dak/process_new.py (main): likewise.
172         * dak/process_unchecked.py (main): likewise.
173         * dak/reject_proposed_updates.py (main): likewise.
174         * dak/rm.py (main): likewise.
175         * daklib/queue.py (Upload.do_reject): likewise.
176
177         * config/debian/cron.unchecked: set -u to error out on undefined
178         variables.  Preset LOCKDAILY to "" accordingly.
179         * config/debian/cron.hourly: likewise.
180         * config/debian/cron.monthly: likewise.
181         * config/debian/cron.weekly: likewise.
182
183         * config/debian/vars (configdir): add new variable pointing to
184         this directory.
185
186         * config/debian/cron.daily: use $configdir inplace of $masterdir
187         when that's what we mean, and don't cd into $masterdir just to run
188         dak scripts as we don't need to do that anymore.
189         * config/debian/cron.hourly: likewise.
190         * config/debian/cron.unchecked: likewise.
191         * config/debian/cron.weekly: likewise.
192
193         * config/debian/dak.conf
194         (Import-Users-From-Passwd::KnownPostgres): temporarily add 'katie'
195         user back to list of known users as it's non-trivial to entirely
196         change the owner of a database with postgresql 7.4.
197
198         * daklib/queue.py (Upload.source_exists): use string object
199         methods rather than string module.
200         (Upload.get_anyversion): likewise.
201
202         * daklib/utils.py (validate_changes_file_arg): update filename
203         slicing to cope with new .dak filenames.
204
205         * dak/ls.py (main): add back 'heidi' as a valid argument for
206         -f/--format as people are using it in scripts and breaking that
207         without warning seems rude.
208
209 2006-05-21  James Troup  <james@nocrew.org>
210
211         * dak/rm.py (main): use string .isdigit() rather than
212         utils.str_isnum().
213         * dak/process_new.py (edit_overrides): likewise.
214
215         * daklib/utils.py (str_isnum): removed accordingly.  Also drop
216         string import.
217
218 2006-05-21  James Troup  <james@nocrew.org>
219
220         * dak/check_archive.py (check_indices_files_exist): use list
221         comprehension instead of map().  No longer need to import
222         deprecated string module as a side-effect.
223         * dak/check_overrides.py (process): likewise.
224         (main): likewise.
225         * dak/cruft_report.py (do_obsolete_source): likewise.
226         (main): likewise.
227         * dak/ls.py (main): likewise.
228         * dak/make_suite_file_list.py (write_filelists): likewise.
229         * dak/process_accepted.py (stable_install): likewise.
230         * dak/rm.py (main): likewise.
231         * dak/stats.py (number_of_packages): likewise.
232         * daklib/logging.py (Logger.log): likewise.
233         * daklib/queue.py (Upload.source_exists): likewise.
234         (Upload.cross_suite_version_check): likewise.
235         * daklib/utils.py (parse_args): likewise.
236
237 2006-05-21  James Troup  <james@nocrew.org>
238
239         * daklib/utils.py (process_gpgv_output): new function, split out
240         of check_signature().
241         (check_signature): adapt accordingly.
242         (retrieve_key): new function that will try to retrieve the key
243         that signed a given file from a keyserver.
244         (check_signature): add 'autofetch' argument that if not set
245         defaults to the value of Dinstall::KeyAutoFetch (if that exists).
246         If 'autofetch' is true, invoke retrieve_key().  
247
248         * docs/README.config: document Dinstall::KeyAutoFetch and
249         Dinstall:KeyServer.
250
251 2006-05-20  James Troup  <james@nocrew.org>
252
253         * dak/find_null_maintainers.py (main):
254         s/createtimestamp/createTimestamp/ to make things work with modern
255         slapd.
256
257         * config/debian/dak.conf: Update StableRejector, MoreInfoURL,
258         Stable::Version and Stable::Description for 3.1r2.
259
260         * config/debian-non-US/dak.conf: sync with klecker - update
261         version number of 3.0 and MoreInfoURL.
262
263         * docs/README.stable-point-release: Add notes about updating
264         dak.conf and Reject-Proposed-Updates section in particular.
265         s/woody/stable/.  Also need to update README.html.
266
267         * scripts/debian/mklslar: drop support for uncompressed ls-lR file.
268
269         * config/debian/apt.conf: Add udeb tree for proposed-updates.
270
271 2006-05-20  Ryan Murray  <rmurray@debian.org>
272
273         * scripts/debian/update-ftpstats: new script to update daily
274         architecture size graph data.
275
276         * config/debian/cron.buildd: sync with spohr - due to ftp-master /
277         buildd split, simply ssh to buildd.d.o and call 'trigger.often'
278         there.
279
280         * config/debian/cron.daily: ssh to buildd and run 'trigger.daily'
281         before we finish.  Don't push to merkel.
282
283         * dak/process_unchecked.py (check_changes): Also look in
284         ProposedUpdates queue dir.
285         (check_files): likewise.
286
287 2006-05-20  Anthony Towns  <ajt@debian.org>
288
289         * scripts/debian/mkfilesindices: new script to generate file
290         indices used for partial mirroring.
291
292         * config/debian/cron.daily: add progress timestamps.
293
294         * config/debian/dak.conf: update Dinstall::SigningKeyIds. Add
295         amd64 to testing, unstable and experimental.  Drop sh from
296         experimental.  Move Experimental to dists/experimental.  Add
297         Dir::ProposedUpdates.  Add Architectures::amd64.
298
299         * config/debian/apt.conf: add amd64 to testing, unstable and
300         experimental.  Drop uncompressed Packages files from testing. Drop
301         sh from experimental.  Move experimental to dists/experimental/.
302
303         * config/debian/vars (archs): add amd64.
304
305         * dak/process_unchecked.py (action): Add support for
306         proposed-updates approval queue.
307         (is_stableupdate): new function - checks if the upload is targeted
308         at proposed-updates.
309         (do_stableupdate): likewise - moves upload to proposed-updates
310         holding area.
311
312         * dak/process_new.py (do_new): warn if original or new target
313         suite are invalid.
314
315         * dak/generate_releases.py (print_md5sha_files): less whitespace
316         between the hash and size.
317
318         * dak/generate_index_diffs.py (genchanges): don't say we're not
319         doing anything.  Better formatting of other messages.
320         (main): don't skip experimental and remove some 'doing stuff'
321         prints.
322
323 2006-05-18  James Troup  <james@nocrew.org>
324
325         * dak/clean_suites.py (clean_binaries): remove debug print of SQL
326         query.
327
328         * dak/init_dirs.py: pylint cleanups - long lines, unused globals,
329         docstrings, untabify, don't shadow builtins, lowercase non-global
330         variable names, spaces after commas.  Also bail if given any
331         arguments since we don't accept any.
332         * dak/init_db.py: likewise.  Also split large main() into
333         subfunctions and rename get() to sql_get().
334
335         * dak/init_db.py (main): check returned value from
336         database.get_archive_id().
337
338         * dak/dak.py: renamed from shell.py.  Update to support new source
339         layout.  Created init() and usage() functions.  Various
340         pylint-inspired cleanups.  Use daklib utils.warn() and
341         utils.fubar().  Change 'functionality' variable to only have
342         (command, description) and always invoke main() when running the
343         module.  Also support -h.
344
345 2006-05-17  James Troup  <james@nocrew.org>
346
347         * dak/check_archive.py: remove $Id$ and $Revision$ strings.  Update
348         imports of and calls to daklib modules.  Change script name
349         everywhere, i.e. in output, mails, comments and configuration tree
350         + filenames.  Also update references to other renamed scripts,
351         classes and templates.  Use '.dak' instead of '.katie' for the
352         queue info storage files.
353         (Renamed from tea)
354         * dak/check_overrides.py: likewise.  (Renamed from cindy)
355         * dak/check_proposed_updates.py: likewise.  (Renamed from jeri)
356         * dak/clean_proposed_updates.py: likewise.  (Renamed from halle)
357         * dak/clean_queues.py: likewise.  (Renamed from shania)
358         * dak/clean_suites.py: likewise.  (Renamed from rhona)
359         * dak/compare_suites.py: likewise.  (Renamed from andrea)
360         * dak/control_overrides.py: likewise.  (Renamed from natalie)
361         * dak/control_suite.py: likewise.  (Renamed from heidi)
362         * dak/cruft_report.py: likewise.  (Renamed from rene)
363         * dak/decode_dot_dak.py: likewise.  (Renamed from ashley)
364         * dak/find_null_maintainers.py: likewise.  (Renamed from rosamund)
365         * dak/generate_index_diffs.py: likewise.  (Renamed from tiffani)
366         * dak/generate_releases.py: likewise.  (Renamed from ziyi)
367         * dak/import_archive.py: likewise.  (Renamed from neve)
368         * dak/import_ldap_fingerprints.py: likewise. (Renamed from emilie)
369         * dak/import_users_from_passwd.py: likewise. (Renamed from julia)
370         * dak/init_db.py: likewise. (Renamed from alyson)
371         * dak/init_dirs.py: likewise. (Renamed from rose)
372         * dak/ls.py: likewise. (Renamed from madison)
373         * dak/make_maintainers.py: likewise.  (Renamed from charisma)
374         * dak/make_overrides.py: likewise.  (Renamed from denise)
375         * dak/make_suite_file_list.py: likewise.  (Renamed from jenna)
376         * dak/mirror_split.py: likewise.  (Renamed from billie)
377         * dak/override.py: likewise.  (Renamed from alicia)
378         * dak/poolize.py: likewise.  (Renamed from catherine)
379         * dak/process_accepted.py: likewise.  (Renamed from kelly)
380         * dak/process_new.py: likewise.  (Renamed from lisa)
381         * dak/process_unchecked.py: likewise.  (Renamed from jennifer)
382         * dak/queue_report.py: likewise.  (Renamed from helena)
383         * dak/reject_proposed_updates.py: likewise.  (Renamed from lauren)
384         * dak/rm.py: likewise.  (Renamed from melanie)
385         * dak/security_install.py: likewise.  (Renamed from amber)
386         * dak/split_done.py: likewise.  (Renamed from nina)
387         * dak/stats.py: likewise.  (Renamed from saffron)
388         * dak/symlink_dists.py: likewise.  (Renamed from saffron)
389         * daklib/database.py: likewise.  (Renamed from db_access)
390         * daklib/queue.py: likewise.  'Katie' class -> 'Upload'. (Renamed from katie)
391         * daklib/utils.py: likewise.
392
393         * dak/cruft_report.py: Use '[auto-cruft]' as the magic "this removal
394         doesn't need to notify anyone" string.
395         * dak/rm.py: likewise, look for '[auto-cruft]' as the magic string.
396
397         * dak/process_accepted.py (init): drop -V/--version argument.
398         * dak/process_new.py (init): likewise.
399         * dak/process_unchecked.py (init): likewise.
400         * dak/reject_proposed_updates.py (init): likewise
401
402         * dak/shell.py: Renamed from dak.  ".katie" -> ".dak"
403
404         * dak/stats.py: in usage() output change STAT to MODE.
405
406 2006-05-15  James Troup  <james@nocrew.org>
407
408         * dak/queue_report.py: remove unused encodings imports.
409
410         * dak/mirror_split.py: drop unused pg, pwd, db_access and logging
411         imports.  Initalize 'Cnf' as a global.
412         (BillieDB._internal_recurse): fix 'util.' typo.
413
414         * dak/import_ldap_fingerprints.py (main): drop unused time import and
415         commented out time check for LDAP search.
416
417 2005-12-16  Ryan Murray  <rmurray@debian.org>
418
419         * halle: add support for udebs
420         * kelly: stable_install: add support for binNMU versions
421
422 2005-12-05  Anthony Towns  <aj@erisian.com.au>
423
424         * katie.py: Move accept() autobuilding support into separate function 
425         (queue_build), and generalise to build different queues
426
427         * db_access.py: Add get_or_set_queue_id instead of hardcoding accepted=0
428
429         * jennifer: Initial support for enabling embargo handling with the
430         Dinstall::SecurityQueueHandling option.
431         * jennifer: Shift common code into remove_from_unchecked and move_to_dir
432         functions.
433
434         * katie.conf-security: Include embargo options
435         * katie.conf-security: Add Lock dir
436         * init_pool.sql-security: Create disembargo table
437         * init_pool.sql-security: Add constraints for disembargo table
438
439 2005-11-26  Anthony Towns  <aj@erisian.com.au>
440
441         * Merge of changes from klecker, by various people
442
443         * amber: special casing for not passing on amd64 and oldstable updates
444         * amber: security mirror triggering
445         * templates/amber.advisory: updated advisory structure
446         * apt.conf.buildd-security: update for sarge's release
447         * apt.conf-security: update for sarge's release
448         * cron.buildd-security: generalise suite support, update for sarge's release
449         * cron.daily-security: update for sarge's release, add udeb support
450         * vars-security: update for sarge's release
451         * katie.conf-security: update for sarge's release, add amd64 support,
452         update signing key
453
454         * docs/README.names, docs/README.quotes: include the additions
455
456 2005-11-25  Anthony Towns  <aj@erisian.com.au>
457
458         * Changed accepted_autobuild to queue_build everywhere.
459         * Add a queue table.
460         * Add a "queue" field in the queue_build table (currently always 0)
461
462         * jennifer: Restructure to make it easier to support special
463         purpose queues between unchecked and accepted.
464
465 2005-11-25  Anthony Towns  <aj@erisian.com.au>
466
467         * Finishing merge of changes from spohr, by various people still
468
469         * jennifer: If changed-by parsing fails, set variables to "" so REJECT
470         works
471         * jennifer: Re-enable .deb ar format checking
472         * katie.py: Convert to +bX binNMU special casing
473         * rhona: Add some debug output when deleting binaries
474         * cron.daily: Add emilie
475         * cron.unchecked: Add lock files
476
477 2005-11-15  Anthony Towns  <aj@erisian.com.au>
478
479         * Merge of changes from spohr, by various people.
480
481         * tiffani: new script to do patches to Packages, Sources and Contents
482         files for quicker downloads.
483         * ziyi: update to authenticate tiffani generated files
484
485         * dak: new script to provide a single binary with less arbitrary names
486         for access to dak functionality.
487
488         * cindy: script implemented
489
490         * saffron: cope with suites that don't have a Priority specified
491         * heidi: use get_suite_id()
492         * denise: don't hardcode stable and unstable, or limit udebs to unstable
493         * denise: remove override munging for testing (now done by cindy)
494         * helena: expanded help, added new, sort and age options, and fancy headers
495         * jennifer: require description, add a reject for missing dsc file
496         * jennifer: change lock file
497         * kelly: propogation support
498         * lisa: honour accepted lock, use mtime not ctime, add override type_id
499         * madison: don't say "dep-retry"
500         * melanie: bug fix in output (missing %)
501         * natalie: cope with maintainer_override == None; add type_id for overrides
502         * nina: use mtime, not ctime
503
504         * katie.py: propogation bug fixes
505         * logging.py: add debugging support, use | as the logfile separator
506
507         * katie.conf: updated signing key (4F368D5D)
508         * katie.conf: changed lockfile to dinstall.lock
509         * katie.conf: added Lisa::AcceptedLockFile, Dir::Lock
510         * katie.conf: added tiffani, cindy support
511         * katie.conf: updated to match 3.0r6 release
512         * katie.conf: updated to match sarge's release
513
514         * apt.conf: update for sarge's release
515         * apt.conf.stable: update for sarge's release
516         * apt.conf: bump daily max Contents change to 25MB from 12MB
517
518         * cron.daily: add accepted lock and invoke cindy  
519         * cron.daily: add daily.lock
520         * cron.daily: invoke tiffani
521         * cron.daily: rebuild accepted buildd stuff
522         * cron.daily: save rene-daily output on the web site
523         * cron.daily: disable billie
524         * cron.daily: add stats pr0n
525
526         * cron.hourly: invoke helena
527
528         * pseudo-packages.maintainers,.descriptions: miscellaneous updates
529         * vars: add lockdir, add etch to copyoverrides
530         * Makefile: add -Ipostgresql/server to CXXFLAGS
531
532         * docs/: added README.quotes
533         * docs/: added manpages for alicia, catherine, charisma, cindy, heidi,
534         julia, katie, kelly, lisa, madison, melanie, natalie, rhona.
535
536         * TODO: correct spelling of "conflicts"
537
538 2005-05-28  James Troup  <james@nocrew.org>
539
540         * helena (process_changes_files): use MTIME rather than CTIME (the
541         C's not for 'creation', stupid).
542         * lisa (sort_changes): likewise.
543
544         * jennifer (check_distributions): use has_key rather than an 'in'
545         test which doesn't work with python2.1.  [Probably by AJ]
546
547 2005-03-19  James Troup  <james@nocrew.org>
548
549         * rene (main): use Suite::<suite>::UdebComponents to determine
550         what components have udebs rather than assuming only 'main' does.
551
552 2005-03-18  James Troup  <james@nocrew.org>
553
554         * utils.py (rfc2047_encode): use codecs.lookup() rather than
555         encodings.<encoding>.Codec().decode() as encodings.utf_8 no longer
556         has a Codec() module in python2.4.  Thanks to Andrew Bennetts
557         <andrew@ubuntu.com>.
558
559 2005-03-06  Joerg Jaspert  <ganneff@debian.org>
560
561         * helena: add -n/--new HTML output option and improved sorting
562         options.
563
564 2005-03-06  Ryan Murray  <rmurray@debian.org>
565
566         * shania(main): use Cnf::Dir::Reject instead of REJECT
567
568 2005-02-08  James Troup  <james@nocrew.org>
569
570         * rene (main): add partial NBS support by checking that binary
571         packages are built by their real parent and not some random
572         stranger.
573         (do_partial_nbs): likewise.
574
575 2005-01-18  James Troup  <james@nocrew.org>
576
577         * katie.py (Katie.build_summaries): avoid leaking file handle when
578         extracting package description.
579         (Katie.force_reject): remember and close each file descriptor we
580         use.
581         (Katie.do_reject): s/file/temp_fh/ to avoid pychecker warning.
582         s/reason_file/reason_fd/ because it's a file descriptor.
583         (Katie.check_dsc_against_db): avoid leaking file handle whenever
584         invoking apt_pkg.md5sum().
585
586         * jennifer (check_deb_ar): new function: sanity check the ar
587         contents of a .deb.
588         (check_files): use it.
589         (check_timestamps): check for data.tar.bz2 if data.tar.gz can't be
590         found.
591         (check_files): accept 'raw-installer' as an alias for 'byhand'.
592
593 2005-01-14  Anthony Towns  <ajt@debian.org>
594
595         * kelly: when UNACCEPTing, don't double up the "Rejecting:"
596
597         * propup stuff (thanks to Andreas Barth)
598         * katie.conf: add stable MustBeOlderThan testing, add -security
599           propup
600         * jennifer: set distribution-version in .katie if propup may be needed
601         * katie.py: add propogation to cross_suite_version_check
602
603 2004-11-27  James Troup  <james@nocrew.org>
604
605         * nina: new script to split monolithic queue/done into date-based
606         hierarchy.
607
608         * rene (usage): document -s/--suite.
609         (add_nbs): use .setdefault().
610         (do_anais): likewise.
611         (do_nbs): don't set a string to "" and then += it.
612         (do_obsolete_source): new function - looks for obsolete source
613         packages (i.e source packages whose binary packages are ALL a)
614         claimed by someone else and b) newer when built from the other
615         source package).
616         (main): support -s/--suite.  Add 'obsolete source' to both 'daily'
617         and 'full' check modes.  Check for obsolete source packages.
618         linux-wlan-ng has been fixed - remove hideous bodge.
619
620         * jennifer (check_distributions): support 'reject' suite map type.
621
622         * utils.py (validate_changes_file_arg): s/file/filename/.
623         s/fatal/require_changes/.  If require_changes is -1, ignore errors
624         and return the .changes filename regardless.
625         (re_no_epoch): s/\*/+/ as there must be a digit in an epoch.
626         (re_no_revision): don't escape '-', it's not a special character.
627         s/\*/+/ as there must be at least one non-dash character after the
628         dash in a revision.  Thanks to Christian Reis for noticing both of
629         these.
630
631         * ashley (main): pass require_changes=-1 to
632         utils.validate_changes_file_arg().
633
634         * pseudo-packages.maintainers (kernel): switch to 'Debian Kernel
635         Team <debian-kernel@lists.debian.org>'.
636
637         * katie.py (Katie.in_override_p): fix .startswith() usage.
638
639         * katie.conf (Dinstall::DefaultSuite): add as 'unstable'.
640         (Lauren::MoreInfoURL): update to 3.0r3.
641         (Suite::Stable::Version): likewise.
642         (Suite::Stable::Description): likewise.
643
644         * cron.daily: disable automatic task override generation.
645
646         * cindy (process): restrict "find all packages" queries by
647         component.  Respect Options["No-Action"].
648         (main): add -n/--no-action support.  Only run on unstable.  Rename
649         type to otype (pychecker).
650
651 2004-11-27  Daniel Silverstone  <dsilvers@digital-scurf.org>
652
653         * katie.conf (Billie::BasicTrees): add all architectures.
654         (Billie::CombinationTrees): remove 'welovehp' and 'embedded', add
655         'everything'.
656
657         * cron.daily: Update a 'current' symlink when creating the
658         post-daily-cron-job database backup to aid mirroring to merkel.
659         Run billie.
660
661         * billie (BillieTarget.poolish_match): handle .udeb too.
662
663 2004-10-13  Ryan Murray  <rmurray@debian.org>
664
665         * amber (do_upload): Sort changes files in "katie" order so that
666           source always arrives before binary-only rebuilds
667         
668 2004-10-05  James Troup  <james@nocrew.org>
669
670         * jennifer (check_dsc): correct reject message on invalid
671         Maintainer field.
672
673 2004-09-20  James Troup  <james@nocrew.org>
674
675         * alicia: remove unused 'pwd' import.
676
677         * tea (check_override): underline suite name in output properly.
678
679         * rene (main): read a compressed Packages file.
680         * tea (validate_packages): likewise.
681
682         * katie.py (re_fdnic): add 'r' prefix.
683         (re_bin_only_nmu_of_mu): likewise.
684         (re_bin_only_nmu_of_nmu): likewise.
685
686         * madison (main): retrieve component information too and display
687         it if it's not 'main'.
688         * melanie (reverse_depends_check): likewise.
689
690         * utils.py (pp_dep): renamed...
691         (pp_deps): ... to this.
692         * jeri (check_dep): update calls to utils.pp_deps().
693         * melanie (reverse_depends_check): likewise.
694
695         * jennifer (check_changes): move initalization of email variables
696         from here...
697         (process_it): ...to here as we no longer always run
698         check_changes().  Don't bother to initialize
699         changes["architecture"].
700
701         * denise (list): renamed to...
702         (do_list): ...this to avoid name clash with builtin 'list'.
703         Similarly, s/file/output_file/, s/type/otype/.  Use .setdefault()
704         for dictionaries.
705         (main): Likewise for name clash avoidance and also
706         s/override_type/suffix/.  Adjust call to do_list().
707
708 2004-09-01  Ryan Murray  <rmurray@debian.org>
709
710         * tea (check_files): check the pool/ directory instead of dists/
711
712 2004-08-04  James Troup  <james@nocrew.org>
713
714         * jenna (cleanup): use .setdefault() for dictionaries.
715         (write_filelists): likewise.
716
717         (write_filelists): Use utils.split_args() not split() to split
718         command line arguments.
719         (stable_dislocation_p): likewise.
720
721         (write_filelists): Add support for mapping side of suite-based
722         "Arch: all mapping".
723         (do_da_do_da): ensure that if we're not doing all suites that we
724         process enough to be able correct map arch: all packages.
725
726         * utils.py (cant_open_exc): correct exception string,
727         s/read/open/, s/.$//.
728
729         * templates/amber.advisory: update to match reality a little
730         better.
731
732         * melanie (reverse_depends_check): read Packages.gz rather than
733         Packages.
734
735         * jennifer (check_files): check for unknown component before
736         checking for NEWness.
737
738         * katie.py (Katie.in_override_p): use .startswith in favour of a
739         slice.
740
741         * docs/melanie.1.sgml: document -R/--rdep-check.
742
743 2004-07-12  Daniel Silverstone  <dsilvers@digital-scurf.org>
744
745         * billie (main): Make the verbatim lists include all the README
746           elements.
747         * docs/README.names: Add billie in (correcting oversight)
748
749 2004-07-01  James Troup  <james@nocrew.org>
750
751         * emilie (main): handle woody's case-sensitive python-ldap,
752         s/keyfingerprint/keyFingerPrint/.
753
754 2004-06-25  James Troup  <james@nocrew.org>
755
756         * debian/control (Depends): add dpkg-dev since jennifer uses
757         dpkg-source.
758
759 2004-06-24  James Troup  <james@nocrew.org>
760
761         * melanie (main): s/file/temp_file/ and close file handle before
762         removing the temporary file.
763         (main): don't warn about needing a --carbon-copy if in no-action
764         mode.
765
766         * rene (do_nbs): pcmcia-cs has been fixed - remove hideous bodge.
767         (main): likewise.
768
769         * test/006/test.py (main): check bracketed email-only form.
770
771         * utils.py (fix_maintainer): if the Maintainer string is bracketed
772         email-only, strip the brackets so we don't end up with
773         <<james@nocrew.org>>.
774
775 2004-06-20  James Troup  <james@nocrew.org>
776
777         * jennifer (process_it): only run check_changes() if
778         check_signature() returns something.  (Likewise)
779
780         * utils.py (changes_compare): if there's no changes["version"] use
781         "0" rather than None.  (Avoids a crash on unsigned changes file.)
782
783 2004-06-17  Martin Michlmayr  <tbm@cyrius.com>
784
785         * jeri (pp_dep): moved from here to ...
786         * utils.py (pp_dep): here.
787
788         * melanie (main): add reverse dependency checking.
789
790 2004-06-17  James Troup  <james@nocrew.org>
791
792         * jennifer (check_dsc): s/dsc_whitespace_rules/signing_rules/.
793         * tea (check_dscs): likewise.
794
795         * utils.py (parse_changes): s/dsc_whitespace_rules/signing_rules/,
796         change from boolean to a variable with 3 possible values, 0 and 1
797         as before, -1 means don't require a signature.  Makes
798         parse_changes() useful for parsing arbitary RFC822-style files,
799         e.g. 'Release' files.
800         (check_signature): add support for detached signatures by passing
801         the files the signature is for as an optional third argument.
802         s/filename/sig_filename/g.  Add a fourth optional argument to
803         choose the keyring(s) to use.  Don't os.path.basename() the
804         sig_filename before checking it for taint.
805         (re_taint_free): allow '/'.
806
807 2004-06-11  James Troup  <james@nocrew.org>
808
809         * tea (check_files): make override.unreadable optional.
810         (validate_sources): close the Sources file handle.
811
812         * docs/README.first: clarify that 'alyson' and running
813         add_constraints.sql by hand is something you only want to do if
814         you're not running 'neve'.
815
816         * docs/README.config (Location::$LOCATION::Suites): document.
817
818         * db_access.py (do_query): also print out the result of the query.
819
820 2004-06-10  James Troup  <james@nocrew.org>
821
822         * katie.py (Katie.cross_suite_version_check): post-woody versions
823         of python-apt's apt_pkg.VersionCompare() function apparently
824         returns variable integers for less than or greater than results -
825         update our result checking to match.
826         * jenna (resolve_arch_all_vs_any): likewise.
827         * charisma (main): likewise.
828
829 2004-06-09  James Troup  <james@nocrew.org>
830
831         * jennifer (process_it): s/changes_valid/valid_changes_p/.  Add
832         valid_dsc_p and don't run check_source() if check_dsc() failed.
833         (check_dsc): on fatal failures return 0 so check_source() isn't
834         run (since it makes fatal assumptions about the presence of
835         mandatory .dsc fields).  
836         Remove unused and obsolete re_bad_diff and re_is_changes regexps.
837
838 2004-05-07  James Troup  <james@nocrew.org>
839
840         * katie.conf (Rhona::OverrideFilename): unused and obsolete, remove.
841         * katie.conf-non-US (Rhona::OverrideFilename): likewise.
842
843         * katie.conf (Dir::Override): remove duplicate definition.
844
845         * neve (get_or_set_files_id): add an always-NULL last_used column
846         to output.
847
848 2004-04-27  James Troup  <james@nocrew.org>
849
850         * apt.conf-security (tree "dists/stable/updates"): add
851         ExtraOverride - noticed by Joey Hess (#246050).
852         (tree "dists/testing/updates"): likewise.
853
854 2004-04-20  James Troup  <james@nocrew.org>
855
856         * jennifer (check_files): check for existing .changes or .katie
857         files of the same name in the Suite::<suite>::Copy{Changes,Katie}
858         directories.
859
860 2004-04-19  James Troup  <james@nocrew.org>
861
862         * jennifer (check_source): handle failure to remove the temporary
863          directory (used for source tree extraction) better, specifically:
864          if we fail with -EACCES, chmod -R u+rwx the temporary directory
865          and try again and if that works, REJECT the package.
866
867 2004-04-17  James Troup  <james@nocrew.org>
868
869         * docs/madison.1.sgml: document -b/--binary-type,
870         -g/--greaterorequal and -G/--greaterthan.
871
872         * madison (usage): -b/--binary-type only takes a single argument.
873         Document -g/--greaterorequal and -G/--greaterthan.
874         (main): add support for -g/--greaterorequal and -G/--greaterthan.
875
876 2004-04-12  Daniel Silverstone  <dsilvers@digital-scurf.org>
877
878         * billie: Cleaned up a load of comments, added /README.non-US to
879           the verbatim matches list.
880
881 2004-04-07  Daniel Silverstone  <dsilvers@digital-scurf.org>
882
883         * utils.py (size_type): Make it use real binary megabytes and
884           kilobytes, instead of the marketing terms used before.
885
886 2004-04-07  James Troup  <james@nocrew.org>
887
888         * katie.py (Katie.check_dsc_against_db): in the case we're
889         ignoring an identical-to-existing orig.tar.gz remember the path to
890         the existent version in pkg.orig_tar_gz.  Adjust query to grab
891         location.path too to be able to do so.
892
893 2004-04-03  James Troup  <james@nocrew.org>
894
895         * debian/control (Depends): add python2.1-email | python (>= 2.2)
896         needed for new utils.rfc2047_encode() function.
897
898         * utils.py (re_parse_maintainer): allow whitespace inside the
899         email address.
900         (Error): new exception base class.
901         (ParseMaintError): new exception class.
902         (force_to_utf8): new function.
903         (rfc2047_encode): likewise.
904         (fix_maintainer): rework.  use force_to_utf8() to force name and
905         rfc822 return values to always use UTF-8.  use rfc2047_encode() to
906         return an rfc2047 value.  Validate the address to catch missing
907         email addresses and (some) broken ones.
908
909         * katie.py (nmu_p.is_an_nmu): adapt for new utils.fix_maintainer()
910         by adopting foo2047 return value.
911         (Katie.dump_vars): add changedby2047 and maintainer2047 as
912         mandatory changes fields.  Promote changes and maintainer822 to
913         mandatory fields.
914         (Katie.update_subst): default maintainer2047 rather than
915         maintainer822.  User foo2047 rather than foo822 when setting
916         __MAINTAINER_TO__ or __MAINTAINER_FROM__.
917
918         * jennifer (check_changes): set default changes["maintainer2047"]
919         and changes["changedby2047"] values rather than their 822
920         equivalents.  Makes changes["changes"] a mandatory field.  Adapt
921         to new utils.fix_maintainer() - reject on exception and adopt
922         foo2047 return value.
923         (check_dsc): if a mandatory field is missing don't do any further
924         checks and as a result reduce paranoia about dsc[var] existence.
925         Validate the maintainer field by calling new
926         utils.fix_maintainer().
927
928         * ashley (main): add changedby2047 and maintainer2047 to mandatory
929         changes fields.  Promote maintainer822 to a mandatory changes
930         field.  add "pool name" to files fields.
931
932         * test/006/test.py: new file - tests for new
933         utils.fix_maintainer().
934
935 2004-04-01  James Troup  <james@nocrew.org>
936
937         * templates/lisa.prod (To): use __MAINTAINER_TO__ not __MAINTAINER__.
938
939         * jennifer (get_changelog_versions): create a symlink mirror of
940         the source files in the temporary directory.
941         (check_source): if check_dsc_against_db() couldn't find the
942         orig.tar.gz bail out.
943
944         * katie.py (Katie.check_dsc_against_db): if the orig.tar.gz is not
945         part of the upload store the path to it in pkg.orig_tar_gz and if
946         it can't be found set pkg.orig_tar_gz to -1.
947
948         Explicitly return the second value as None in the (usual) case
949         where we don't have to reprocess.  Remove obsolete diagnostic
950         logs.
951
952         * lisa (prod_maintainer): don't return anything, no one cares. (pychecker)
953
954         * utils.py (temp_filename): new helper function that wraps around
955         tempfile.mktemp().
956
957         * katie.py (Katie.do_reject): use it and don't import tempfile.
958         * lisa (prod_maintainer): likewise.
959         (edit_note): likewise.
960         (edit_new): likewise.
961         * lauren (reject): likewise.
962         * melanie (main): likewise.
963         * neve (do_sources): likewise.
964         * rene (main): likewise.
965         * tea (validate_sources): likewise.
966
967 2004-03-31  James Troup  <james@nocrew.org>
968
969         * tea (validate_sources): remove unused 's' temporary variable.
970
971 2004-03-15  James Troup  <james@nocrew.org>
972
973         * jennifer (check_dsc): check changes["architecture"] for
974         source before we do anything else.
975
976 2004-03-21  Daniel Silverstone  <dsilvers@digital-scurf.org>
977
978         * billie: Added
979         * katie.conf (Billie): Added sample Billie stanza to katie.conf
980
981 2004-03-12  James Troup  <james@nocrew.org>
982
983         * docs/README.config (Dir::Queue::BTSVersionTrack): document.
984
985         * katie.conf (Dir::Queue::BTSVersionTrack): define.
986
987         * katie.py (Katie.accept): add support for DebBugs Version
988         Tracking by writing out .versions (generated in jennifer's
989         get_changelog_versions()) and .debinfo (mapping of binary ->
990         source) files.
991
992         * ashley (main): add dsc["bts changelog"].
993
994         * katie.py (Katie.dump_vars): store dsc["bts changelog"] too.
995
996         * jennifer (check_diff): obsoleted by check_source(), removed.
997         (check_source): new function: create a temporary directory and
998         move into it and call get_changelog_versions().
999         (get_changelog_versions): new function: extract the source package
1000         and optionally parse debian/changelog to obtain the version
1001         history for the BTS.
1002         (process_it): call check_source() rather than check_diff().
1003
1004 2004-03-08  James Troup  <james@nocrew.org>
1005
1006         * lisa (edit_index): Fix logic swapo from 'use "if varfoo in
1007         listbar" rather than "if listbar.count(varfoo)"' change on
1008         2004-02-24.
1009
1010 2004-03-05  James Troup  <james@nocrew.org>
1011
1012         * alicia (main): don't warn about not closing bugs - we don't
1013         manage overrides through the BTS.
1014
1015 2004-02-27  Martin Michlmayr  <tbm@cyrius.com>
1016
1017         * docs/README.config: lots of updates and corrections.
1018         * docs/README.first: likewise.
1019
1020         * docs/README.config: drop unused Dir::Queue::Root.
1021         * katie.conf-non-US: likewise.
1022         * katie.conf: likewise.
1023         * katie.conf-security: likewise.
1024
1025 2004-02-27  James Troup  <james@nocrew.org>
1026
1027         * rose (process_tree): use 'if var in [ list ]' rather than long
1028         'if var == foo or var == bar or var == baz'.  Suggested by Martin
1029         Michlmayr.
1030
1031         * jennifer (check_files): reduce 'if var != None' to 'if var' as
1032         suggested by Martin Michlmayr.
1033         * catherine (poolize): likewise.
1034         * charisma (main): likewise.
1035         * halle (check_changes): likewise.
1036         * heidi (main): likewise.
1037         (process_file): likewise.
1038         * kelly (install): likewise.
1039         (stable_install): likewise.
1040         * utils.py (fix_maintainer): likewise.
1041
1042         * apt.conf: add support for debian-installer in testing-proposed-updates.
1043         * katie.conf (Suite::Testing-Proposed-Updates::UdebComponents):
1044         add - set to main.
1045
1046         * mkmaintainers: add "-T15" option to wget of non-US packages file
1047         so that we don't hang cron.daily if non-US is down.
1048
1049         * templates/lisa.prod (Subject): Prefix with "Comments regarding".
1050
1051         * templates/jennifer.bug-close: add Source and Source-Version
1052         pseudo-headers that may be used for BTS Version Tracking someday
1053         [ajt@].
1054
1055         * rene (do_nbs): special case linux-wlan-ng like we do for pcmcia.
1056         (main): likewise.
1057
1058         * cron.unchecked: it's /org/ftp.debian.org not ftp-master.
1059
1060 2004-02-25  James Troup  <james@nocrew.org>
1061
1062         * katie.conf (SuiteMappings): don't map testing-security to
1063         proposed-updates.
1064
1065 2004-02-24  James Troup  <james@nocrew.org>
1066
1067         * katie.py (Katie.__init__): remove unused 'values' field.
1068
1069         * utils.py (extract_component_from_section): use 's.find(c) != -1'
1070         rather than 's.count(c) > 0'.
1071
1072         * katie.py (Katie.source_exists): use "if varfoo in listbar"
1073         rather than "if listbar.count(varfoo)".
1074         * halle (check_joey): likewise.
1075         * jeri (check_joey): likewise.
1076         * lisa (edit_index): likewise.
1077         * jenna (stable_dislocation_p): likewise.
1078
1079         * jennifer (main): remove unused global 'nmu'.
1080
1081 2004-02-03  Daniel Silverstone  <dsilvers@digital-scurf.org>
1082
1083         * pseudo-packages.maintainers (ftp.debian.org): Changed the maintainer
1084           to be ftpmaster@ftp-master.debian.org to bring it into line with how
1085           the dak tools close bugs.
1086
1087 2004-02-02  Daniel Silverstone  <dsilvers@digital-scurf.org>
1088
1089         * katie.conf (Alicia): Added an Alicia section with email address
1090         * templates/alicia.bug-close: Added
1091         * docs/alicia.1.sgml: Added the docs for the -d/--done argument
1092         * alicia (main): Added a -d/--done argument
1093
1094 2004-02-02  Daniel Silverstone  <dsilvers@digital-scurf.org>
1095
1096         * templates/lisa.prod: Oops, missed a BITCH->PROD conversion
1097
1098 2004-01-29  Daniel Silverstone  <dsilvers@digital-scurf.org>
1099
1100         * lisa (prod_maintainer): Added function to prod the maintainer without
1101           accepting or rejecting the package
1102         * templates/lisa.prod: Added this template for the prodding mail
1103
1104         * .cvsignore: Added neve-files which turns up in new installations
1105
1106 2004-01-30  Daniel Silverstone  <dsilvers@digital-scurf.org>
1107
1108         * alicia (usage): Fixed usage message to offer section and priority
1109           as seperately optional arguments.
1110         * alicia (main): Added a % (arg) interpolation needed when only
1111           one of section or priority is provided and it cannot be found.
1112
1113 2004-01-29  Daniel Silverstone  <dsilvers@digital-scurf.org>
1114
1115         * alicia: Added
1116         * docs/alicia.1.sgml: Added
1117         * docs/Makefile: Added alicia to the list of manpages to build
1118         * docs/README.names: Noted what alicia does
1119         * docs/README.first: Noted where alicia is useful
1120
1121 2004-01-21  James Troup  <james@nocrew.org>
1122
1123         * madison (main): add -b/--binary-type.
1124         (usage): likewise.
1125
1126         * denise (main): generate debian-installer overrides for testing
1127         too.
1128         * apt.conf: add support for debian-installer in testing.
1129         * katie.conf (Suite::Testing::UdebComponents): set to main.
1130
1131         * katie.conf (Dinstall::SigningKeyIds): 2004 key.
1132         * katie.conf-non-US (Dinstall::SigningKeyIds): likewise.
1133         * katie.conf-security (Dinstall::SigningKeyIds): likewise.
1134
1135         * utils.py (parse_changes): don't process data not inside the
1136         signed data.  Thanks to Andrew Suffield <asuffield@debian.org> for
1137         pointing this out.
1138         * test/005/test.py (main): new test to test for above.
1139
1140 2004-01-04  James Troup  <james@nocrew.org>
1141
1142         * jenna (write_filelists): correct typo, s/Components/Component/
1143         for Options.
1144
1145 2004-01-04  Ryan Murray  <rmurray@debian.org>
1146
1147         * cron.buildd: move update of overrides and Packages file...
1148         * cron.unchecked: to here.
1149         * katie.conf-non-US: (Dinstall::SingingKeyIds) update for 2003v2 key
1150         * katie.conf-security: likewise
1151
1152 2003-11-20  James Troup  <james@nocrew.org>
1153
1154         * jenna (main): don't use utils.try_with_debug(), it produces way
1155         too much output.
1156
1157         * halle (check_changes): don't error out if a .changes refers to a
1158         non-existent package, just warn and skip the file.
1159
1160         * docs/README.stable-point-release: mention halle and .changes
1161         obsoleted by removal through melanie.  Update for 3.0r2.
1162
1163         * katie.conf (Suite::Stable::Version): bump to 3.0r2.
1164         (Suite::Stable::Description): update for 3.0r2.
1165         (Lauren::MoreInfoURL): likewise.
1166         * katie.conf-non-US (Suite::Stable::Version): likewise.
1167         (Suite::Stable::Description): likewise.
1168         (Lauren::MoreInfoURL): likewise.
1169
1170         * apt.conf.stable (Default): don't define MaxContentsChange.
1171         * apt.conf.stable-non-US (Default): likewise.
1172
1173         * lauren (reject): hack to work around partial replacement of an
1174         upload, i.e. one or more binaries superseded by another source
1175         package.
1176
1177 2003-11-17  James Troup  <james@nocrew.org>
1178
1179         * pseudo-packages.maintainers: point installation-reports at
1180         debian-boot@l.d.o rather than debian-testing@l.d.o at jello@d.o's
1181         request.
1182
1183         * utils.py (parse_changes): calculate the number of lines once
1184         with len() rather than max().
1185
1186         * jennifer (check_dsc): handle the .orig.tar.gz disappearing from
1187         files, since check_dsc_against_db() deletes the .orig.tar.gz
1188         entry.
1189
1190 2003-11-13  Ryan Murray  <rmurray@debian.org>
1191
1192         * apt.conf: specify a src override file for debian-installer
1193
1194 2003-11-10  James Troup  <james@nocrew.org>
1195
1196         * fernanda.py (strip_pgp_signature): new function - strips PGP
1197         signature from a file and returns the modified contents of the
1198         file in a string.
1199         (display_changes): use it.
1200         (read_dsc): likewise.
1201
1202 2003-11-09  Ryan Murray  <rmurray@debian.org>
1203
1204         * cron.buildd: export accepted_autobuild table for unstable, and use
1205         it to generate the incoming Packages/Sources rather than having apt
1206         walk the directory.
1207         * apt.conf.buildd: use exported table from cron.buildd to generate
1208         Packages/Sources
1209
1210 2003-11-07  James Troup  <james@nocrew.org>
1211
1212         * kelly: import errno.
1213
1214         * katie.py (Katie.build_summaries): sort override disparities.
1215
1216         * kelly (install): set dsc_component based on the .dsc's component
1217         not a random binaries.
1218
1219 2003-10-29  James Troup  <james@nocrew.org>
1220
1221         * katie.py (Katie.build_summaries): don't assume changes["source"]
1222         exists since it might not.
1223
1224 2003-10-20  James Troup  <james@nocrew.org>
1225
1226         * pseudo-packages.maintainers: update security.d.o to use
1227         team@s.d.o at joy@'s request.
1228
1229 2003-10-17  James Troup  <james@nocrew.org>
1230
1231         * jennifer (check_dsc): use .startswith rather than .find() == 0.
1232
1233 2003-10-17  Martin Michlmayr  <tbm@cyrius.com>
1234
1235         * tea (chk_bd_process_dir): use .endswith rather than slice.
1236
1237 2003-10-14  James Troup  <james@nocrew.org>
1238
1239         * tea (check_build_depends): new function.
1240         (chk_bd_process_dir): likewise.  Validates build-depends in .dsc's
1241         in the archive.
1242         (main): update for new function.
1243         (usage): likewise.
1244
1245         * katie.py (Katie.do_reject): sanitize variable names,
1246         s/reject_filename/reason_filename/, s/fd/reason_fd/.  Move shared
1247         os.close() to outside if clause.
1248
1249         * jennifer (check_dsc): check build-depends and
1250         build-depends-indep by running them past apt_pkg.ParseSrcDepends.
1251         Fold the ARRAY check into the same code block and tidy up it's
1252         rejection message.
1253         (check_changes): ensure that the Files field is non-empty.
1254         Suggested by Santiago Vila <sanvila@unex.es>
1255         (check_changes): normalize reject messages.
1256         (check_dsc): instead of doing most of the checks inside a for loop
1257         and an if, find the dsc_filename in a short loop over files first
1258         and then do all the checks.  Add check for more than one .dsc in a
1259         .changes which we can't handle.  Normalize reject messages.
1260
1261 2003-10-13  James Troup  <james@nocrew.org>
1262
1263         * katie.conf (Dinstall::Reject::NoSourceOnly): set to true.
1264         * katie.conf-non-US (Dinstall::Reject::NoSourceOnly): likewise.
1265
1266         * jennifer (check_files): Set 'has_binaries' and 'has_source'
1267         variables while iterating over 'files'.  Don't regenerate it when
1268         checking for source if source is mentioned.
1269
1270         Reject source only uploads if the config variable
1271         Dinstall::Reject::NoSourceOnly is set.
1272
1273 2003-10-03  James Troup  <james@nocrew.org>
1274
1275         * rene (main): add nasty hardcoded reference to debian-installer
1276         so we detect NBS .udebs.
1277
1278 2003-09-29  James Troup  <james@nocrew.org>
1279
1280         * apt.conf (old-proposed-updates): remove.
1281         * apt.conf-non-US (old-proposed-updates): likewise.
1282
1283 2003-09-24  James Troup  <james@nocrew.org>
1284
1285         * tea (check_files_not_symlinks): new function, ensure files
1286         mentioned in the database aren't symlinks.  Includes code to
1287         update any files that are like this to their real filenames +
1288         location; commented out by though.
1289         (usage): update for new function.
1290         (main): likewise.
1291
1292 2003-09-24  Anthony Towns  <ajt@debian.org>
1293
1294         * vars: external-overrides variable added
1295         * cron.daily: Update testing/unstable Task: overrides from joeyh
1296         managed external source.
1297
1298 2003-09-22  James Troup  <james@nocrew.org>
1299
1300         * kelly (install): if we can't move the .changes into queue/done,
1301         fail don't warn and carry on.  The old behaviour pre-dates NI and
1302         doesn't make much sense now since jennifer checks both
1303         queue/accepted and queue/done for any .changes files it's
1304         processing.
1305
1306         * utils.py (move): don't throw exceptions on existing files or
1307         can't overwrite, instead just fubar out.
1308
1309         * jennifer (check_dsc): also check Build-Depends-Indep for
1310         ARRAY-lossage.  Noticed by Matt Zimmerman <mdz@debian.org>.
1311
1312 2003-09-18  James Troup  <james@nocrew.org>
1313
1314         * katie.py (Katie.close_bugs): only log the bugs we've closed
1315         once.
1316
1317         * kelly (main): log as 'kelly', not 'katie'.
1318
1319 2003-09-16  James Troup  <james@nocrew.org>
1320
1321         * katie.py (Katie.check_binary_against_db): likewise noramlize.
1322
1323         * jennifer (check_changes): normalize reject message for "changes
1324         file already exists" to be %s: <foo>.
1325         (check_dsc): add a check for 'Build-Depends: ARRAY(<hex>)'
1326         produced by broken dpkg-source in 1.10.11.  Tone down and
1327         normalize rejection message for incompatible 'Format' version
1328         numbers.
1329         (check_diff): likewise tone down and normalize.
1330
1331 2003-09-07  James Troup  <james@nocrew.org>
1332
1333         * utils.py (parse_changes): if dsc_whitespace_rules is false,
1334         don't bomb out on bogus empty lines.
1335         (build_file_list): check for changes["files"] earlier.  use Dict
1336         to create files[name] dictionary.
1337         (send_mail): don't bother validating arguments.
1338         (check_signature): minor improvements to some of the rejection
1339         messages including listing the key id of the key that wasn't found
1340         in the keyring.
1341         (wrap): new function.
1342
1343         * tea: add new check 'validate-indices' that ensures all files
1344         mentioned in indices (Packages, Sources) files do in fact exist.
1345
1346         * catherine (poolize): use a local re_isadeb which handles legacy
1347         (i.e. no architecture) style .deb filenames.
1348
1349         * rosamund: new script.
1350
1351         * rhona (check_binaries): when checking for binary packages not in
1352         a suite, don't bother selecting files that already have a
1353         last_used date.
1354         (check_sources): likewise.
1355
1356         * rhona: change all SQL EXISTS sub-query clauses to use the
1357         postgres suggested convention of "SELECT 1 FROM".
1358         * andrea (main): likewise.
1359         * tea (check_override): likewise.
1360         * catherine (main): likewise.
1361
1362         * katie.conf (Suite): remove OldStable and Old-Proposed-Updates
1363         entries and in other suites MustBeNewerThan's.
1364         (SuiteMappings): likewise
1365         * katie.conf-non-US: likewise.
1366         * katie.conf-security: likewise.
1367
1368         * apt.conf-security: remove oldstable.
1369         * apt.conf.stable: likewise.
1370         * apt.conf.stable-non-US: likewise.
1371         * cron.buildd-security: likewise.
1372         * cron.daily-security: likewise.
1373         * vars-security (suites): likewise.
1374         * wanna-build/trigger.daily: likewise.
1375
1376         * claire.py (clean_symlink): move...
1377         * utils.py (clean_symlink): here.
1378
1379         * claire.py (find_dislocated_stable): update accordingly.
1380
1381 2003-08-16  Anthony Towns  <ajt@debian.org>
1382
1383         * katie.py (source_exists): expand the list of distributions
1384         the source may exist in to include any suite that's mapped to
1385         the destination suite (even transitively (a->b->c)). This should
1386         unbreak binary uploads to *-proposed-updates.
1387
1388 2003-08-09  Randall Donald  <rdonald@debian.org>
1389
1390         * lisa (recheck): change changes["distribution"].keys() to
1391         Katie.pkg.changes...
1392
1393 2003-08-08  Randall Donald  <rdonald@debian.org>
1394
1395         * katie.py: only tag bugs as fixed-in-experimental for
1396         experimental uploads
1397
1398 2003-07-26  Anthony Towns  <ajt@debian.org>
1399
1400         * katie.py (source_exists): add an extra parameter to limit the
1401         distribution(s) the source must exist in.
1402         * kelly, lisa, jennifer: update to use the new source_exists
1403
1404 2003-07-15  Anthony Towns  <ajt@debian.org>
1405
1406         * ziyi: quick hack to support a FakeDI line in apt.conf to generate
1407         checksums for debian-installer stuff even when it's just a symlink to
1408         another suite
1409
1410         * apt.conf: add the FakeDI line
1411
1412 2003-06-09  James Troup  <james@nocrew.org>
1413
1414         * kelly (check): make sure the 'file' we're looking for in 'files'
1415         hasn't been deleted by katie.check_dsc_against_db().
1416
1417 2003-05-07  James Troup  <james@nocrew.org>
1418
1419         * helena (time_pp): fix s/years/year/ typo.
1420
1421 2003-04-29  James Troup  <james@nocrew.org>
1422
1423         * madison (usage): document -c/--component.
1424
1425         * madison (usage): Fix s/seperated/separated/.
1426         * melanie (usage): likewise.
1427         * jenna (usage): likewise.
1428
1429 2003-04-24  James Troup  <james@nocrew.org>
1430
1431         * cron.daily-non-US: if there's nothing for kelly to install, say
1432         so.
1433
1434         * jennifer (check_timestamps): print sys.exc_value as well as
1435         sys.exc_type when capturing exceptions.  Prefix 'timestamp check
1436         failed' with 'deb contents' to make it clearer what timestamp(s)
1437         are being checked.
1438
1439 2003-04-15  James Troup  <james@nocrew.org>
1440
1441         * cron.daily-non-US: only run kelly if there are some .changes
1442         files in accepted.
1443
1444         * rene: add -m/--mode argument which can be either daily (default)
1445         or full.  In daily mode only 'nviu' and 'nbs' checks are run.
1446         Various changes to make this possible including a poor attempt at
1447         splitting main() up a little.  De-hardcode suite numbers from SQL
1448         queries and return quietly from do_nviu() if experimental doesn't
1449         exist (i.e. non-US).  Hardcode pcmcia-cs as dubious NBS since it
1450         is.
1451
1452         * debian/control (Depends): remove python-zlib as it's obsolete.
1453
1454         * charisma (main): don't slice the \n off strings when we're
1455         strip()-ing it anyway.
1456         * heidi (set_suite): likewise.
1457         (process_file): likewise.
1458         * natalie (process_file): likewise.
1459
1460 2003-04-08  James Troup  <james@nocrew.org>
1461
1462         * katie.py (Katie.check_dsc_against_db): improve the speed of two
1463         slow queries by using one LIKE '%foo%' and then matching against
1464         '%s' or '/%s$' in python.  Also only join location when we need it
1465         (i.e. the .orig.tar.gz query).  On auric, this knocks ~3s of each
1466         query, so 6s for each sourceful package.
1467
1468         * cron.daily: invoke rene and send the report to ftpmaster.
1469         * cron.daily-non-US: likewise.
1470
1471 2003-03-14  James Troup  <james@nocrew.org>
1472
1473         * utils.py (send_mail): default filename to blank.
1474         * amber (make_advisory): adapt.
1475         * jennifer (acknowledge_new): likewise.
1476         * katie.py (Katie.close_bugs): likewise.
1477         (Katie.announce): likewise.
1478         (Katie.accept): likewise.
1479         (Katie.check_override): likewise.
1480         (Katie.do_reject): likewise.
1481         * kelly (do_reject): likewise.
1482         (stable_install): likewise.
1483         * lisa (do_bxa_notification): likewise.
1484         * lauren (reject): likewise.
1485         * melanie (main): likewise.
1486
1487         * rene (add_nbs): check any NBS packages against unstable to see
1488         if they haven't been removed already.
1489
1490         * templates/katie.rejected: remove paragraph about rejected files
1491         since they're o-rwx due to c-i-m and the uploader can't do
1492         anything about them and shania will take care of them anyway.
1493
1494         * madison (usage): update usage example to use comma seperation.
1495         * melanie (usage): likewise.
1496
1497         * utils.py (split_args): new function; splits command line
1498         arguments either by space or comma (whichever is used).  Also has
1499         optional-but-default DWIM spurious space detection to avoid
1500         'command -a i386, m68k' problems.
1501         (parse_args): use it.
1502         * melanie (main): likewise.
1503
1504         * melanie (main): force the admin to tell someone if we're not
1505         doing a rene-led removal (or closing a bug, which counts as
1506         telling someone).
1507
1508 2003-03-05  James Troup  <james@nocrew.org>
1509
1510         * katie.conf (Section): add embedded, gnome, kde, libdevel, perl
1511         and python sections.
1512         * katie.conf-security (Section): likewise.
1513
1514         * add_constraints.sql: add uid and uid_id_seq to grants.
1515
1516         * lisa (determine_new): also warn about adding overrides to
1517         oldstable.
1518
1519         * madison (main): make the -S/--source-and-binary query obey
1520         -s/--suite restrictions.
1521
1522 2003-03-03  James Troup  <james@nocrew.org>
1523
1524         * madison (main): if the Archive_Maintenance_In_Progress lockfile
1525         exists, warn the user that our output might seem strange.  (People
1526         get confused by multiple versions in a suite which happens
1527         post-kelly but pre-jenna.)
1528
1529 2003-02-21  James Troup  <james@nocrew.org>
1530
1531         * kelly (main): we don't need to worry about StableRejector.
1532
1533         * melanie (main): sort versions with apt_pkg.VersionCompare()
1534         prior to output.
1535
1536         * lauren: new script to manually reject packages from
1537         proposed-updates.  Updated code from pre-NI kelly (nee katie).
1538
1539 2003-02-20  James Troup  <james@nocrew.org>
1540
1541         * kelly (init): remove unused -m/--manual-reject argument.
1542
1543         * katie.py (Katie.force_reject): renamed from force_move to make
1544         it more explicit what this function does.
1545         (Katie.do_reject): update to match.
1546
1547         * utils.py (prefix_multi_line_string): add an optional argument
1548         include_blank_lines which defaults to 0.  If non-zero, blank lines
1549         will be includes in the output.
1550
1551         * katie.py (Katie.do_reject): don't add leading space to each line
1552         of the reject message.  Include blank lines when showing the
1553         message to the user.
1554
1555 2003-02-19  Martin Michlmayr  <tbm@cyrius.com>
1556
1557         * utils.py (fix_maintainer): replace pointless re.sub() with
1558         simple string format.
1559
1560 2003-02-11  James Troup  <james@nocrew.org>
1561
1562         * lisa (edit_overrides): only strip-to-one-char and upper-case
1563         non-numeric answers.  Fixes editing of items with indices >= 10;
1564         noticed by Randall.
1565         (edit_overrides): correct order of arguments to "not a valid
1566         index" error message.
1567
1568         * jenna (cleanup): call resolve_arch_all_vs_any() rather than
1569         remove_duplicate_versions(); thanks to aj for the initial
1570         diagnosis.
1571         (remove_duplicate_versions): correct how we return
1572         dominant_versions.
1573         (resolve_arch_all_vs_any): arch_all_versions needs to be a list of
1574         a tuple rather than just a tuple.
1575
1576 2003-02-10  James Troup  <james@nocrew.org>
1577
1578         * emilie: new script - sync fingerprint and uid tables with a
1579         debian.org LDAP DB.
1580
1581         * init_pool.sql: new table 'uid'; contains user ids.  Reference it
1582         in 'fingerprint'.
1583
1584         * db_access.py (get_or_set_uid_id): new function.
1585
1586         * jennifer (main): update locking to a) not used FCNTL (deprecated
1587         in python >= 2.2) and b) acknowledge upstream's broken
1588         implementation of lockf (see Debian bug #74777), c) try to acquire
1589         the lock non-blocking.
1590         * kelly (main): likewise.
1591
1592         * contrib/python_1.5.2-fcntl_lockf.diff: obsolete, removed.
1593
1594         * madison (main): only append the package to new_packages if it's
1595         not already in there; fixes -S/--source-and-binary for cases where
1596         the source builds a binary package of the same name.
1597
1598 2003-02-10  Anthony Towns  <ajt@debian.org>
1599
1600         * madison (main): use explicit JOIN syntax for
1601         -S/--source-and-binary queries to reduce the query's runtime from
1602         >10 seconds to negligible.
1603
1604 2003-02-08  James Troup  <james@nocrew.org>
1605
1606         * rene (main): in the NVIU output, append items to lists, not
1607         extend them; fixes amusing suggestion that "g n u m e r i c" (sic)
1608         should be removed.
1609
1610 2003-02-07  James Troup  <james@nocrew.org>
1611
1612         * apt.conf (tree "dists/unstable"): Add bzip2-ed Packages and
1613         Sources [aj].
1614
1615         * pseudo-packages.maintainers (bugs.debian.org): s/Darren
1616         O. Benham/Adam Heath/.
1617
1618         * katie.conf (Suite::Stable::Version): bump to 3.0r1a.
1619         (Suite::Stable::Description): update for 3.0r1a.
1620         (Dinstall::SigningKeyIds): update for 2003 key [aj].
1621
1622         * utils.py (gpgv_get_status_output): rename from
1623         get_status_output().
1624
1625         * neve (check_signature): use gpgv_get_status_output and Dict from
1626         utils().  Add missing newline to error message about duplicate tokens.
1627
1628         * saffron (per_arch_space_use): also print space used by source.
1629         (output_format): correct string.join() invocation.
1630
1631         * jennifer (check_signature): ignored duplicate EXPIRED tokens.
1632
1633 2003-02-04  James Troup  <james@nocrew.org>
1634
1635         * cron.buildd: correct generation of Packages/Sources and grep out
1636         non-US/non-free as well as non-free.
1637
1638 2003-02-03  Ryan Murray  <rmurray@debian.org>
1639
1640         * cron.buildd: generate quinn-diff output with full Packages/Sources
1641           files to get out-of-date vs. uncompiled right.
1642         * apt.conf.buildd: no longer generate uncompressed files, as they
1643           are generated in cron.buildd instead
1644         * add -i option to quinn-diff to ignore binary-all packages
1645         * apt.conf.buildd: remove and readd udeb to extensions.  If the udebs
1646           aren't in the packages file, the arch that uploaded them will build
1647           them anyways...
1648
1649 2003-01-30  James Troup  <james@nocrew.org>
1650
1651         * rene (main): only print suggested melanie command when there's
1652         some NBS to remove.
1653
1654 2003-01-30  Ryan Murray  <rmurray@debian.org>
1655
1656         * cron.buildd: fix incorrectly inverted lockfile check
1657
1658 2003-01-29  Ryan Murray  <rmurray@debian.org>
1659
1660         * cron.buildd: generate override.sid.all3.src
1661         * apt.conf.buildd: use generated override.sid.all3.src
1662
1663 2003-01-27  Martin Michlmayr  <tbm@cyrius.com>
1664
1665         * utils.py (get_status_output): moved from jennifer.
1666         (Dict): likewise.
1667         (check_signature): likewise.
1668
1669         * jennifer (get_status_output): moved to utils.py.
1670         (Dict): likewise.
1671         (check_signature): likewise.
1672
1673         * utils.py (check_signature): add an argument to specifiy which
1674         function to call when an error was found.
1675         (check_signature): document this function better.
1676
1677         * jennifer (check_files): pass the reject function as an argument
1678         to utils.check_signature.
1679         (process_it): likewise.
1680
1681 2003-01-20  James Troup  <james@nocrew.org>
1682
1683         * rene (main): lots of changes to improve the output and make it
1684         more useful.
1685
1686         * katie.py (Katie.check_override): make the override messages
1687         clearer (hopefully).
1688
1689 2002-12-26  James Troup  <james@nocrew.org>
1690
1691         * ziyi (usage): document the ability to pass suite(s) as
1692         argument(s).
1693         (main): read apt.conf after checking for -h/--help.
1694
1695         * tea (main): take the check to run as an argument.
1696
1697         * saffron.R: R script to graph daily install runs.
1698
1699         * saffron: new script; various stats functions.
1700
1701         * rhona (main): connect to the database after checking for -h/--help.
1702
1703         * neve (do_da_do_da): if no -a/--action option is given, bail out.
1704
1705         * melanie (main): sort versions with utils.arch_compare_sw().
1706
1707         * madison (usage): alphabetize order of options.
1708         * melanie (usage): likewise.
1709
1710         * kelly (usage): fix usage short description (we aren't dinstall).
1711
1712         * julia (usage): fix usage description and alphabetize order of
1713         options.
1714
1715         * jeri (usage): fix usage short description.
1716
1717         * jennifer (main): move --help and --version checks from here...
1718         (init): to here so that they work with an empty katie.conf.
1719         * kelly: likewise.
1720
1721         * alyson (usage): new function.
1722         (main): use it.
1723         * andrea: likewise.
1724         * ashley: likewise.
1725         * cindy: likewise.
1726         * denise: likewise.
1727         * helena: likewise.
1728         * neve: likewise.
1729         * rene: likewise.
1730         * rose: likewise.
1731         * tea: likewise.
1732
1733         * apt.conf.stable (tree "dists/stable"): add missing ExtraOverride
1734         entry that caused tasks to be omitted from 3.0r1.
1735
1736 2002-12-10  James Troup  <james@nocrew.org>
1737
1738         * jennifer (check_files): sanity check the Depends field to ensure
1739         it's non-empty if present since apt chokes on an empty one.
1740         Thanks to Ryan Murray for the idea.
1741
1742 2002-12-08  James Troup  <james@nocrew.org>
1743
1744         * katie.conf-security (Helena::Directories): new; include accepted
1745         in addition to byhand and new.
1746
1747         * helena (process_changes_files): use utils.arch_compare_sw().
1748         Justify things based on the longest [package, version,
1749         architecture].  Reduce '[note]' to '[N]' to save space, and remove
1750         the commas in architecture and version lists for the same reason.
1751         (main): make directories we process configurable through
1752         Helena::Directories in the config file; if that doesn't exist
1753         default to the old hardcoded values (byhand & new).
1754
1755         * utils.py (arch_compare_sw): moved here from madison.
1756         * madison (main): adjust to compensate.
1757
1758 2002-12-06  James Troup  <james@nocrew.org>
1759
1760         * ziyi (main): fix "suite foo not in apt.conf" msg to use the
1761         right filename.
1762
1763 2002-12-05  James Troup  <james@nocrew.org>
1764
1765         * katie.conf-non-US (Julia::KnownPostgres): add 'udmsearch'.
1766
1767 2002-11-28  Randall Donald  <rdonald@debian.org>
1768
1769         * fernanda.py (read_control): fix typo of 'Architecture'.
1770
1771 2002-11-26  James Troup  <james@nocrew.org>
1772
1773         * lisa (check_pkg): call less with '-R' so we see the colour from
1774         Randall's fernanda changes.
1775
1776         * neve (process_sources): if Directory points to a legacy location
1777         but the .dsc isn't there; assume it's broken and look in the pool.
1778         (update_section): new, borroed from alyson.
1779         (do_da_do_da): use it.
1780         (process_packages): add suite_it to the cache key used for
1781         arch_all_cache since otherwise we only add a package to the first
1782         suite it's in and ignore any subsequent ones.
1783
1784         * katie.conf-non-US (Location): fixed to reflect reality (all
1785         suites, except old-proposed-updates (which is legacy-mixed)) are
1786         pool.
1787
1788         * utils.py (try_with_debug): wrapper for print_exc().
1789         * jenna (main): use it.
1790         * neve (main): likewise.
1791
1792 2002-11-25  Randall Donald  <rdonald@debian.org>
1793
1794         * fernanda.py (main): added -R to less command line for raw control
1795         character support to print colours
1796         (check_deb): Instead of running dpkg -I on deb file, call
1797         output_deb_info, the new colourized control reporter.
1798         (check_dsc): add call to colourized dsc info reader, read_dsc, instead
1799         of printing out each .dsc line.
1800         (output_deb_info): new function. Outputs each key/value pair from
1801         read_control except in special cases where we highlight section,
1802         maintainer, architecture, depends and recommends.
1803         (create_depends_string): new function. Takes Depends tree and looks
1804         up it's compontent via projectb db, colourizes and constructs a
1805         depends string in original order.
1806         (read_dsc): new function. reads and parses .dsc info via
1807         utils.parse_changes. Build-Depends and Build-Depends-Indep are
1808         colourized.
1809         (read_control): new function. reads and parses control info via
1810         apt_pkg. Depends and Recommends are split in to list structures,
1811         Section and Architecture are colourized. Maintainer is colourized
1812         if it has a localhost.localdomain address.
1813         (split_depends): new function. Creates a list of lists of
1814         dictionaries of depends (package,version relation). Top list is
1815         colected from comma delimited items. Sub lists are | delimited.
1816         (get_comma_list): new function. splits string input among commas
1817         (get_or_list): new function. splits string input among | delimiters
1818         (get_depends_parts): new function. Creates dictionary of package name
1819         and version relation from dependancy string.
1820         Colours for section and depends are per component. Unfound depends
1821         are in bold. Lookups using version info is not supported yet.
1822
1823 2002-11-22  James Troup  <james@nocrew.org>
1824
1825         * katie.conf-security (Julia::KnownPostgres): add 'www-data' and
1826         'udmsearch'.
1827
1828         * amber (make_advisory): string.atol() is deprecated and hasn't
1829         been ported to string methods.  Use long() instead.
1830
1831         * init_pool.sql: explicitly specify the encoding (SQL_ASCII) when
1832         creating the database since we'll fail badly if it's created with
1833         e.g. UNICODE encoding.
1834
1835         * rose (main): AptCnf is a global.
1836
1837         * neve (get_location_path): new function determines the location
1838         from the the first (left-most) directory of a Filename/Directory.
1839         (process_sources): don't need 'location' anymore.  Use
1840         utils.warn().  Use the Directory: field for each package to find
1841         the .dsc.  Use get_location_path() to determine the location for
1842         each .dsc.
1843         (process_packages): do't need 'location' anymore.  Use
1844         utils.warn().  Use get_location_path().
1845         (do_sources): don't need 'location', drop 'prefix' in favour of
1846         being told the full path to the Sources file, like
1847         process_packages().
1848         (do_da_do_da): main() renamed, so that main can call us in a
1849         try/except.  Adapt for the changes in do_sources() and
1850         process_packages() above.  Assume Sources and Packages file are in
1851         <root>/dists/<etc.>.  Treat pool locations like we do legacy ones.
1852
1853         * katie.conf-security (Location): fixed to reflect reality (all
1854         suites are pool, not legacy).
1855
1856         * utils.py (print_exc): more useful (i.e. much more verbose)
1857         traceback; a recipe from the Python cookbook.
1858         * jenna (main): use it.
1859         * neve (main): likewise.
1860
1861 2002-11-19  James Troup  <james@nocrew.org>
1862
1863         * kelly (install): fix brain-damaged CopyChanges/CopyKatie
1864         handling which was FUBAR for multi-suite uploads.  Now we just
1865         make a dictionary of destinations to copy to and iterate over
1866         those.
1867
1868         * fernanda.py (check_deb): run linda as well as lintian.
1869
1870 2002-10-21  James Troup  <james@nocrew.org>
1871
1872         * melanie (main): change X-Melanie to X-Katie and prefix it with
1873         'melanie '.
1874
1875         * lisa (main): prefix X-Katie with 'lisa '.
1876
1877         * jennifer (clean_holding): fix typo in string method changes;
1878         s/file.find(file/file.find(/.
1879
1880         * cron.daily: invoke helena and send the report to ftpmaster.
1881         * cron.daily-non-US: likewise.
1882
1883 2002-10-16  James Troup  <james@nocrew.org>
1884
1885         * kelly (check): call reject() with a blank prefix when parsing
1886         the return of check_dsc_against_db() since it does its own
1887         prefix-ing.
1888
1889         * rose: new script; only handles directory creation initally.
1890
1891         * katie.conf (Dinstall::NewAckList): obsolete, removed.
1892         * katie.conf-non-US (Dinstall::NewAckList): likewise.
1893
1894 2002-10-06  James Troup  <james@nocrew.org>
1895
1896         * rene (main): remove bogus argument handling.
1897
1898         * kelly: katie, renamed.
1899         * cron.daily: adapt for katie being renamed to kelly.
1900         * cron.daily-non-US: likewise.
1901         * amber (main): likewise.
1902
1903         * Changes for python 2.1.
1904
1905         * kelly: time.strftime no longer requires a second argument of
1906         "time.localtime(time.time())".
1907         * logging.py: likewise.
1908         * rhona: likewise.
1909         * shania (init): likewise.
1910
1911         * amber: use augmented assignment.
1912         * catherine (poolize): likewise.
1913         * claire.py (fix_component_section): likewise.
1914         * halle (check_changes): likewise.
1915         * helena: likewise.
1916         * jenna: likewise.
1917         * jennifer: likewise.
1918         * jeri: likewise.
1919         * katie.py: likewise.
1920         * kelly: likewise.
1921         * lisa: likewise.
1922         * madison (main): likewise.
1923         * melanie: likewise.
1924         * natalie: likewise.
1925         * neve: likewise.
1926         * rhona: likewise.
1927         * tea: likewise.
1928         * utils.py: likewise.
1929         * ziyi: likewise.
1930
1931         * amber: use .endswith.
1932         * fernanda.py: likewise.
1933         * halle (main): likewise.
1934         * jennifer: likewise.
1935         * jeri: likewise.
1936         * katie.py: likewise.
1937         * kelly: likewise.
1938         * lisa: likewise.
1939         * neve: likewise.
1940         * shania (main): likewise.
1941         * utils.py: likewise.
1942
1943         * alyson: use string methods.
1944         * amber: likewise.
1945         * andrea: likewise.
1946         * ashley: likewise.
1947         * catherine: likewise.
1948         * charisma: likewise.
1949         * claire.py: likewise.
1950         * db_access.py: likewise.
1951         * denise: likewise.
1952         * halle: likewise.
1953         * heidi: likewise.
1954         * helena: likewise.
1955         * jenna: likewise.
1956         * jennifer: likewise.
1957         * jeri: likewise.
1958         * julia: likewise.
1959         * katie.py: likewise.
1960         * kelly: likewise.
1961         * lisa: likewise.
1962         * logging.py: likewise.
1963         * madison: likewise.
1964         * melanie: likewise.
1965         * natalie: likewise.
1966         * neve: likewise.
1967         * rene: likewise.
1968         * tea: likewise.
1969         * utils.py: likewise.
1970         * ziyi: likewise.
1971
1972 2002-09-20  Martin Michlmayr  <tbm@cyrius.com>
1973
1974         * utils.py (parse_changes): use <string>.startswith() rather than
1975         string.find().
1976
1977 2002-08-27  Anthony Towns  <ajt@debian.org>
1978
1979         * katie.py (in_override_p): when searching for a source override,
1980         and the dsc query misses, search for both udeb and deb overrides
1981         as well. Should fix the UNACCEPT issues with udebs.
1982
1983 2002-08-24  James Troup  <james@nocrew.org>
1984
1985         * melanie (main): remove gratuitous WHERE EXISTS sub-select from
1986         source+binary package finding code which was causing severe
1987         performance degradation with postgres 7.2.
1988
1989 2002-08-14  James Troup  <james@nocrew.org>
1990
1991         * julia (main): use the pwd.getpwall() to get system user info
1992         rather than trying to read a password file.  Add a -n/--no-action
1993         option.
1994
1995         * cron.hourly: julia no longer takes any arguments.
1996         * cron.hourly-non-US: likewise.
1997
1998 2002-08-07  James Troup  <james@nocrew.org>
1999
2000         * katie (install): handle multi-suite uploads when CopyChanges
2001         and/or CopyKatie are in use, ensuring we only copy stuff once.
2002
2003 2002-08-01  Ryan Murray  <rmurray@debian.org>
2004
2005         * wanna-build/trigger.daily: initial commit, with locking
2006         * cron.buildd: add locking against daily run
2007
2008 2002-07-30  James Troup  <james@nocrew.org>
2009
2010         * melanie (main): readd creation of suite_ids_list so melanie is
2011         remotely useful again.
2012
2013         * katie.conf: adopt for woody release; diable
2014         StableDislocationSupport, add oldstable, adjust other suites and
2015         mappings, fix up location.
2016         * katie.conf-non-US: likewise.
2017         * katie.conf-security: likewise.
2018
2019         * apt.conf.stable: adapt for woody release; add oldstable, adjust
2020         stable.
2021         * apt.conf.stable-non-US: likewise.
2022
2023         * apt.conf-security: adapt for woody release; adding oldstable,
2024         oldstable, adjust stable and testing.
2025         * cron.daily-security: likewise.
2026         * cron.buildd-security: likewise.
2027
2028         * apt.conf: adapt for woody release; rename woody-proposed-updates
2029         to testing-proposed-updates and proposed-updates to
2030         old-proposed-updates.
2031         * apt.conf-non-US: likewise.
2032
2033         * vars-non-US (copyoverrides): add sarge.
2034         * vars (copyoverrides): likewise.
2035
2036         * vars-security (suites): add oldstable.
2037
2038 2002-07-22  Ryan Murray  <rmurray@debian.org>
2039
2040         * apt.conf.security-buildd: use suite codenames instead of
2041           distnames.
2042
2043 2002-07-16  James Troup  <james@nocrew.org>
2044
2045         * denise (main): fix filenames for testing override files.
2046
2047 2002-07-14  James Troup  <james@nocrew.org>
2048
2049         * jennifer (process_it): call check_md5sums later so we can check
2050         files in the .dsc too
2051         (check_md5sums): check files in the .dsc too.  Check both md5sum
2052         and size.
2053
2054         * melanie (main): use parse_args() and join_with_commas_and() from
2055         utils.  If there's nothing to do, say so and exit, don't ask for
2056         confirmation etc.
2057
2058         * amber (join_with_commas_and): moved from here to ...
2059         * utils.py (join_with_commas_and): here.
2060
2061 2002-07-13  James Troup  <james@nocrew.org>
2062
2063         * madison (main): use parse_args() from utils.  Support
2064         -c/--component.
2065
2066         * jenna (parse_args): moved from here to ...
2067         * utils.py (parse_args): here.
2068
2069         * katie.conf (Architectures): minor corrections to the description
2070         for arm, mips and mipsel.
2071         * katie.conf-non-US (Architectures): likewise.
2072         * katie.conf-security (Architectures): likewise.
2073
2074         * cron.daily-security: use natalie's new -a/--add functionality to
2075         flesh out the security overrides.
2076
2077 2002-07-12  James Troup  <james@nocrew.org>
2078
2079         * cron.buildd (ARCHS): add arm.
2080
2081         * katie.conf: 2.2r7 was released.
2082         * katie.conf-non-US: likewise.
2083
2084         * utils.py (parse_changes): handle a multi-line field with no
2085         starting line.
2086
2087 2002-06-25  James Troup  <james@nocrew.org>
2088
2089         * templates/amber.advisory (To): add missing email address since
2090         __WHOAMI__ is only a name.
2091
2092         * katie.conf-security (Melane::LogFile): correct to go somewhere
2093         katie has write access to.
2094         (Location::/org/security.debian.org/ftp/dists/::Suites): add
2095         Testing.
2096
2097         * natalie: add support for -a/-add which adds packages only
2098         (ignoring changes and deletions).
2099
2100         * katie.py (Katie.announce): Dinstall::CloseBugs is a boolean so
2101         use FindB, not get.
2102
2103 2002-06-22  James Troup  <james@nocrew.org>
2104
2105         * jennifer (check_files): validate the package name and version
2106         field.  If 'Package', 'Version' or 'Architecture' are missing,
2107         don't try any further checks.
2108         (check_dsc): likewise.
2109
2110         * utils.py (re_taint_free): add '~' as a valid character.
2111
2112 2002-06-20  Anthony Towns  <ajt@debian.org>
2113
2114         * katie.conf-non-US: add OverrideSuite for w-p-u to allow uploads
2115
2116 2002-06-09  James Troup  <james@nocrew.org>
2117
2118         * jennifer (check_files): reduce useless code.
2119
2120         * cron.daily-security: run symlinks -dr on $ftpdir.
2121
2122         * vars-security (ftpdir): add.
2123
2124 2002-06-08  James Troup  <james@nocrew.org>
2125
2126         * neve (update_override_type): transaction is handled higher up in
2127         main().
2128         (update_priority): likewise.
2129         (process_sources): remove code that makes testing a duplicate of
2130         stable.
2131         (process_packages): likewise.
2132
2133         * templates/amber.advisory: add missing mail headers.
2134
2135         * cron.daily-security: also call apt-ftparchive clean for
2136         apt.conf.buildd-security.
2137         * cron.weekly: likewise.
2138
2139         * amber (do_upload): write out a list of source packages (and
2140         their version) uploaded for testing.
2141         (make_advisory): add more Subst mappings for the mail headers.
2142         (spawn): check for suspicious characters in the command and abort
2143         if their found.
2144
2145 2002-06-07  James Troup  <james@nocrew.org>
2146
2147         * ziyi (main): remove the 'nonus'/'security' hacks and use
2148         Dinstall::SuiteSuffix (if it exists) instead.  Always try to write
2149         the lower level Release files, even if they don't exist.  fubar
2150         out if we can't open a lower level Release file for writing.
2151
2152         * katie.conf-non-US (Dinstall): add SuiteSuffix, used to simplify
2153         ziyi.
2154         * katie.conf-security (Dinstall): likewise.
2155
2156         * amber (do_upload): renamed from get_file_list().  Determine the
2157         upload host from the original component.
2158         (init): Add a -n/--no-action option.  Fix how we get changes_files
2159         (i.e. from the return value of apt_pkg.ParseCommandLine(), not
2160         sys.argv).  Add an Options global.
2161         (make_advisory): support -n/--no-action.
2162         (spawn): likewise.
2163         (main): likewise.
2164         (usage): document -n/--no-action.
2165
2166         * cron.buildd-security: fix path to Packages-arch-specific in
2167         quinn-diff invocation.
2168
2169         * katie.conf-security (Dinstall::AcceptedAutoBuildSuites): change
2170         to proper suite names (i.e. stable, testing) rather than codenames
2171         (potato, woody).
2172         (Dinstall::DefaultSuite): likewise.
2173         (Suite): likewise.
2174         (Location::/org/security.debian.org/ftp/dists/::Suites): likewise.
2175         * vars-security (suites): likewise.
2176         * apt.conf-security: likewise.
2177
2178         * katie.conf-security (Component): add "updates/" prefix.
2179         (Suite::*::Components): likewise.
2180         (ComponentMappings): new; map all {ftp-master,non-US} components
2181         -> updates/<foo>.
2182
2183         * katie.conf-security (Natalie): removed; the options have
2184         defaults and ComponentPosition is used by alyson which doesn't
2185         work on security.d.o.
2186         (Amber): replace UploadHost and UploadDir with ComponentMappings
2187         which is a mapping of components -> URI.
2188         (Suite::*::CodeName): strip bogus "/updates" suffix hack.
2189         (SuiteMappings): use "silent-map" in preference to "map".
2190
2191         * cron.unchecked-security: fix call to cron.buildd-security.
2192
2193         * cron.daily-security: map local suite (stable) -> override suite
2194         (potato) when fixing overrides.  Correct component in natalie call
2195         to take into account "updates/" prefix.  Fix cut'n'waste in
2196         override.$dist.all3 generation, the old files weren't being
2197         removed, so they were endlessly growing.
2198
2199         * neve (main): don't use .Find for the CodeName since we require
2200         it.  Location::*::Suites is a ValueList.
2201         (check_signature): ignore duplicate SIGEXPIRED tokens.  Don't bomb
2202         out on expired keys, just warn.
2203         (update_override_type): new function; lifted from alyson.
2204         (update_priority): likewise.
2205         (main): use update_{override_type,priority}().
2206
2207         * jennifer (check_distributions): remove redunant test for
2208         SuiteMappings; ValueList("does-not-exist") returns [] which is
2209         fine.  Add support for a "silent-map" type which doesn't warn
2210         about the mapping to the user.
2211         (check_files): add support for ComponentMappings, similar to
2212         SuiteMappings, but there's no type, just a source and a
2213         destination and the original component is stored in "original
2214         component".
2215         * katie.py (Katie.dump_vars): add "original component" as an
2216         optionsal files[file] dump variable.
2217
2218         * claire.py (find_dislocated_stable): dehardcode 'potato' in SQL
2219         query.  Add support for section-less legacy locations like current
2220         security.debian.org through YetAnotherConfigBoolean
2221         'LegacyStableHasNoSections'.
2222         * katie.conf-security (Dinstall): LegacyStableHasNoSections is true.
2223
2224         * utils.py (real_arch): moved here from ziyi.
2225         * ziyi (real_arch): moved to utils.py.
2226         * ziyi (main): likewise.
2227
2228         * claire.py (find_dislocated_stable): use real_arch() with
2229         filter() to strip out source and all.
2230         * neve (main): likewise.
2231         * rene (main): likewise.
2232         * jeri (parse_packages): likewise.
2233
2234 2002-06-06  James Troup  <james@nocrew.org>
2235
2236         * tea (check_missing_tar_gz_in_dsc): modifed patch from Martin
2237         Michlmayr <tbm@cyrius.com> to be more verbose about what we're
2238         doing.
2239
2240 2002-05-23  Martin Michlmayr  <tbm@cyrius.com>
2241
2242         * jeri (check_joey): check if the line contains two elements
2243         before accessing the second.  Also, strip trailing spaces as well
2244         as the newline.
2245         * halle (check_joey): likewise.
2246
2247 2002-06-05  James Troup  <james@nocrew.org>
2248
2249         * cron.unchecked-security: new file; like cron.unchecked but if
2250         there's nothing to do exit so we don't call cron.buildd-security.
2251
2252         * apt.conf.buildd-security: new file.
2253
2254         * vars (archs): alphabetize.
2255         * vars-non-US (archs): likewise.
2256
2257         * vars-security: add unchecked.
2258
2259         * madison (main): reduce rather bizarrely verbose and purposeless
2260         code to print arches to a simple string.join.
2261
2262         * katie.conf (Suites::Unstable): add UdebComponents, a new
2263         valuelist of suites, used by jenna to flesh out the list of
2264         <suite>_main-debian-installer-binary-<arch>.list files generated.
2265         (Dinstall): add StableDislocationSupport, a new boolean used by
2266         jenna to enable or disable stable dislocation support
2267         (i.e. claire), as true.
2268
2269         * katie.conf (Dinstall): add StableDislocationSupport, a new
2270         boolean used by jenna to enable or disable stable dislocation
2271         support (i.e. claire), as true.
2272         * katie.conf-non-US: likewise.
2273         * katie.conf-security: likewise.
2274
2275         * cron.daily-security: generate .all3 overrides for the buildd
2276         support.  Freshen a local copy of Packages-arch-specific from
2277         buildd.debian.org.
2278
2279         * claire.py (find_dislocated_stable): disable the support for
2280         files in legacy-mixed locations since none of the Debian archives
2281         have any anymore.
2282
2283         * helena: new script; produces a report on NEW and BYHAND
2284         packages.
2285
2286         * jenna: rewritten from scratch to fix speed problems.  Run time
2287         on auric goes down from 31.5 minutes to 3.5 minutes.  Of that 3.5
2288         minutes, 105 seconds are the monster query and 70 odd seconds is
2289         claire.
2290
2291         * apt.conf.buildd (Default): remove MaxContentsChange as it's
2292         irrelevant.
2293
2294 2002-06-05  Ryan Murray  <rmurray@debian.org>
2295
2296         * cron.buildd-security: new file.
2297
2298 2002-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2299
2300         * denise (list): take a file argument and use it.
2301         (main): don't abuse sys.stdout, just write to the file.
2302
2303         * claire.py (usage): Fix misspelling.
2304         (clean_symlink): Simplify.
2305         (find_dislocated_stable): Avoid unnecessary work.
2306
2307 2002-05-29  James Troup  <james@nocrew.org>
2308
2309         * cameron: removed; apt-ftparchive can simply walk the directory.
2310
2311 2002-05-26  Anthony Towns  <ajt@debian.org>
2312
2313         * katie.conf{,-non-US}: Map testing to testing-proposed-updates
2314         for the autobuilders.
2315
2316 2002-05-24  Ryan Murray  <rmurray@debian.org>
2317
2318         * cron.buildd: update override files before running apt-ftparchive
2319
2320 2002-05-23  Martin Michlmayr  <tbm@cyrius.com>
2321
2322         * amber (main): remove extra space in prompt.
2323
2324         * utils.py (validate_changes_file_arg): use original filename in
2325         error messages.
2326
2327         * jeri (check_joey): close file after use.
2328         (parse_packages): likewise.
2329         (main): setup debug option properly.
2330
2331         * melanie (main): remove unused packages variable and simplify the
2332         code to build up con_packages by using repr().
2333
2334 2002-05-23  James Troup  <james@nocrew.org>
2335
2336         * lisa (recheck): when we reject, also return 0 so the package is
2337         skipped.
2338         (sg_compare): fix note sorting.
2339         (recheck): remove the .katie file after rejection.
2340
2341         * katie.py (Katie.accept): accepted auto-build support take 3;
2342         this time adding support for security.  Security needs a) non-pool
2343         files copied rather than symlinked since accepted is readable only
2344         by katie/security and www-data needs to be able to see the files,
2345         b) needs per-suite directories.  SpecialAcceptedAutoBuild becomes
2346         AcceptedAutoBuildSuites and is a ValueList containing the suites.
2347         SecurityAcceptedAutoBuild is a new boolean which controls whether
2348         or not normal or security style is used.  The unstable_accepted
2349         table was renamed to accepted_autobuild and a suite column added.
2350         Also fix a bug noticed by Ryan where an existent orig.tar.gz
2351         didn't have it's last_used/in_accepted flags correctly updated.
2352         * katie (install): likewise.
2353         * rhona (clean_accepted_autobuild): likewise.
2354
2355 2002-05-22  James Troup  <james@nocrew.org>
2356
2357         * lisa (sort_changes): new function; sorts changes properly.
2358         Finally.
2359         (sg_compare): new function; helper for sort_changes().  Sorts by
2360         have note and time of oldest upload.
2361         (indiv_sg_compare): new function; helper for sort_changes().
2362         Sorts by source version, have source and filename.
2363         (main): use sort_changes().
2364         (changes_compare): obsoleted; removed.
2365
2366 2002-05-20  James Troup  <james@nocrew.org>
2367
2368         * rhona (clean_accepted_autobuild): don't die if a file we're
2369         trying to remove doesn't exist.  Makes rhona more friendly to
2370         katie/katie.py crashes/bugs without any undue cost.
2371
2372 2002-05-19  James Troup  <james@nocrew.org>
2373
2374         * lisa (main): if sorting a large number of changes give some
2375         feedback.
2376         (recheck): new function, run the same checks (modulo NEW,
2377         obviously) as katie does, if they fail do the standard
2378         reject/skip/quit dance.
2379         (do_pkg): use it.
2380
2381         * katie (install): don't try to unlink the symlink in the
2382         AcceptedAutoBuild support if the destination is not a symlink (or
2383         doesn't exist).  Avoids unnecessary bombs on previous partial
2384         accepts and will still bomb hard if the file exists and isn't a
2385         symlink.
2386
2387         * utils.py: blah, commands _is_ used when the mail stuff isn't
2388         commented out like it is in my test environment.
2389
2390         * lisa (changes_compare): "has note" overrides everything else.
2391         Use .katie files rather than running parse_changes, faster and
2392         allows "has note" to work.  Correct version compare, it was
2393         reversed.  Ctime check should only kick in if the source packages
2394         are not the same.
2395         (print_new): print out and return any note.  Rename 'ret_code' to
2396         'broken'.
2397         (edit_new): renamed from spawn_editor.  Don't leak file
2398         descriptors.  Clean up error message if editor fails.
2399         (edit_note): new function, allows one to edit notes.
2400         (do_new): add note support, editing and removing.
2401         (init): kill -s/--sort; with notes we always want to use our
2402         sorting method.
2403         (usage): likewise.
2404
2405         * katie.py (Katie.dump_vars): add "lisa note" as an optional
2406         changes field.
2407
2408         * utils.py (build_file_list): rename 'dsc' to 'is_a_dsc' and have
2409         it default to 0.  Adapt tests to assume it's boolean.
2410         * fernanda.py (check_changes): adjust call appropriately.
2411         * halle (check_changes): likewise.
2412         * jennifer (check_changes): likewise.
2413         * jeri (check_changes): likewise.
2414         * shania (flush_orphans): likewise.
2415
2416         * jennifer (check_dsc): pass is_a_dsc by name when calling
2417         build_file_list() for clarity.
2418         * shania (flush_orphans): likewise.
2419         * tea (check_missing_tar_gz_in_dsc): likewise.
2420
2421         * jennifer (check_dsc): pass dsc_whitespace_rules by name when
2422         calling parse_changes() for clarity.
2423         * tea (check_dscs): likewise.
2424
2425         * utils.py (parse_changes): make dsc_whitespace_rules default to
2426         not true.
2427         * halle (check_changes): adjust call appropriately.
2428         * jennifer (check_changes): likewise.
2429         * jeri (check_changes): likewise.
2430         * lisa (changes_compare): likewise.
2431         * utils.py (changes_compare): likewise.
2432         * melanie (main): likewise.
2433         * shania (flush_orphans): likewise.
2434         * fernanda.py (check_changes): likewise.
2435
2436 2002-05-18  James Troup  <james@nocrew.org>
2437
2438         * katie.py (Katie.dump_vars): make the .katie file unreadable,
2439         it's not useful and by and large a duplication of information
2440         available in readable format in other files.
2441
2442 2002-05-16  Ryan Murray  <rmurray@debian.org>
2443
2444         * melanie: Dir::TemplatesDir -> Dir::Templates
2445
2446 2002-05-15  Ryan Murray  <rmurray@debian.org>
2447
2448         * cameron: correct the use of os.path.join
2449
2450 2002-05-15  Anthony Towns  <ajt@debian.org>
2451
2452         * ziyi: Update to match the new format for Architectures/Components
2453         in katie.conf.
2454
2455 2002-05-14  James Troup  <james@nocrew.org>
2456
2457         * amber: new script; 'installer' wrapper script for the security
2458         team.
2459
2460         * katie.py (Katie.announce): remove unused 'dsc' local
2461         variable. (pychecker)
2462
2463         * ziyi: pre-define AptCnf and out globals to None. (pychecker)
2464
2465         * neve: don't import sys, we don't use it. (pychecker)
2466         (check_signature): fix return type mismatch. (pychecker)
2467
2468         * utils.py: don't import commands, we don't use it.  (pychecker)
2469
2470         * katie (install): SpecialAcceptedAutoBuild is a boolean.
2471
2472         * katie.py (Katie.dump_vars): don't store "oldfiles", it's
2473         obsoleted by the change to "othercomponents" handling in jennifer
2474         detailed below.
2475         (Katie.cross_suite_version_check): new function; implements
2476         cross-suite version checking rules specified in the conf file
2477         while also enforcing the standard "must be newer than target
2478         suite" rule.
2479         (Katie.check_binary_against_db): renamed, since it's invoked once
2480         per-binary, "binaries" was inaccurate.  Use
2481         cross_suite_version_check() and don't bother with the "oldfiles"
2482         rubbish as jennifer works out "othercomponents" herself now.
2483         (Katie.check_source_against_db): use cross_suite_version_check().
2484
2485         * katie (check): the version and file overwrite checks
2486         (check_{binary,source,dsc}_against_db) are not per-suite.
2487
2488         * jennifer (check_files): less duplication of
2489         'control.Find("Architecture", "")' by putting it in a local
2490         variable.
2491         (check_files): call check_binary_against_db higher up since it's
2492         not a per-suite check.
2493         (check_files): get "othercomponents" directly rather than having
2494         check_binary_against_db do it for us.
2495
2496         * heidi (main): 'if x:', not 'if x != []:'.
2497         * katie.py (Katie.in_override_p): likewise.
2498         (Katie.check_dsc_against_db): likewise.
2499         * natalie (main): likewise.
2500         * rene (main): likewise.
2501         * ziyi (real_arch): likewise.
2502
2503         * alyson (main): Suite::%s::Architectures, Suite::%s::Components
2504         and OverrideType are now value lists, not lists.
2505         * andrea (main): likewise.
2506         * cindy (main): likewise.
2507         * claire.py (find_dislocated_stable): likewise.
2508         * denise (main): likewise.
2509         * jenna (main): likewise.
2510         * jennifer (check_distributions): likewise.
2511         (check_files): likewise.
2512         (check_urgency): likewise (Urgency::Valid).
2513         * jeri (parse_packages): likewise.
2514         * neve (main): likewise (and Location::%s::Suites).
2515         * rene (main): likewise.
2516
2517 2002-05-13  James Troup  <james@nocrew.org>
2518
2519         * katie.py (Katie.check_source_against_db): correct case of reject
2520         message to be consistent with binary checks.
2521
2522         * jennifer (get_status_output): don't leak 2 file descriptors per
2523         invocation.
2524         (check_signature): add missing '\n' to "duplicate status token"
2525         error message.
2526
2527 2002-05-09  James Troup  <james@nocrew.org>
2528
2529         * utils.py (validate_changes_file_arg): new function; validates an
2530         argument which should be a .changes file.
2531         * ashley (main): use it.
2532         * lisa (main): likewise.
2533
2534         * katie.py (Katie.check_dsc_against_db): since there can be more
2535         than one .orig.tar.gz make sure we don't assume the .orig.tar.gz
2536         entry still exists in files.
2537
2538         * jennifer (check_dsc): handle the .orig.tar.gz disappearing from
2539         files, since check_dsc_against_db() deletes the .orig.tar.gz
2540         entry.
2541
2542         * cameron: cleanups.
2543
2544         * utils.py (changes_compare): change sort order so that source
2545         name and source version trump 'have source'; this should fix
2546         UNACCEPT problems in katie where -1 hppa+source & i386, -2
2547         i386&source & hppa lead to -1 i386 unaccept.  Problem worked out
2548         by Ryan.
2549
2550         * lisa (main): allow the arguments to be .katie files too.
2551
2552 2002-05-07  Ryan Murray  <rmurray@debian.org>
2553
2554         * cron.buildd: add s390 to arch list again
2555
2556 2002-05-05  Ryan Murray  <rmurray@debian.org>
2557
2558         * cron.buildd: new script, update w-b database from unstable_accepted
2559         table
2560         * cameron: new script, take list in unstable_accepted and write out
2561         a file list for apt-ftparchive
2562         * apt.conf.buildd: new apt configuration for Packages/Sources for
2563         unstable_accepted
2564         * vars: add s390 to arch list.
2565
2566 2002-05-03  James Troup  <james@nocrew.org>
2567
2568         * neve (main): don't hard code the calling user as that doesn't
2569         work with modern postgres installs.  Fix psql invocation for
2570         init_pool.sql (database name required).  Dont' hard code the
2571         database name.
2572         (process_sources): add support for fingerprint and install_date.
2573         (process_packages): add support for fingerprint.
2574         (do_sources): pass in the directory, fingerprint support needs it.
2575         (get_status_output): borrowed from jennifer.
2576         (reject): likewise.
2577         (check_signature): likewise.
2578
2579         * katie (install): only try to log urgencies if Urgency_Logger is
2580         defined.
2581         (main): only initialize Urgency_Logger is Dir::UrgencyLog is
2582         defined; only close Urgency_Logger if it's defined.
2583
2584         * catherine (poolize): adapt for Dir rationalization.
2585         * claire.py (find_dislocated_stable): likewise.
2586         * denise (main): likewise.
2587         * halle (check_joey): likewise.
2588         * jenna: likewise.
2589         * jennifer: likewise.
2590         * jeri: likewise.
2591         * katie.py: likewise.
2592         * katie: likewise.
2593         * lisa (do_bxa_notification): likewise.
2594         * logging.py (Logger.__init__): likewise
2595         * rene (main): likewise.
2596         * rhona (clean): likewise.
2597         * shania (init): likewise.
2598         * tea: likewise.
2599         * ziyi: likewise.
2600
2601         * lisa (add_overrides): Dinstall::BXANotify is a boolean, use
2602         FindB, not FindI.
2603
2604         * rhona (clean_accepted_autobuild): SpecialAcceptedAutoBuild is a
2605         boolean, use FindB, not get.
2606
2607         * katie.py (Katie.check_dsc_against_db): ignore duplicate
2608         .orig.tar.gz's which are an exact (size/md5sum) match.
2609
2610         * ashley (main): really allow *.katie files as arguments too;
2611         noticed by aj.
2612
2613         * sql-aptvc.cpp: postgres.h moved to a "server" subdirectory.
2614
2615 2002-05-03  Anthony Towns  <ajt@debian.org>
2616
2617         * ziyi: support for security.
2618
2619 2002-05-02  James Troup  <james@nocrew.org>
2620
2621         * jennifer (accept): call Katie.check_override() unconditional as
2622         no-mail check moved into that function.
2623         (do_byhand): likewise.
2624
2625         * katie.py (Katie.check_override): don't do anything if we're a)
2626         not sending mail or b) the override disparity checks have been
2627         disbled via Dinstall::OverrideDisparityCheck.
2628
2629         * jennifer (check_files): don't hard code Unstable as the suite
2630         used to check for architecture validity; use
2631         Dinstall::DefaultSuite instead, if it exists.
2632         (accept): conditionalize
2633
2634         * katie.py (Katie.update_subst): support global maintainer
2635         override with Dinstall::OverrideMaintainer.
2636
2637         * jennifer (check_distributions): new function, Distribution
2638         validation and mapping.  Uses new SuiteMappings variable from
2639         config file to abstract suite mappings.
2640         (check_changes): call it.
2641
2642         * natalie: renamed; nothing imports or likely will for some time.
2643
2644         * denise (main): remove unused natalie import and init().
2645
2646         * natalie.py (init): removed.
2647         (main): initalize here instead and don't hardcode the database
2648         name.
2649
2650 2002-04-30  James Troup  <james@nocrew.org>
2651
2652         * katie.py (Katie.close_bugs): new function, split out from
2653         announce().
2654         (Katie.announce): only call close_bugs() if Dinstall::CloseBugs is
2655         true.
2656         (Katie.close_bugs): new function, split out
2657         (Katie.close_bugs): return immediately if there are no bugs to
2658         close.
2659
2660         * jennifer (acknowledge_new): adapt for new utils.TemplateSubst().
2661         * katie (do_reject): likewise.
2662         (stable_install): likewise.
2663         * katie.py (Katie.announce): likewise.
2664         (Katie.accept): likewise.
2665         (Katie.check_override): likewise.
2666         (Katie.do_reject): likewise.
2667         * lisa (do_bxa_notification): likewise.
2668         * melanie (main): likewise.
2669
2670         * utils.py (TemplateSubst): change second argument to be a
2671         filename rather than a template since every caller opened a file
2672         on the fly which was ugly and leaked file descriptor.
2673
2674 2002-04-29  James Troup  <james@nocrew.org>
2675
2676         * katie.py (Katie.announce): (modified) patch from Raphael Hertzog
2677         <hertzog@debian.org> to send 'accepted' announce mails to the
2678         PTS. [#128140]
2679
2680 2002-04-24  James Troup  <james@nocrew.org>
2681
2682         * init_pool.sql (unstable_accepted): add two new fields to
2683         unstable_accepted; in_accepted is a boolean indicating whether or
2684         not the file is in accepted and last_used is a timestamp used by
2685         rhona to determine when to remove symlinks for installed packages.
2686
2687         * katie.py (Katie.accept): auto-build support take 2.  Create
2688         symlinks for all files into a seperate directory.  Add files to
2689         unstable_accepted as paths to the new directory; mark them as
2690         being in accepted for cameron.  Properly conditionalize it on a
2691         configuration variable.
2692
2693         * katie (install): likewise.  Update symlinks to point into the
2694         pool; mark the files for later deletion by rhona and mark them as
2695         not being in accepted for cameron.
2696
2697         * rhona (clean_accepted_autobuild): new function.
2698
2699 2002-04-22  James Troup  <james@nocrew.org>
2700
2701         * jennifer (check_files): handle db_access.get_location_id()
2702         returning -1 properly/better.
2703
2704         * rhona (clean_fingerprints): new function.
2705
2706 2002-04-21  James Troup  <james@nocrew.org>
2707
2708         * utils.py (touch_file): unused; remove.
2709         (plural): likewise.
2710
2711         * jennifer (check_files): close file descriptor used to get the
2712         control file.
2713         (check_md5sums): likewise.
2714         (callback): likewise.
2715
2716         * katie.py (Katie.do_reject): handle manual rejects much better;
2717         call the editor first and get confirmation from the user before
2718         proceeding.
2719
2720         * jennifer (check_signature): prefix_multi_line_string() moved to
2721         utils.
2722
2723         * utils.py (prefix_multi_line_string): moved here from jennifer.
2724
2725 2002-04-20  James Troup  <james@nocrew.org>
2726
2727         * lisa (main): handle non-existent files.
2728
2729         * ashley (main): allow *.katie files as arguments too.
2730
2731 2002-04-19  James Troup  <james@nocrew.org>
2732
2733         * katie.py (Katie.accept): add stuff to help auto-building from
2734         accepted; if the .orig.tar.gz is not part of the upload (i.e. it's
2735         in the pool), create a symlink to it in the accepted directory and
2736         add the .dsc and .{u,}deb(s) to a new 'unstable_accepted' table.
2737
2738         * katie (install): undo the "auto-building from accepted" stuff
2739         (i.e. remove the .orig.tar.gz symlink and remove the files from
2740         unstable_accepted table).
2741
2742 2002-04-16  James Troup  <james@nocrew.org>
2743
2744         * jennifer (upload_too_new): fix typo which was causing all
2745         timestamp comparisons to be against the .changes file.  Also move
2746         back to the original directory so we do the comparisons against
2747         accurate timestamps.
2748
2749         * tea (check_missing_tar_gz_in_dsc): new function.
2750
2751         * jennifer (check_dsc): add a check to ensure there is a .tar.gz
2752         file mentioned in the .dsc.
2753
2754         * lisa (main): use X-Katie in the mail headers, not X-Lisa; that
2755         way mails reach debian-{devel-,}changes@l.d.o.
2756
2757 2002-04-02  Ryan Murray  <rmurray@debian.org>
2758
2759         * cron.daily: run shania after rhona
2760         * cron.daily-non-US: likewise.
2761
2762 2002-04-01  James Troup  <james@nocrew.org>
2763
2764         * katie: re-add proposed-updates/stable install support.
2765
2766         * katie.py (Katie.dump_vars): add changes["changes"] as an
2767         optional field; should be mandatory later.
2768
2769 2002-03-31  James Troup  <james@nocrew.org>
2770
2771         * katie (install): support a Suite::<foo>::CopyKatie similar to
2772         CopyChanges.  Done seperately because .katie files don't need to
2773         be mirrored and will probably be copied to another directory as a
2774         result.
2775
2776         * halle (main): add missing debug to options.
2777
2778 2002-03-29  James Troup  <james@nocrew.org>
2779
2780         * madison (main): add a -r/--regex option.
2781
2782 2002-03-26  James Troup  <james@nocrew.org>
2783
2784         * lisa: don't trample on changes["distribution"]; make a copy of
2785         it as changes["suite"] instead and use that.
2786
2787 2002-03-16  Anthony Towns  <ajt@debian.org>
2788
2789         * templates/lisa.bxa_notification: Fix some grammatical errors.
2790         Encourage contact via bxa@ftp-master email address.
2791
2792 2002-03-15  James Troup  <james@nocrew.org>
2793
2794         * jennifer (check_timestamps): remove bogus raise in except.
2795
2796 2002-03-15  Anthony Towns  <ajt@debian.org>
2797
2798         * cron.monthly: rotate mail/archive/bxamail as well as
2799         mail/archive/mail. This is for a complete archive of
2800         correspondence with the BXA.
2801
2802 2002-03-14  Anthony Towns  <ajt@debian.org>
2803
2804         * crypto-in-main changes.
2805
2806         * utils.py (move, copy): add an optional perms= parameter to let you
2807         set the resulting permissions of the moved/copied file
2808         * katie.py (force_move): rejected/morgued files should be unreadable
2809         * jennifer (do_byhand, acknowledge_new): pending new and byhand files
2810         should be unreadable.
2811
2812 2002-03-07  Ryan Murray  <rmurray@debian.org>
2813
2814         * katie (install): check for existance of "files id" key as well as
2815         it being set to a valid value.
2816         * katie (install): check for existense and valid value for location
2817         id as well
2818
2819 2002-03-05  Ryan Murray  <rmurray@debian.org>
2820
2821         * katie.py (do_reject): reread the reason file after editing it.
2822
2823 2002-02-25  James Troup  <james@nocrew.org>
2824
2825         * jennifer (check_changes): don't enforce sanity in .changes file
2826         names since it doesn't seem to be possible; pcmica-cs and similar
2827         freak show packages in particular cause real problems.
2828
2829         * katie.py (Katie.check_dsc_against_db): initialize 'found' for
2830         each dsc_file since the .orig.tar.gz checking code now uses it as
2831         a boolean.  Fixes bizarro rejections which bogusly claimed
2832         .diff.gz md5sum/size was incorrect.
2833
2834 2002-02-24  James Troup  <james@nocrew.org>
2835
2836         * katie (process_it): reset reject_message.
2837
2838 2002-02-22  James Troup  <james@nocrew.org>
2839
2840         * db_access.py(set_files_id): disable use of
2841         currval('files_id_seq') because it was taking 3 seconds on auric
2842         which is insane (most calls take < 0.01) and simply call
2843         get_files_id() for the return value instead.
2844
2845         * katie.py (Katie.do_query): convenience function; unused by
2846         default, useful for profiling.
2847         * db_access.py (do_query): likewise.
2848
2849         * katie (install): fix insert SQL call when binary has no source.
2850
2851         * lisa (determine_new): auto-correct non-US/main to non-US.
2852         (determine_new): add a warning when adding things to stable.
2853         (edit_index): use our_raw_input().
2854         (edit_overrides): likewise.
2855         (do_new): likewise.  Use re.search() not re.match() since the
2856         default answer may not be the first one.
2857         (do_byhand): likewise.
2858         (do_new): Default to 'S'kip and never 'A'dd.
2859
2860         * jennifer (action): pass prompt to our_raw_input().
2861         * melanie (game_over): likewise.
2862         * katie (action): likewise.
2863
2864         * utils.py (our_raw_input): add an optional prompt argument to
2865         make the function more usable as a drop in replacement for
2866         raw_input().
2867
2868         * jennifer (check_files): correct reject() to not double prefix
2869         when using katie.py based functions.
2870         (check_dsc): likewise.
2871
2872         * katie.py (Katie.reject): prepend a new line if appropriate
2873         rathen than appending one to avoid double new lines when caller
2874         adds one of his own.
2875
2876         * lisa (determine_new): warn if the package is also in other
2877         components.
2878
2879 2002-02-20  James Troup  <james@nocrew.org>
2880
2881         * jennifer (check_files): if .changes file lists "source" in
2882         Architecture field, there must be a .dsc.
2883
2884 2002-02-15  James Troup  <james@nocrew.org>
2885
2886         * ashley (main): add some missing fields.
2887
2888         * katie.py (Katie.check_dsc_against_db): fix to take into account
2889         the fact that the .orig.tar.gz might be in byhand, accepted or
2890         new.  Also fix calling of reject().
2891         (Katie.check_binaries_against_db): fix calling of reject().
2892         (Katie.check_source_against_db): likewise.
2893         (Katie.dump_vars): add missing variables used for bug closures.
2894
2895         * lisa (changes_compare_by_time): sort by reverse time.
2896
2897         * katie.py (Katie.accept): log.
2898         (Katie.dump_vars): missing has_key test for optional changes fields.
2899
2900         * jennifer (main): print "Accepted blah blah" to stdout, not stderr.
2901         (process_it): traceback goes to stderr, not stdout.
2902         (acknowledge_new): log.
2903         (do_byhand): likewise.
2904
2905         * katie.py (Katie.update_subst): fix typo (Cnf vs. self.Cnf).
2906
2907         * add_constraints.sql: add grants for the new fingerprint table.
2908
2909 2002-02-13  James Troup  <james@nocrew.org>
2910
2911         * katie (do_reject): basename the .changes filename before trying
2912         to use it to construct the .reason filename.
2913         (process_it): call Katie.update_subst() so do_reject() DTRT with
2914         the mail template.
2915         (do_reject): setup the mail template correctly.
2916
2917 2002-02-12  James Troup  <james@nocrew.org>
2918
2919         * tea (process_dir): renamed 'arg' to 'unused' for clarity.
2920         (check_files): don't abuse global dictionaries.
2921         (Ent): use all variables.
2922         (check_timestamps): don't abuse global dictionaries.
2923
2924         * fernanda.py: renamed to .py so lisa can import it.
2925         (check_dsc): remove unused local variables (pychecker).
2926         (display_changes): split off from check_changes.
2927
2928         * katie: rewritten; most of the functionality moves to jennifer;
2929         what's left is the code to install packages once a day from the
2930         'accepted' directory.
2931
2932         * jennifer: new program, processes packages in 'unchecked'
2933         (i.e. most of the non-install functionality of old katie).
2934
2935         * katie.py: common functions shared between the clique of
2936         jennifer, lisa and katie.
2937
2938         * lisa: new program; handles NEW and BYHAND packages.
2939
2940         * jeri (usage): new function.
2941         (main): use it.
2942         (check_package): remove unused local variable (pychecker).
2943
2944         * init_pool.sql: new table fingerprint.  Add fingerprint colums to
2945         binaries and source.  Add install_date to source.
2946
2947         * halle (usage): new function.
2948         (main): use it.  Remove unused options.
2949         (check_changes): remove unused local variable (pychecker).
2950
2951         * add_constraints.sql: add fingerprint references.
2952
2953         * db_access.py (get_or_set_fingerprint_id): new function.
2954
2955         * ashley (main): new program; dumps the contents of a .katie file
2956         to stdout.
2957
2958         * alyson (main): remove option handling since we don't actually
2959         support any.
2960         * cindy (main): likewise.
2961
2962         * remove unnecessary imports and pre-define globals (pychecker).
2963
2964 2002-02-11  Anthony Towns  <ajt@debian.org>
2965
2966         * added installation-report and upgrade-report pseudo-packages
2967
2968 2002-01-28  Martin Michlmayr  <tbm@cyrius.com>
2969
2970         * katie (update_subst): use Dinstall::TrackingServer.
2971         * melanie (main): likewise.
2972
2973 2002-01-27  James Troup  <james@nocrew.org>
2974
2975         * shania (main): it's IntLevel not IntVal; thanks to tbm@ for
2976         noticing, jgg@ for fix.
2977
2978 2002-01-19  James Troup  <james@nocrew.org>
2979
2980         * utils.py (extract_component_from_section): handle non-US
2981         non-main properly.
2982
2983 2002-01-12  James Troup  <james@nocrew.org>
2984
2985         * madison: add support for -S/--source-and-binary which displays
2986         information for the source package and all it's binary children.
2987
2988 2002-01-13  Anthony Towns  <ajt@debian.org>
2989
2990         * katie.conf: Remove Catherine Limit and bump stable to 2.2r5
2991         * katie.conf: Add Dinstall::SigningKeyIds option, set to the 2001
2992           and 2002 key ids.
2993         * katie.conf-non-US: Likewise.
2994         * ziyi: Suppoer Dinstall::SigningKeyIds to sign a Release file with
2995           multiple keys automatically. This is probably only useful for
2996           transitioning from an expired (or revoked?) key.
2997
2998 2002-01-08  Ryan Murray  <rmurray@debian.org>
2999
3000         * debian/python-dep: new file that prints out python:Depends for
3001           substvars
3002         * debian/control: use python:Depends, build-depend on python
3003           lower Depends: on postgresql to Suggests:
3004         * debian/rules: determine python version, install to the correct
3005           versioned dir
3006
3007 2001-12-18  Anthony Towns  <ajt@debian.org>
3008
3009         * ziyi: unlink Release files before overwriting them (in case they've
3010           been merged)
3011         * ziyi: always include checksums/sizes for the uncompressed versions
3012           of Sources and Packages, even if they're not present on disk
3013
3014 2001-11-26  Ryan Murray  <rmurray@debian.org>
3015
3016         * ziyi (main): add SigningPubKey config option
3017         * katie.conf: use SigningPubKey config option
3018         * katie.conf-non-US: likewise
3019
3020 2001-11-24  James Troup  <james@nocrew.org>
3021
3022         * katie (acknowledge_new): log newness.
3023
3024 2001-11-24  Anthony Towns  <ajt@debian.org>
3025
3026         * ziyi (real_arch): bail out if some moron forgot to reset
3027         untouchable on stable.
3028         (real_arch): source Release files.
3029
3030 2001-11-19  James Troup  <james@nocrew.org>
3031
3032         * claire.py (main): don't use apt_pkg.ReadConfigFileISC and
3033         utils.get_conf().
3034         * shania (main): likewise.
3035
3036         * rhona (main): add default options.
3037
3038         * db_access.py (get_archive_id): case independent.
3039
3040         * katie (action): sort files so that ordering is consistent
3041         between mails; noticed/requested by Joey.
3042
3043 2001-11-17  Ryan Murray  <rmurray@debian.org>
3044
3045         * utils.py: add get_conf function, change startup code to read all
3046           config files to the Cnf that get_conf returns
3047           use the component list from the katie conf rather than the hardcoded
3048           list.
3049         * all scripts: use new get_conf function
3050         * shania: fix try/except around changes files
3051         * jenna: only do debian-installer if it is a section in Cnf
3052
3053 2001-11-16  Ryan Murray  <rmurray@debian.org>
3054
3055         * shania (main): Initialize days to a string of a number.
3056                  (main): Initialize Cnf vars before reading in Cnf
3057
3058 2001-11-14  Ryan Murray  <rmurray@debian.org>
3059
3060         * shania (main): Initialize days to a number.
3061
3062 2001-11-04  James Troup  <james@nocrew.org>
3063
3064         * docs/Makefile: use docbook-utils' docbook2man binary.
3065
3066         * Change all "if foo == []" constructs into "if not foo".
3067
3068         * katie (check_changes): when installing into stable from
3069         proposed-updates, remove all non-stable target distributions.
3070         (check_override): don't check for override disparities on stable
3071         installs.
3072         (stable_install): update install_bytes appropriately.
3073         (reject): stable rejection support; i.e. don't remove files when
3074         rejecting files in the pool, rather remove them from the
3075         proposed-update suite instead, rhona will do the rest.
3076         (manual_reject): support for a stable specific template.
3077         (main): setup up stable rejector in subst.
3078
3079 2001-11-04  Martin Michlmayr  <tbm@cyrius.com>
3080
3081         * debian/control (Build-Depends): docbook2man has been superseded
3082         by docbook-utils.
3083
3084         * neve (main): exit with a more useful error message.
3085         (update_suites): Suite::<suite>::Version, Origin and Description
3086         are not required, so don't fail if they don't exist.
3087
3088         * db_access.py (get_archive_id): return -1 on error rather than
3089         raise an exception.
3090         (get_location_id): likewise.
3091
3092         * madison (main): don't exit on the first not-found package,
3093         rather exit with an appropriate return code after processing all
3094         packages.
3095
3096 2001-11-03  James Troup  <james@nocrew.org>
3097
3098         * claire.py (find_dislocated_stable): add per-architecture
3099         symlinks for dislocated architecture: all debs.
3100
3101 2001-10-19  Anthony Towns  <ajt@debian.org>
3102
3103         * apt.conf*, katie.conf*: add mips, mipsel, s390 to testing.
3104
3105 2001-10-10  Anthony Towns  <ajt@debian.org>
3106
3107         * claire.py (fix_component_section): do _not_ assign to None under
3108         any circumstances
3109
3110 2001-10-07  Martin Michlmayr  <tbm@cyrius.com>
3111
3112         * melanie (main): don't duplicate architectures when removing from
3113         more than one suite.
3114
3115         * heidi (main, process_file, get_list): report suite name not ID.
3116
3117         * naima (nmu_p): be case insensitive.
3118
3119         * naima (action): more list handling clean ups.
3120
3121         * melanie (main): clean up lists handling to use string.join and
3122         IN's.
3123
3124         * madison (main): clean up suite and architecture argument parsing
3125         to use slices less and string.join more.
3126
3127         * utils.py (parse_changes): Use string.find() instead of slices for
3128         string comparisons thereby avoid hardcoding the length of strings.
3129         * ziyi (main): likewise.
3130
3131 2001-10-07  James Troup  <james@nocrew.org>
3132
3133         * Remove mode argument from utils.open_files() calls if it's the
3134         default, i.e. 'r'.
3135
3136 2001-09-27  James Troup  <james@nocrew.org>
3137
3138         * katie (init): new function; options clean up.
3139         (usage): add missing options, remove obsolete ones.
3140         (main): adapt for the two changes above.  If the lock file or
3141         new-ack log file don't exist, create them.  Don't try to open the
3142         new-ack log file except running in new-ack mode.
3143
3144         * alyson (main): initialize all the tables that are based on the
3145         conf file.
3146
3147         * utils.py (touch_file): like touch(1).
3148         (where_am_i): typo.
3149
3150         * catherine (usage): new.
3151         (main): use it.  options cleanup.
3152         * claire.py: likewise.
3153         * fernanda: likewise.
3154         * heidi: likewise.
3155         * jenna: likewise.
3156         * shania: likewise.
3157         * ziyi: likewise.
3158
3159         * andrea: options cleanup.
3160         * charisma: likewise.
3161         * julia: likewise.
3162         * madison: likewise.
3163         * melanie: likewise.
3164         * natalie: likewise.
3165         * rhona: likewise.
3166         * tea: likewise.
3167
3168 2001-09-26  James Troup  <james@nocrew.org>
3169
3170         * utils.py: default to sane config file locations
3171         (/etc/katie/{apt,katie}.conf.  They can be the actual config files
3172         or they can point to the real ones through use of a new Config
3173         section.  Based on an old patch by Adam Heath.
3174         (where_am_i): use the new default config stuff.
3175         (which_conf_file): likewise.
3176         (which_apt_conf_file): likewise.
3177
3178         * charisma (main): output defaults to
3179         `Package~Version\tMaintainer'; input can be of either form.  When
3180         parsing the new format do version comparisons, when parsing the
3181         old format assume anything in the extra file wins.  This fixes the
3182         problem of newer non-US packages being overwhelmed by older
3183         versions still in stable on main.
3184
3185 2001-09-17  James Troup  <james@nocrew.org>
3186
3187         * natalie.py (list): use result_join().
3188
3189         * denise (main): result_join() moved to utils.
3190
3191         * utils.py (result_join): move to utils; add an optional seperator
3192         argument.
3193
3194 2001-09-14  James Troup  <james@nocrew.org>
3195
3196         * heidi (set_suite): new function; does --set like natalie does,
3197         i.e. turns it into a sequence of --add's and --remove's
3198         internally.  This is a major win (~20 minute run time > ~20
3199         seconds) in the common, everday (i.e. testing) case.
3200         (get_id): common code used by set_suite() and process_file().
3201         (process_file): call set_suite() and get_id().
3202         (main): add logging support.
3203
3204         * julia: new script; syncs PostgeSQL with (LDAP-generated) passwd
3205         files.
3206
3207         * utils.py (parse_changes): use slices or simple string comparison
3208         in favour of regexes where possible.
3209
3210         * sql-aptvc.cpp (versioncmp): rewritten to take into account the
3211         fact that the string VARDATA() points to are not null terminated.
3212
3213         * denise (result_join): new function; like string.join() but
3214         handles None's.
3215         (list): use it.
3216         (main): likewise.
3217
3218         * charisma (main): python-pygresql 7.1 returns None not "".
3219
3220 2001-09-14  Ryan Murray  <rmurray@debian.org>
3221
3222         * natalie.py (list): handle python-pygresql 7.1 returning None.
3223
3224 2001-09-10  Martin Michlmayr  <tbm@cyrius.com>
3225
3226         * madison (main): return 1 if no package is found.
3227
3228 2001-09-08  Martin Michlmayr  <tbm@cyrius.com>
3229
3230         * madison (main): better error handling for incorrect
3231         -a/--architecture or -s/--suite arguments.
3232         (usage): new.
3233         (main): use it.
3234
3235 2001-09-05  Ryan Murray  <rmurray@debian.org>
3236
3237         * charisma, madison, katie: remove use of ROUser
3238         * katie.conf,katie.conf-non-US: remove defintion of ROUser
3239
3240 2001-08-26  James Troup  <james@nocrew.org>
3241
3242         * katie (nmu_p.is_an_nmu): use maintaineremail to check for group
3243         maintained packages at cjwatson@'s request.
3244
3245 2001-08-21  James Troup  <james@nocrew.org>
3246
3247         * madison (main): add -a/--architecture support.
3248
3249         * jenna: use logging instead of being overly verbose on stdout.
3250
3251 2001-08-11  Ryan Murray  <rmurray@debian.org>
3252
3253         * melanie: add functional help option
3254
3255 2001-08-07  Anthony Towns  <ajt@debian.org>
3256
3257         * apt.conf, katie.conf: Add ia64 and hppa to testing.
3258
3259 2001-07-28  James Troup  <james@nocrew.org>
3260
3261         * katie (check_dsc): ensure source version is >> than existing
3262         source in target suite.
3263
3264 2001-07-25  James Troup  <james@nocrew.org>
3265
3266         * natalie.py: add logging support.
3267
3268         * utils.py (open_file): make the second argument optional and
3269         default to read-only.
3270
3271         * rene (main): work around broken source packages that duplicate
3272         arch: all packages with arch: !all packages (no longer allowed
3273         into the archive by katie).
3274
3275 2001-07-13  James Troup  <james@nocrew.org>
3276
3277         * katie (action): don't assume distribution is a dictionary.
3278         (update_subst): don't assume architecture is a dictionary and that
3279         maintainer822 is defined.
3280         (check_changes): recognise nk_format exceptions.
3281         (check_changes): reject on 'testing' only uploads.
3282         (check_files): when checking to ensure all packages are newer
3283         versions check against arch-all packages too.
3284         (check_dsc): enforce the existent of a sane set of mandatory
3285         fields.  Ensure the version number in the .dsc (modulo epoch)
3286         matches the version number in the .changes file.
3287
3288         * utils.py (changes_compare): ignore all exceptions when parsing
3289         the changes files.
3290         (build_file_list): don't UNDEF on a changes file with no format
3291         field.
3292
3293 2001-07-07  James Troup  <james@nocrew.org>
3294
3295         * katie (nmu_p.is_an_nmu): check 'changedby822' for emptiness
3296         rather than 'changedbyname' to avoid false negatives on uploads
3297         with an email-address-only Changed-By field.
3298         (check_dsc): don't overwrite reject_message; append to it.
3299         (check_signature): likewise.
3300         (check_changes): likewise.
3301         (announce): condition logging on 'action'.
3302
3303         * logging.py: new logging module.
3304
3305         * katie: Cleaned up code by putting Cnf["Dinstall::Options"]
3306         sub-tree into a separate (global) variable.
3307         (check_dsc): ensure format is 1.0 to retain backwards
3308         compatability with dpkg-source in potato.
3309         (main): only try to obtain the lock when not running in no-action
3310         mode.
3311         Use the new logging module.
3312
3313         * christina: initial version; only partially usable.
3314
3315 2001-06-28  Anthony Towns  <ajt@debian.org>
3316
3317         * apt.conf: Add ExtraOverrides to auric.
3318
3319 2001-06-25  James Troup  <james@nocrew.org>
3320
3321         * katie (nmu_p.is_an_nmu): the wonderful dpkg developers decided
3322         they preferred the name 'Uploaders'.
3323
3324 2001-06-23  James Troup  <james@nocrew.org>
3325
3326         * katie (check_files): fix typo in uncommon rejection message,
3327         s/sourceversion/source version/.
3328
3329         * denise (main): we can't use print because stdout has been
3330         redirected.
3331
3332         * katie (source_exists): new function; moved out of check_files()
3333         and added support for binary-only NMUs of earlier sourceful NMUs.
3334
3335         * rhona (clean): find_next_free has moved.
3336
3337         * utils.py (find_next_free): new function; moved here from rhona.
3338         Change too_many to be an argument with a default value, rather
3339         than a hardcoded variable.
3340
3341         * shania: rewritten to work better; REJECTion reminder mail
3342         handling got lost though.
3343
3344 2001-06-22  James Troup  <james@nocrew.org>
3345
3346         * rhona (main): remove unused override code.
3347
3348         * fernanda (main): remove extraneous \n's from utils.warn calls.
3349         * natalie.py (list): likewise.
3350
3351         * catherine, cindy, denise, heidi, jenna, katie, neve, rhona, tea:
3352         use utils.{warn,fubar} where appropriate.
3353
3354 2001-06-21  James Troup  <james@nocrew.org>
3355
3356         * katie (nmu_p): new class that encapsulates the "is a nmu?"
3357         functionality.
3358         (nmu_p.is_an_nmu): add support for multiple maintainers specified
3359         by the "Maintainers" field in the .dsc file and maintainer groups.
3360         (nmu_p.__init__): read in the list of group maintainer names.
3361         (announce): use nmu_p.
3362
3363 2001-06-20  James Troup  <james@nocrew.org>
3364
3365         * rene (main): hardcode the suite experimental is compared to by
3366         name rather than number.
3367
3368         * katie (check_files): differentiate between doesn't-exist and
3369         permission-denied in "can not read" rejections; requested by edd@.
3370         (check_dsc): use os.path.exists rather than os.access to allow the
3371         above check to kick in.
3372
3373         * heidi (process_file): read all input before doing anything and
3374         use transactions.
3375
3376 2001-06-15  James Troup  <james@nocrew.org>
3377
3378         * fernanda: new script; replaces old 'check' shell script
3379         nastiness.
3380
3381 2001-06-14  James Troup  <james@nocrew.org>
3382
3383         * katie: actually import traceback module to avoid amusing
3384         infinite loop.
3385
3386 2001-06-10  James Troup  <james@nocrew.org>
3387
3388         * utils.py (extract_component_from_section): fix to handle just
3389         'non-free' and 'contrib'.  Also fix to handle non-US in a
3390         completely case insensitive manner as a component.
3391
3392 2001-06-08  James Troup  <james@nocrew.org>
3393
3394         * madison (arch_compare): sort function that sorts 'source' first
3395         then alphabetically.
3396         (main): use it.
3397
3398 2001-06-05  Jeff Licquia  <jlicquia@progeny.com>
3399
3400         * catherine (poolize): explicitly make poolized_size a long so it
3401         doesn't overflow when poolizing e.g. entire archives.
3402
3403 2001-06-01  James Troup  <james@nocrew.org>
3404
3405         * utils.py (send_mail): throw exceptions rather than exiting.
3406
3407         * katie (process_it): catch exceptions and ignore them.
3408
3409 2001-06-01  Michael Beattie  <mjb@debian.org>
3410
3411         * added update-mailingliststxt and update-readmenonus to update
3412         those files, respectively. modified cron.daily{,-non-US} to
3413         use them.
3414
3415 2001-05-31  Anthony Towns  <ajt@debian.org>
3416
3417         * rhona: make StayOfExecution work.
3418
3419 2001-05-31  James Troup  <james@nocrew.org>
3420
3421         * rhona (find_next_free): fixes to not overwrite files but rename
3422         them by appending .<n> instead.
3423         (clean): use find_next_free and use dated sub-directories in the
3424         morgue.
3425
3426         * utils.py (move): don't overwrite files unless forced to.
3427         (copy): likewise.
3428
3429 2001-05-24  James Troup  <james@nocrew.org>
3430
3431         * katie (check_files): determine the source version here instead
3432         of during install().
3433         (check_files): check for existent source with bin-only NMU
3434         support.
3435         (main): sort the list of changes so that the source-must-exist
3436         check Does The Right Thing(tm).
3437
3438         * utils.py (changes_compare): new function; sorts a list of
3439         changes files by 'have-source', source, version.
3440         (cc_fix_changes): helper function.
3441         (parse_changes): use compiled regexes.
3442         (fix_maintainer): likewise.
3443
3444         * rene (main): warn about packages in experimental that are
3445         superseded by newer versions in unstable.
3446
3447 2001-05-21  James Troup  <james@nocrew.org>
3448
3449         * rene (main): add support for checking for ANAIS (Architecture
3450         Not Allowed In Source) packages.
3451
3452 2001-05-17  James Troup  <james@nocrew.org>
3453
3454         * katie (check_changes): initalize `architecture' dictionary in
3455         changes global so that if we can't parse the changes file for
3456         whatever reason we don't undef later on.
3457
3458         * utils.py (parse_changes): fix handling of multi-line fields
3459         where the first line did have data.
3460
3461 2001-05-05  Anthony Towns  <ajt@debian.org>
3462
3463         * ziyi: Add "NotAutomatic: yes" to experimental Release files.
3464         (It should always have been there. Ooopsy.)
3465
3466 2001-05-03  Anthony Towns  <ajt@debian.org>
3467
3468         * jenna: Cleanup packages that move from arch:any to arch:all or
3469         vice-versa.
3470
3471 2001-04-24  Anthony Towns  <ajt@debian.org>
3472
3473         * ziyi: add ``SHA1:'' info to Release files. Also hack them up to
3474         cope with debian-installer and boot-floppies' md5sum.txt.
3475
3476 2001-04-16  James Troup  <james@nocrew.org>
3477
3478         * katie (check_changes): add missing %s format string argument.
3479         (stable_install): temporary work around for morgue location to
3480         move installed changes files into.
3481         (stable_install): helps if you actually read in the template.
3482         (manual_reject): fix for editing of reject messages which was
3483         using the wrong variable name.
3484
3485         * jenna (generate_src_list): typo; s/package/source/; fixes undef crash.
3486
3487 2001-04-13  James Troup  <james@nocrew.org>
3488
3489         * katie (manual_reject): Cc the installer.
3490         (reject): don't.
3491         (check_changes): remove unused maintainer-determination code.
3492         (update_subst): add support for Changed-By when setting the
3493         *MAINTAINER* variables.
3494
3495         * rene (bar): new function to check for packages on architectures
3496         when they shouldn't be.
3497
3498         * natalie.py (main): use fubar() and warn() from utils.
3499
3500         * utils.py (whoami): new mini-function().
3501         * melanie (main): use it.
3502         * katie (manual_reject): likewise.
3503
3504 2001-04-03  James Troup  <james@nocrew.org>
3505
3506         * katie (action): ignore exceptions from os.path.getmtime() so we
3507         don't crash on non-existent changes files (e.g. when they are
3508         moved between the start of the install run in cron.daily and the
3509         time we get round to processing them).
3510
3511         * madison (main): also list source and accept -s/--suite.
3512
3513         * jenna (generate_src_list): missing \n in error message.
3514
3515         * katie (update_subst): add sane defaults for when changes is
3516         skeletal.
3517
3518 2001-03-29  James Troup  <james@nocrew.org>
3519
3520         * melanie (main): use fubar() and warn() from utils.  Remember who
3521         the maintainer for the removed packages are and display that info
3522         to the user.  Readd support for melanie-specific Bcc-ing that got
3523         lost in the TemplateSubst transition.
3524
3525         * utils.py (fubar): new function.
3526         (warn): like wise.
3527
3528         * db_access.py (get_maintainer): as below.
3529
3530         * charisma (get_maintainer): moved the bulk of this function to
3531         db_access so that melanie can use it too.
3532
3533         * claire.py (find_dislocated_stable): restrict the override join
3534         to those entries where the suite is stable; this avoids problems
3535         with packages which have moved to new sections (e.g. science)
3536         between stable and unstable.
3537
3538 2001-03-24  James Troup  <james@nocrew.org>
3539
3540         * catherine (poolize): new function; not really independent of
3541         main() fully, yet.
3542         (main): use it.
3543
3544         * katie (stable_install): __SUITE__ needs to be space prefixed
3545         because buildd's check for 'INSTALLED$'.
3546
3547 2001-03-22  James Troup  <james@nocrew.org>
3548
3549         * utils.py (regex_safe): also need to escape '.'; noticed by ajt@.
3550
3551         * jenna: rewritten; now does deletions on a per-suite level
3552         instead of a per-suite-component-architecture-type level.  This
3553         allows mutli-component packages to be auto-cleaned (and as a
3554         bonus, reduces the code size and duplication).
3555
3556 2001-03-22  Anthony Towns  <ajt@debian.org>
3557
3558         * ziyi (main): fix ziyi to overwrite existing Release.gpg files
3559         instead of just giving a gpg error.
3560
3561 2001-03-21  James Troup  <james@nocrew.org>
3562
3563         * madison (main): use apt_pkg.VersionCompare to sort versions so
3564         that output is correctly sorted for packages like debhlper.
3565         Noticed by ajt@.
3566
3567         * tea (check_source_in_one_dir): actually find problematic source
3568         packages.
3569
3570         * katie (check_dsc): remember the orig.tar.gz's location ID if
3571         it's not in a legacy suite.
3572         (check_diff): we don't use orig_tar_id.
3573         (install): add code to handle sourceful diff-only upload of
3574         packages which change components by copying the .orig.tar.gz into
3575         the new component, if it doesn't already exist there.
3576         (process_it): reset orig_tar_location (as above).
3577
3578         * melanie (main): use template substiution for the bug closing
3579         emails.
3580         (main): don't hardcode bugs.debian.org or packages.debian.org
3581         either; use configuration items.
3582
3583         * katie: likewise.
3584
3585         * natalie.py (init): use None rather than 'localhost' for the
3586         hostname given to pg.connect.
3587
3588         * utils.py (TemplateSubst): new function; lifted from
3589         userdir-ldap.
3590
3591 2001-03-21  Ryan Murray  <rmurray@debian.org>
3592
3593         * katie (announce): fix the case of non-existent
3594         Suite::$SUITE::Announce.
3595
3596 2001-03-20  Ryan Murray  <rmurray@debian.org>
3597
3598         * debian/rules (binary-indep): install melanie into /usr/bin/ not
3599         /usr/.
3600
3601         * alyson (main): use config variable for database name.
3602         * andrea (main): likewise.
3603         * catherine (main): likewise.
3604         * charisma (main): likewise.
3605         * cindy (main): likewise.
3606         * claire.py (main): likewise.
3607         * denise (main): likewise.
3608         * heidi (main): likewise.
3609         * jenna (main): likewise.
3610         * katie (main): likewise.
3611         * madison (main): likewise.
3612         * melanie (main): likewise.
3613         * neve (main): likewise.
3614         * rhona (main): likewise.
3615         * tea (main): likewise.
3616
3617 2001-03-15  James Troup  <james@nocrew.org>
3618
3619         * rhona (check_sources): fixed evil off by one (letter) error
3620         which was causing only .dsc files to be deleted when cleaning
3621         source packages.
3622
3623         * charisma (get_maintainer_from_source): remove really stupid and
3624         gratuitous IN sub-query and replace with normal inner join.
3625         (main): connect as read-only user nobody.
3626
3627         * rhona (clean_maintainers): rewritten to use SELECT and sub-query
3628         with EXISTS.
3629         (check_files): likewise; still disabled by default though.
3630         (clean_binaries): add ' seconds' to the mysterious number in the
3631         output.
3632         (clean): likewise.
3633
3634         * tea (check_files): add missing global declaration on db_files.
3635
3636 2001-03-14  James Troup  <james@nocrew.org>
3637
3638         * rhona: rewritten large chunks. Removed a lot of the silly
3639         selecting into dictionaries and replaced it with 'where exists'
3640         based sub queries.  Added support for StayOfExecution.  Fix the
3641         problem with deleting dsc_files too early and disable cleaning of
3642         unattached files.
3643
3644 2001-03-14  Anthony Towns  <ajt@debian.org>
3645
3646         * katie (announce): also check Changed-By when trying to detect
3647         NMUs.
3648
3649 2001-03-06  Anthony Towns  <ajt@debian.org>
3650
3651         * ziyi (main): Generate Release.gpg files as well, using the key from
3652         Dinstall::SigningKey in katie.conf, if present. That key has to be
3653         passwordless, and hence kept fairly secretly.
3654
3655 2001-03-02  James Troup  <james@nocrew.org>
3656
3657         * utils.py (str_isnum): new function; checks to see if the string
3658         is a number.
3659
3660         * shania (main): fix _hideous_ bug which was causing all files > 2
3661         weeks old to be deleted from incoming, even if they were part of a
3662         valid upload.
3663
3664 2001-02-27  James Troup  <james@nocrew.org>
3665
3666         * melanie (main): accept new argument -C/--carbon-copy which
3667         allows arbitarty carbon-copying of the bug closure messages.
3668         Cleaned up code by putting Cnf["Melanie::Options"] sub-tree into a
3669         separate variable.
3670
3671 2001-02-27  Anthony Towns  <ajt@debian.org>
3672
3673         * ziyi: new program; generates Release files.
3674
3675 2001-02-25  James Troup  <james@nocrew.org>
3676
3677         * katie (reject): add missing '\n' to error message.
3678         (manual_reject): likewise.
3679         (install): catch exceptions from moving the changes file into DONE
3680         and ignore them.
3681
3682         * tea (check_md5sums): new function.
3683
3684 2001-02-25  Michael Beattie  <mjb@debian.org>
3685
3686         * melanie: use $EDITOR if available.
3687
3688 2001-02-15  James Troup  <james@nocrew.org>
3689
3690         * utils.py (parse_changes): don't crash and burn on empty .changes
3691         files.  Symptoms noticed by mjb@.
3692
3693 2001-02-15  Adam Heath  <doogie@debian.org>
3694
3695         * denise (main): use an absolute path for the output filename.
3696
3697         * sql-aptvc.cpp: don't #include <utils/builtins.h> as it causes
3698         compile errors with postgresql-dev >= 7.0.
3699
3700 2001-02-12  James Troup  <james@nocrew.org>
3701
3702         * rene: initial version.
3703
3704         * andrea: initial version.
3705
3706         * catherine (main): remove obsolete assignment of arguments.
3707
3708 2001-02-09  James Troup  <james@nocrew.org>
3709
3710         * catherine: first working version.
3711
3712 2001-02-06  James Troup  <james@nocrew.org>
3713
3714         * katie (check_files): validate the priority field; i.e. ensure it
3715         doesn't contain a '/' (to catch people prepending the priority
3716         with the component rather than the section).
3717         (check_override): don't warn about source packages; the only check
3718         is on section and we have no GUI tools that would use the Section
3719         field for a Sources file.
3720         (announce): use tags rather than severities for NMUs.  Requested
3721         by Josip Rodin <joy@>. [#78035]
3722
3723 2001-02-04  James Troup  <james@nocrew.org>
3724
3725         * tea (check_override): new function; ensures packages in suites
3726         are also in the override file.  Thanks to bod@ for noticing that
3727         such packages existed.
3728
3729         * katie: move file type compiled regular expressions to utils as
3730         catherine uses them too.
3731         (check_changes): always default maintainer822 to the installer
3732         address so that any bail out won't cause undefs later.
3733         (check_files): update file type re's to match above.
3734         (stable_install): likewise.
3735         (reject): handle any except from moving the changes files.  Fixes
3736         crashes on unreadable changes files.
3737
3738         * melanie (main): add an explanation of why things are not removed
3739         from testing.
3740
3741 2001-01-31  James Troup  <james@nocrew.org>
3742
3743         * melanie (main): ignore a) no message, b) removing from stable or
3744         testing when invoked with -n/--no-action.
3745
3746         * katie (check_override): lower section before checking to see if
3747         we're whining about 'non-US' versus 'non-US/main'.
3748
3749         * sql-aptvc.cpp: new file; wrapper around apt's version comparison
3750         function so that we can use inside of PostgreSQL.
3751
3752 2001-01-28  James Troup  <james@nocrew.org>
3753
3754         * katie: updated to pass new flag to parse_changes() and deal with
3755         the exception raised on invalid .dsc's if appropriate.
3756         * shania (main): likewise.
3757         * melanie (main): likewise.
3758
3759         * tea (check_dscs): new function to validate all .dsc files in
3760         unstable.
3761
3762         * utils.py (parse_changes): if passed an additional flag, validate
3763         the .dsc file to ensure it's extractable by dpkg-source.
3764         Requested by Ben Collins <bcollins@>.
3765
3766 2001-01-27  James Troup  <james@nocrew.org>
3767
3768         * madison (main): connect to the DB as nobody.
3769
3770         * katie (check_files): remove support for -r/--no-version-check
3771         since it makes no sense under katie (jenna will automatically
3772         remove the (new) older version) and was evil in any event.
3773         (check_changes): add missing new line to rejection message.
3774         (check_dsc): likewise.
3775         (process_it): reset reject_message here.
3776         (main): not here.  Also remove support for -r.
3777
3778 2001-01-26  James Troup  <james@nocrew.org>
3779
3780         * katie (check_override): don't whine about 'non-US/main' versus
3781         'non-US'.
3782
3783 2001-01-26  Michael Beattie  <mjb@debian.org>
3784
3785         * natalie.py (usage): new function.
3786         (main): use it.
3787
3788 2001-01-25  Antti-Juhani Kaijanaho  <gaia@iki.fi>
3789
3790         * update-mirrorlists: Update README.non-US too (request from Joy).
3791
3792 2001-01-25  James Troup  <james@nocrew.org>
3793
3794         * katie (reject): catch any exception from utils.move() and just
3795         pass, we previously only caught can't-overwrite errors and not
3796         can't-read ones.
3797
3798         * jenna (generate_src_list): use ORDER BY in selects to avoid
3799         unnecessary changes to Packages files.
3800         (generate_bin_list): likewise.
3801
3802         * utils.py (extract_component_from_section): separated out from
3803         build_file_list() as it's now used by claire too.
3804
3805         * claire.py (find_dislocated_stable): rewrite the query to extract
3806         section information and handle component-less locations properly.
3807         Thanks to ajt@ for the improved queries.
3808         (fix_component_section): new function to fix components and
3809         sections.
3810
3811 2001-01-23  James Troup  <james@nocrew.org>
3812
3813         * katie (check_files): set file type for (u?)debs first thing, so
3814         that if we continue, other functions which rely on file type
3815         existing don't bomb out.  If apt_pkg or apt_inst raise an
3816         exception when parsing the control file, don't try any other
3817         checks, just drop out.
3818         (check_changes): new test to ensure there is actually a target
3819         distribution.
3820
3821 2001-01-22  James Troup  <james@nocrew.org>
3822
3823         * katie (usage): s/dry-run/no-action/.  Noticed by Peter Gervai
3824         <grin@>.
3825         (check_changes): when mapping to unstable, remember to actually
3826         add unstable to the suite list and not just remove the invalid
3827         suite.
3828
3829 2001-01-21  James Troup  <james@nocrew.org>
3830
3831         * katie (check_files): catch exceptions from debExtractControl()
3832         and reject packages which raise any.
3833
3834 2001-01-19  James Troup  <james@nocrew.org>
3835
3836         * katie (check_signature): basename() file name in rejection
3837         message.
3838
3839 2001-01-18  James Troup  <james@nocrew.org>
3840
3841         * katie (in_override_p): remember the section and priority from
3842         the override file so we can check them against the package later.
3843         (check_override): new function; checks section and priority (for
3844         binaries) from the package against the override file and mails the
3845         maintainer about any disparities.
3846         (install): call check_override after announcing the upload.
3847
3848 2001-01-16  James Troup  <james@nocrew.org>
3849
3850         * utils.py (build_file_list): catch ValueError's from splitting up
3851         the files field and translate it into a parse error.
3852
3853         * tea: add support for finding unreferenced files.
3854
3855         * katie (in_override_p): add support for suite-aliasing so that
3856         proposed-updates uploads work again.
3857         (check_changes): catch parses errors from utils.build_file_list().
3858         (check_dsc): likewise.
3859         (check_diff): yet more dpkg breakage so we require even newer a
3860         version.
3861
3862         * jenna (generate_bin_list): don't do nasty path munging that's no
3863         longer needed.
3864
3865         * denise (main): support for non-US; and rename testing's override
3866         files so they're based on testing's codename.
3867
3868 2001-01-16  Martin Michlmayr  <tbm@cyrius.com>
3869
3870         * melanie: add to the bug closing message explaining what happens
3871         (or rather doesn't) with bugs against packages that have been
3872         removed.
3873
3874 2001-01-14  James Troup  <james@nocrew.org>
3875
3876         * charisma (main): fix silly off-by-one error; suite priority
3877         checking was done using "less than" rather than "less than or
3878         equal to" which was causing weird hesienbugs with wrong Maintainer
3879         fields.
3880
3881 2001-01-10  James Troup  <james@nocrew.org>
3882
3883         * katie (in_override_p): adapted to use SQL-based overrides.
3884         read_override_file function disappears.
3885
3886         * db_access.py: add new functions get_section_id, get_priority_id
3887         and get_override_type_id.
3888         (get_architecture_id): return -1 if the architecture is not found.
3889
3890         * heidi: switch %d -> %d in all SQL queries.
3891         (get_list): Use string.join where appropriate.
3892
3893         * rhona (in_override_p): don't die if the override file doesn't
3894         exist.
3895         (main): warn if the override file doesn't exist.
3896
3897         * alyson: new script; will eventually sync the config file and the
3898         SQL database.
3899
3900         * natalie.py: new script; manipulates overrides.
3901
3902         * melanie: new script; removes packages from suites.
3903
3904 2001-01-08  James Troup  <james@nocrew.org>
3905
3906         * katie (re_bad_diff): whee; dpkg 1.8.1.1 didn't actually fix
3907         anything it just changed the symptom.  Recognise the new breakage
3908         and reject them too.
3909
3910 2001-01-07  James Troup  <james@nocrew.org>
3911
3912         * katie (check_dsc): when adding the cwd copy of the .orig.tar.gz
3913         to the .changes file, be sure to set up files[filename]["type"]
3914         too.
3915
3916 2001-01-06  James Troup  <james@nocrew.org>
3917
3918         * katie (check_diff): new function; detects bad diff files
3919         produced by dpkg 1.8.1 and rejects thems.
3920         (process_it): call check_diff().
3921         (check_dsc): gar.  Add support for multiple versions of the
3922         .orig.tar.gz file in the archive from -sa uploads.  Check md5sum
3923         and size against all versions and use one which matches if
3924         possible and exclude any that don't from being poolized to avoid
3925         file overwrites.  Thanks to broonie@ for providing the example.
3926         (install): skip any files marked as excluded as above.
3927
3928 2001-01-05  James Troup  <james@nocrew.org>
3929
3930         * heidi (process_file): add missing argument to error message.
3931
3932 2001-01-04  James Troup  <james@nocrew.org>
3933
3934         * heidi (main): fix handling of multiple files by reading all
3935         files not just the first file n times (where n = the number of
3936         files passed as arguments).
3937
3938 2001-01-04  Anthony Towns  <ajt@debian.org>
3939
3940         * katie (check_dsc): proper fix for the code which locates the
3941         .orig.tar.gz; check for '<filename>$' or '^<filename>$'.
3942
3943 2000-12-20  James Troup  <james@nocrew.org>
3944
3945         * rhona: replace IN's with EXISTS's to make DELETE time for
3946         binaries and source sane on auric.  Add a -n/--no-action flag and
3947         make it stop actions if used.  Fixed a bug in binaries deletion
3948         with no StayOfExecution (s/</<=/).  Add working -h/--help and
3949         -V/--version.  Giving timing info on deletion till I'm sure it's
3950         sane.
3951
3952         * katie (check_changes): map testing to unstable.
3953
3954         * madison: new script; shows versions in different architectures.
3955
3956         * katie (check_dsc): ensure size matches as well as md5sum;
3957         suggested by Ben Collins <bcollins@debian.org> in Debian Bug
3958         #69702.
3959
3960 2000-12-19  James Troup  <james@nocrew.org>
3961
3962         * katie (reject): ignore the "can't overwrite file" exception from
3963         utils.move() and leave the files where they are.
3964         (reject): doh! os.access() test was reversed so we only tried to
3965         move files which didn't exist... replaced with os.path.exists()
3966         test the right way round.
3967
3968         * utils.py (move): raise an exception if we can't overwrite the
3969         destination file.
3970         (copy): likewise.
3971
3972 2000-12-18  James Troup  <james@nocrew.org>
3973
3974         * rhona: first working version.
3975
3976         * db_access.py (get_files_id): force both sizes to be integers.
3977
3978         * katie (main): use size_type().
3979
3980         * utils.py (size_type): new function; pretty prints a file size.
3981
3982 2000-12-17  James Troup  <james@nocrew.org>
3983
3984         * charisma (main): do version compares so that older packages do
3985         not override newer ones and process source first as source wins
3986         over binaries in terms of who we think of as the Maintainer.
3987
3988 2000-12-15  James Troup  <james@nocrew.org>
3989
3990         * katie (install): use the files id for the .orig.tar.gz from
3991         check_dsc().
3992         (install): limit select for legacy source to a) source in legacy
3993         or legacy-mixed type locations and b) distinct on files.id.
3994         (install): rather than the bizarre insert new, delete old method
3995         for moving legacy source into the pool, use a simple update of
3996         files.
3997         (process_it): initalize some globals before each process.
3998
3999 2000-12-14  James Troup  <james@nocrew.org>
4000
4001         * katie (in_override_p): index on binary_type too since .udeb
4002         overrides are in a different file.
4003         (read_override_file): likewise.
4004         (check_files): correct filename passed to get_files_id().
4005         (check_dsc): we _have_ to preprend '/' to the filename to avoid
4006         mismatches like jabber.orig.tar.gz versus libjabber.orig.tar.gz.
4007         (check_dsc): remember the files id of the .orig.tar.gz, not the
4008         location id.
4009
4010 2000-12-13  James Troup  <james@nocrew.org>
4011
4012         * utils.py (poolify): force the component to lower case except for
4013         non-US.
4014
4015         * katie (in_override_p): handle .udeb-specific override files.
4016         (check_files): pass the binary type to in_override_p().
4017         (check_dsc): remember the location id of the old .orig.tar.gz in
4018         case it's not in the pool.
4019         (install): use location id from dsc_files; which is where
4020         check_dsc() puts it for old .orig.tar.gz files.
4021         (install): install files after all DB work is complete.
4022         (reject): basename() the changes filename.
4023         (manual_reject): likewise.
4024
4025         * shania: new progam; replaces incomingcleaner.
4026
4027 2000-12-05  James Troup  <james@nocrew.org>
4028
4029         * katie (check_changes): if inside stable and can't find files
4030         from the .changes; assume it's installed in the pool and chdir()
4031         to there.
4032         (check_files): we are not installing for stable installs, so don't
4033         check for overwriting existing files.
4034         (check_dsc): likewise.
4035         (check_dsc): reorder .orig.tar.gz handling so that we search in
4036         the pool first and only then fall back on any .orig.tar.gz in the
4037         cwd; this avoids false positives on the overwrite check when
4038         people needlessly reupoad the .orig.tar.gz in a non-sa upload.
4039         (install): if this is a stable install, bail out to
4040         stable_install() immediately.
4041         (install): dsc_files handling was horribly broken. a) we need to
4042         add files from the .dsc and not the .changes (duh), b) we need to
4043         add the .dsc file itself to dsc_files (to be consistent with neve
4044         if for no other reason).
4045         (stable_install): new function; handles installs from inside
4046         proposed-updates to stable.
4047         (acknowledge_new): basename changes_filename before doing
4048         anything.
4049         (process_it): absolutize the changes filename to avoid the
4050         requirement of being in the same directory as the .changes file.
4051         (process_it): save and restore the cwd as stable installs can
4052         potentially jump into the pool to find files.
4053
4054         * jenna: dislocated_files support using claire.
4055
4056         * heidi (process_file): select package field from binaries
4057         explicitly.
4058
4059         * db_access.py (get_files_id): fix cache key used.
4060
4061         * utils.py (build_file_list): fix 'non-US/non-free' case in
4062         section/component splitting.
4063         (move): use os.path.isdir() rather than stat.
4064         (copy): likewise.
4065
4066         * claire.py: new file; stable in non-stable munger.
4067
4068         * tea: new file; simply ensures all files in the DB exist.
4069
4070 2000-12-01  James Troup  <james@nocrew.org>
4071
4072         * katie (check_dsc): use regex_safe().
4073         (check_changes): typo in changes{} key:
4074         s/distributions/distribution/.
4075         (install): use changes["source"], not files[file]["source"] as the
4076         latter may not exist and the former is used elsewhere.  Commit the
4077         SQL transaction earlier.
4078
4079         * utils.py (regex_safe): new function; escapes characters which
4080         have meaning to SQL's regex comparison operator ('~').
4081
4082 2000-11-30  James Troup  <james@nocrew.org>
4083
4084         * katie (install): pool_location is based on source package name,
4085         not binary package.
4086
4087         * utils.py (move): if dest is a directory, append the filename
4088         before chmod-ing.
4089         (copy): ditto.
4090
4091         * katie (check_files): don't allow overwriting of existing .debs.
4092         (check_dsc): don't allow overwriting of existing source files.
4093
4094 2000-11-27  James Troup  <james@nocrew.org>
4095
4096         * katie (check_signature): don't try to load rsaref; it's
4097         obsolete.
4098         (in_override_p): don't try to lookup override entries for packages
4099         with an invalid suite name.
4100         (announce): don't assume the suite name is valid; use Find() to
4101         lookup the mailing list name for announcements.
4102
4103         * utils.py (where_am_i): typo; hostname is in the first element,
4104         not second.
4105
4106         * db_access.py (get_suite_id): return -1 on an unknown suite.
4107
4108 2000-11-26  James Troup  <james@nocrew.org>
4109
4110         * katie (install): fix CopyChanges handling; typo in in checking
4111         Cnf for CopyChanges flag and was calling non-existent function
4112         copy_file.
4113
4114         * utils.py (copy): new function; clone of move without the
4115         unlink().
4116
4117 2000-11-25  James Troup  <james@nocrew.org>
4118
4119         * utils.py (build_file_list): handle non-US prefixes properly
4120         (i.e. 'non-US' -> 'non-US/main' and 'non-US/libs' -> 'non-US/main'
4121         + 'libs' not 'non-US/libs').
4122         (send_mail): add '-odq' to sendmail invocation to avoid DNS lookup
4123         delays.  This is possibly(/probably) exim speicifc and (like other
4124         sendmail options) needs to be in the config file.
4125
4126 2000-11-24  James Troup  <james@nocrew.org>
4127
4128         * rhona (check_sources): we need file id from dsc_files; not id.
4129         Handle non .dsc source files being re-referenced in dsc_files.
4130
4131         * katie (in_override_p): strip out any 'non-US' prefix.
4132         (check_files): use utils.where_am_i() rather than hardcoding.
4133         (check_files): validate the component.
4134         (install): use utils.where_am_i() rather than hardcoding.
4135         (install): fix mail to go to actual recepient.
4136         (reject): likewise.
4137         (manual_reject): likewise.
4138         (acknowledge_new): likewise.
4139         (announce): likewise.
4140
4141         * db_access.py (get_component_id): ignore case when searching for
4142         the component and don't crash if the component can't be found, but
4143         return -1.
4144         (get_location_id): handle -1 from get_component_id().
4145
4146         * jenna (generate_src_list): don't bring 'suite' into our big
4147         multi-table-joining select as we already know the 'suite_id'.
4148         (generate_bin_list): likewise.
4149
4150         * neve (main): don't quit if not on ftp-master.
4151         (process_packages): remove unused variable 'suite_codename'.
4152
4153         * utils.py (move): actually move the file.
4154         (build_file_list): handle non-US prefixes in the section.
4155
4156         * catherine (main): use which_conf_file().
4157         * charisma (main): likewise.
4158         * heidi (main): likewise.
4159         * jenna (main): likewise.
4160         * katie (main): likewise.
4161         * neve (main): likewise.
4162         * rhona (main): likewise.
4163
4164         * utils.py (where_am_i): new routine; determines the archive as
4165         understood by other 'dak' programs.
4166         (which_conf_file): new routine; determines the conf file to read.
4167
4168 2000-11-17  James Troup  <james@nocrew.org>
4169
4170         * katie (install): fix where .changes files for proposed-updates
4171         go.
4172
4173 2000-11-04  James Troup  <james@nocrew.org>
4174
4175         * jenna (main): handle architecture properly if no
4176         -a/--architecture argument is given, i.e. reset architecture with
4177         the values for the suite for each suite.
4178
4179         * Add apt_pkg.init() to the start of all scripts as it's now
4180         required by python-apt.
4181
4182 2000-10-29  James Troup  <james@nocrew.org>
4183
4184         * jenna (generate_bin_list): take an additional argument 'type'
4185         and use it in the SELECT.
4186         (main): if processing component 'main', process udebs and debs.
4187
4188         * neve (process_packages): set up 'type' in 'binaries' (by
4189         assuming .deb).
4190
4191         * katie (re_isadeb): accept ".udeb" or ".deb" as a file ending.
4192         (check_files): set up files[file]["dbtype"].
4193         (install): use files[file]["dbtype"] to set up the 'type' field in
4194         the 'binaries' table.
4195
4196         * init_pool.sql: add a 'type' field to the 'binaries' table to
4197         distinguisgh between ".udeb" and ".deb" files.
4198
4199         * utils.py (move): scrap basename() usage; use a "dir_p(dest) :
4200         dest ? dirname(dest)" type check instead.
4201
4202         * katie (check_dsc): handle the case of an .orig.tar.gz not found
4203         in the pool without crashing.  Also handle the case of being asked
4204         to look for something other than an .orig.tar.gz in the pool.
4205
4206 2000-10-26  James Troup  <james@nocrew.org>
4207
4208         * katie (install): fix filenames put into files table during
4209         poolification of legacy source.
4210
4211         * utils.py (move): work around a bug in os.path.basename() which
4212         cunningly returns '' if there is a trailing slash on the path
4213         passed to it.
4214
4215         * katie (check_dsc): Remove more cruft.  If we find the
4216         .orig.tar.gz in the pool and it's in a legacy (or legacy-mixed)
4217         location, make a note of that so we can fix things in install().
4218         (install): as above.  Move any old source out of legacy locations
4219         so that 'apt-get source' will work.
4220         (process_it): reset the flag that indicates to install that the
4221         source needs moved.
4222
4223         * cron.daily: more.  Nowhere near complete yet though.
4224
4225         * katie (install): don't run os.makedirs, a) utils.move() does
4226         this now, b) we weren't removing the user's umask and were
4227         creating dirs with SNAFU permissions.
4228         (check_dsc): rewrite the .orig.tar.gz handling to take into
4229         account, err, package pools.  i.e. look anywhere in the pool
4230         rather than faffing around with two simple paths.
4231
4232         * neve (process_sources): add the .dsc to dsc_files too.
4233
4234 2000-10-25  James Troup  <james@nocrew.org>
4235
4236         * neve (process_sources): don't duplicate .orig.tar.gz's.
4237
4238 2000-10-23  James Troup  <james@nocrew.org>
4239
4240         * utils.py (re_extract_src_version): moved here.
4241
4242         * neve: move re_extract_src_version to utils.
4243         (process_packages): reflect change.
4244
4245         * katie (install): reflect change.
4246
4247 2000-10-19  James Troup  <james@nocrew.org>
4248
4249         * jenna (generate_src_list): handle locations with null
4250         components.
4251         (generate_bin_list): likewise.
4252