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