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