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