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