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