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