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