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