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