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