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