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