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