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