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