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