]> git.decadent.org.uk Git - dak.git/blob - TODO
Moron. Test your changes.
[dak.git] / TODO
1                                  TODO
2                                  ====
3
4 [NB: I use this as a thought record/scribble, not everything on here
5      makes sense and/or is actually ever going to get done, so IIWY I
6      wouldn't use it as gospel for the future of katie or as a TODO
7      list for random hacking.]
8
9 ================================================================================
10
11 queue/approved
12 --------------
13
14  o What to do with multi-suite uploads?  Presumably hold in unapproved
15    and warn?  Or what?  Can't accept just for unstable or reject just
16    from stable.
17
18  o Whenever we check for anything in accepted we also need to check in
19    unapproved.
20
21  o non-sourceful uploads should go straight through if they have
22    source in accepted or the archive.
23
24  o security uploads on auric should be pre-approved.
25
26
27 Others
28 ------
29
30 <aj> i'd be kinda inclined to go with insisting the .changes file take
31    the form ---- BEGIN PGP MESSAGE --- <non -- BEGIN/END lines> --
32    BEGIN PGP SIG -- END PGP MESSAGE -- with no lines before or after,
33    and rejecting .changes that didn't match that
34
35   o rene should check for source packages not building any binaries
36
37   o heidi should have a diff mode that accepts diff output!
38
39   o halle doesn't deal with melanie'd packages, partial replacements
40    etc. and more.
41
42   o lauren, the tramp, blindly deletes with no check that the delete
43    failed which it might well given we only look for package/version,
44    not package/version _in p-u_.  duh.
45
46   o melanie should remove obsolete changes when removing from p-u, or
47    at least warn.  or halle should handle it.
48
49   o need a testsuite _badly_
50
51   o lisa should have an Bitch-Then-Accept option
52
53   o jennifer crashes if run as a user in -n mode when orig.tar.gz is
54    in queue/new...
55
56 <elmo_home> [<random>maybe I should reject debian packages with a non-Debian origin or bugs field</>]
57 <Kamion> [<random>agreed; dunno what origin does but non-Debian bugs fields would be bad]
58
59   o rhona should make use of select..except select, temporary tables
60   etc. rather than looping and calling SQL every time so we can do
61   suite removal sanely (see potato-removal document)
62
63   o melanie will happily include packages in the Cc list that aren't
64     being removed...
65
66   o melanie doesn't remove udebs when removing the source they build from
67
68   o check_dsc_against_db's "delete an entry from files while you're
69     not looking" habit is Evil and Bad.
70
71   o lisa allows you to edit the section and change the component, but
72     really shouldn't.
73
74   o melanie needs to, when not sending bug close mails, promote Cc: to
75     To: and send the mail anyways.
76
77   o the lockfile (Archive_Maintenance_In_Progress) should probably be in a conf file
78
79   o madison should cross-check the b.source field and if it's not null
80     and s.name linked from it != the source given in
81     -S/--source-and-binary ignore.
82
83   o lauren sucks; she should a) only spam d-i for sourceful
84   rejections, b) sort stuff so she rejects sourceful stuff first.  the
85   non-sourceful should probably get a form mail, c) automate the
86   non-sourceful stuff (see b).
87
88   o jennifer should do q-d stuff for faster AA [ryan]
89
90   o split the morgue into source and binary so binaries can be purged first!
91
92   o per-architecture priorities for things like different arch'es
93     gcc's, silly BSD libftw, palo, etc.
94
95   o use postgres 7.2's built-in stat features to figure out how indices are used etc.
96
97   o neve shouldn't be using location, she should run down suites instead
98
99   o halle needs to know about udebs
100
101   o by default hamstring katie's mail sending so that she won't send
102     anything until someone edits a script; she's been used far too
103     much to send spam atm :(
104
105   o $ftpdir/indices isn't created by rose because it's not in katie.conf
106
107   o sanity check depends/recommends/suggests too?  in fact for any
108     empty field?
109
110 [minor] kelly's copychanges, copykatie handling sucks, the per-suite
111         thing is static for all packages, so work out in advance dummy.
112
113 [madison] # filenames ?
114 [madison] # maintainer, component, install date (source only?), fingerprint?
115
116   o UrgencyLog stuff should minimize it's bombing out(?)
117   o Log stuff should open the log file
118
119   o helena should footnote the actual notes, and also * the versions
120     with notes so we can see new versions since being noted...
121
122   o helena should have alternative sorting options, including reverse
123     and without or without differentiaion.
124
125   o julia should sync debadmin and ftpmaster (?)
126
127   o <drow> Can't read file.:
128   /org/security.debian.org/queue/accepted/accepted/apache-perl_1.3.9-14.1-1.21.20000309-1_sparc.katie.
129   You assume that the filenames are relative to accepted/, might want
130   to doc or fix that.
131
132   o <neuro> the orig was in NEW, the changes that caused it to be NEW
133     were pulled out in -2, and we end up with no orig in the archive
134     :(
135
136   o SecurityAcceptedAutoBuild doesn't handle the case of foo_3.3woody1
137     with a new .orig.tar.gz followed by a foo_3.3potato1 with the same
138     .orig.tar.gz; jennifer sees it and copes, but the AA code doesn't
139     and can't really easily know so the potato AA dir is left with no
140     .orig.tar.gz copy.  doh.
141
142   o orig.tar.gz in accepted not handled properly (?)
143
144   o amber doesn't include .orig.tar.gz but it should
145
146   o permissions (paranoia, group write, etc.) configurability and overhaul
147
148   o remember duplicate copyrights in lisaand skip them, per package
149
150   o <M>ove option for lisa byhand proecessing
151
152   o rene could do with overrides
153
154   o db_access.get_location_id should handle the lack of archive_id properly
155
156   o the whole versioncmp thing should be documented
157
158   o lisa doesn't do the right thing with -2 and -1 uploads, as you can
159     end up with the .orig.tar.gz not in the pool
160
161   o lisa exits if you check twice (aj)
162
163   o lisa doesn't trap signals from fernanda properly
164
165   o queued and/or perl on sparc stable sucks - reimplement it.
166
167   o aj's bin nmu changes
168
169   o Lisa:
170     * priority >> optional
171     * arch != {any,all}
172     * build-depends wrong (via andrea)
173     * suid
174     * conficlits
175     * notification/stats to admin daily
176     o trap fernanda exiting
177     o distinguish binary only versus others (neuro)
178
179   o cache changes parsed from ordering (careful tho: would be caching
180     .changes from world writable incoming, not holding)
181
182   o katie doesn't recognise binonlyNMUs correctly in terms of telling
183     who their source is; source-must-exist does, but the info is not
184     propogated down.
185
186   o Fix BTS vs. katie sync issues by queueing(via BSMTP) BTS mail so
187     that it can be released on deman (e.g. ETRN to exim).
188
189   o maintainers file needs overrides
190
191     [ change override.maintainer to override.maintainer-from +
192       override.maintainer-to and have them reference the maintainers
193       table.  Then fix charisma to use them and write some scripting
194       to handle the Santiago situation. ]
195
196   o Validate Depends (et al.) [it should match  \(\s*(<<|<|<=|=|>=|>|>>)\s*<VERSIONREGEXP>\)]
197
198   o Clean up DONE; archive to tar file every 2 weeks, update tar tvzf INDEX file.
199
200   o testing-updates suite: if binary-only and version << version in
201     unstable and source-ver ~= source-ver in testing; then map
202     unstable -> testing-updates ?
203
204   o hooks or configurability for debian specific checks (e.g. check_urgency, auto-building support)
205
206   o morgue needs auto-cleaning (?)
207
208   o saffron: two modes, all included, seperate
209   o saffron: add non-US
210   o saffron: add ability to control components, architectures, archives, suites
211   o saffron: add key to expand header
212
213 ================================================================================
214
215 Less Urgent
216 -----------
217
218   o change utils.copy to try rename() first
219
220   o [hard, long term] unchecked -> accepted should go into the db, not
221     a suite, but similar.  this would allow katie to get even faster,
222     make madison more useful, decomplexify specialacceptedautobuild
223     and generally be more sane.  may even be helpful to have e.g. new
224     in the DB, so that we avoid corner cases like the .orig.tar.gz
225     disappearing 'cos the package has been entirely removed but was
226     still on stayofexecution when it entered new.
227
228   o Logging [mostly done] (todo: rhona (hard), .. ?)
229
230   o jennifer: the tar extractor class doesn't need to be redone for each package
231
232   o reverse of source-must-exist; i.e. binary-for-source-must-not-exist
233   o REJECT reminders in shania.
234   o fernanda should check for conflicts and warn about them visavis priority [rmurray]
235   o store a list of removed/files versions; also compare against them.
236     [but be careful about scalability]
237
238   o fernanda: print_copyright should be a lot more intelligent
239      @ handle copyright.gz
240      @ handle copyright.ja and copyright
241      @ handle (detect at least) symlinks to another package's doc directory
242      @ handle and/or fall back on source files (?)
243
244   o To incorporate from utils:
245      @ unreject
246
247   o auto-purge out-of-date stuff from non-free/contrib so that testing and stuff works
248   o doogie's binary -> source index
249   o jt's web stuff, matt's changelog stuff (overlap)
250
251   o [Hard] Need to merge non-non-US and non-US DBs.
252
253   o experimental needs to auto clean (relative to unstable) [partial: rene warns about this]
254
255   o Do a checkpc(1)-a-like which sanitizes a config files.
256   o fix parse_changes()/build_file_list() to sanity check filenames
257   o saftey check and/or rename debs so they match what they should be
258
259   o Improve andrea.
260   o Need to optimize all the queries by using EXAMINE and building some INDEXs.
261     [postgresql 7.2 will help here]
262   o Need to enclose all the setting SQL stuff in transactions (mostly done).
263   o Need to finish alyson (a way to sync katie.conf and the DB)
264   o Need the ability to rebuild all other tables from dists _or_ pools (in the event of disaster) (?)
265   o Make the --help and --version options do stuff for all scripts
266
267   o charisma can't handle whitespace-only lines (for the moment, this is feature)
268
269   o generic way of saying isabinary and isadsc. (?)
270
271   o s/distribution/suite/g
272
273   o cron.weekly:
274      @ weekly postins to d-c (?)
275      @ backup of report (?)
276      @ backup of changes.tgz (?)
277
278   o --help doesn't work without /etc/katie/katie.conf (or similar) at
279     least existing.
280
281   o rename andrea (clashes with existing andrea)...
282
283  * Harder:
284
285     o interrupting of stracing jennifer causes exceptions errors from apt_inst calls
286     o dependency checking (esp. stable) (partially done)
287     o override checks sucks; it needs to track changes made by the
288       maintainer and pass them onto ftpmaster instead of warning the
289       maintainer.
290     o need to do proper rfc822 escaping of from lines (as opposed to s/\.//g)
291     o Revisit linking of binary->source in install() in katie.
292     o Fix component handling in overrides (aj)
293     o Fix lack of entires in source overrides (aj)
294     o direport misreports things as section 'devel' (? we don't use direport)
295     o vrfy check of every Maintainer+Changed-By address; valid for 3 months.
296     o binary-all should be done on a per-source, per-architecture package
297       basis to avoid, e.g. the perl-modules problem.
298     o a source-missing-diff check: if the version has a - in it, and it
299       is sourceful, it needs orig and diff, e.g. if someone uploads
300       esound_0.2.22-6, and it is sourceful, and there is no diff ->
301       REJECT (version has a dash, therefore not debian native.)
302     o check linking of .tar.gz's to .dsc's.. see proftpd 1.2.1 as an example
303     o archive needs md5sum'ed regularly, but takes too long to do all
304       in one go; make progressive or weekly.
305     o katie/jenna/rhona/whatever needs to clear out .changes
306       files from p-u when removing stuff superseded by newer versions.
307       [but for now we have halle]
308     o test sig checking stuff in test/ (stupid thing is not modularized due to global abuse)
309     o when encountering suspicous things (e.g. file tainting) do something more drastic
310
311  * Easy:
312
313     o suite mapping and component mapping are parsed per changes file,
314       they should probably be stored in a dictionary created at startup.
315     o don't stat/md5sum files you have entries for in the DB, moron
316       boy (Katie.check_source_blah_blah)
317     o promote changes["changes"] to mandatory in katie.py(dump_vars)
318       after a month or so (or all .katie files contain in the queue
319       contain it).
320     o melanie should behave better with -a and without -b; see
321       gcc-defaults removal for an example.
322     o Reject on misconfigured kernel-package uploads
323     o utils.extract_component_from_section: main/utils -> main/utils, main rather than utils, main
324     o Fix jennier to warn if run when not in incoming or p-u
325     o katie should validate multi-suite uploads; only possible valid one
326       is "stable unstable"
327     o cron.daily* should change umask (aj sucks)
328     o Rene doesn't look at debian-installer but should.
329     o Rene needs to check for binary-less source packages.
330     o Rene could accept a suite argument (?)
331     o byhand stuff should send notification
332     o catherine should udpate db; move files, not the other way around [neuro]
333     o melanie should update the stable changelog [joey]
334     o update tagdb.dia
335
336  * Bizzare/uncertain:
337
338     o drop rather dubious currval stuff (?)
339     o rationalize os.path.join() usage
340     o Rene also doesn't seem to warn about missing binary packages (??)
341     o logging: hostname + pid ?
342     o ANAIS should be done in katie (?)
343     o Add an 'add' ability to melanie (? separate prog maybe)
344     o Replicate old dinstall report stuff (? needed ?)
345     o Handle the case of 1:1.1 which would overwrite 1.1 (?)
346     o maybe drop -r/--regex in madison, make it the default and
347       implement -e/--exact (a la joey's "elmo")
348     o dsc files are not checked for existence/perms (only an issue if
349       they're in the .dsc, but not the .changes.. possible?)
350
351  * Cleanups & misc:
352
353     o db_access' get_files needs to use exceptions not this None, > 0, < 0 return val BS (?)
354     o The untouchable flag doesn't stop new packages being added to ``untouchable'' suites
355
356 ================================================================================
357
358 Packaging
359 ---------
360
361   o Fix stuff to look in sensible places for libs and config file in debian package (?)
362
363 ================================================================================
364
365            --help      manpage
366 -----------------------------------------------------------------------------
367 alyson        X
368 amber         X
369 andrea        X
370 ashley        X
371 catherine     X          X
372 charisma      X          X
373 cindy         X          X
374 claire        X
375 denise        X
376 fernanda      X
377 halle         X
378 heidi         X          X
379 helena        X
380 jenna         X
381 jennifer      X
382 jeri          X
383 julia         X          X
384 kelly         X          X
385 lisa          X          X
386 madison       X          X
387 melanie       X          X
388 natalie       X          X
389 neve          X
390 rene          X
391 rose          X
392 rhona         X          X
393 saffron       X
394 shania        X
395 tea           X
396 ziyi          X
397
398 ================================================================================
399
400 Possible Quotes:
401 ----------------
402  
403 | <mdz_> SirDibos: that sentence sounds like it wants to be a bug report when it grows up
404  
405 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
406
407 | From: Andrew Morton <akpm@osdl.org>
408 | Subject: Re: Linux 2.6.0-test1 Ext3 Ooops. Reboot needed.
409 | To: Ricardo Galli <gallir@uib.es>
410 | Cc: linux-kernel@vger.kernel.org
411 | Date: Fri, 18 Jul 2003 14:27:20 -0700
412
413 | Ricardo Galli <gallir@uib.es> wrote:
414 | >
415 | > "File alteration monitor", from Debian.
416
417 | OK.
418
419 | > $ apt-cache show fam
420
421 | I was attacked by dselect as a small child and have since avoided debian. 
422 | Is there a tarball anywhere?
423
424 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
425
426 | From: Bob Hilliard <hilliard@debian.org>
427
428 |      In my experience, James has been very responsive, albeit not
429 | verbose, to reasonable questions/requests that don't start out saying
430 | "James is a bum - throw him out".
431
432 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
433
434 | <eigood> Kamion: are you too busy to look at my generic
435 |          include/exclude stuff for the bts yet?
436 | <Kamion> eigood: expect me to be busy for about the next week at this
437 |          rate
438 | <eigood> my %field_match = (
439 | <eigood>     'subject' => \&contains_field_match,
440 | <eigood>     'severity' => \&exact_field_match,
441 | <eigood> that's how it works, basically
442 | <eigood> I'm a big fan of callbacks
443 | [...]
444 | <eigood> Kamion: how do you feel about having
445 |          per-bug/per-package/per-source notes support in the bts?
446 | <Kamion> eigood: as I said five minutes ago, I really don't have time
447 |          to think about it right now, sorry
448 | <Kamion> here, maybe it would be clearer if I /part
449 | <-- Kamion (~cjwatson@host81-129-36-235.in-addr.btopenworld.com) has left #debian-devel (too busy. no, really.)
450 | <eigood> no need to be hostile
451 | <Joy> eigood: he told you he's too busy and you kept bugging him. take
452 |       a hint :)
453
454 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
455
456 <mstone> bwahahaha. Dear "security@debian.org" Thank you for your
457          email about "[SECURITY] [DSA-403-1] userland can access Linux
458          kernel memory" ...I need to filter out spam... To send email to
459          vhs@flexdesign.com please put "ducks" anywhere on your subject
460          line. ...Thanks, Bob...
461 <mstone> I'll be sure to do that...
462
463 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
464
465 <drow> Hmm, that was a nice short bug report.
466 <drow> to submit@: "strdup(NULL) segfaults" to -done@: "Yes, go away"
467 [...]
468 <Kamion> how did he pass T&S? sheer bloody-mindedness?
469 [...]
470 <drow> Good attention to detail?
471 <drow> Masking of psychopathic tendencies?
472 * drow shrugs
473
474 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
475
476 http://yro.slashdot.org/comments.pl?sid=91696&cid=7890274
477
478 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
479
480 <Joy> argh.
481 <Joy> i accidentally banned all mails to the bts that had 'ossi' in them
482 <Joy> "possible" etc
483
484 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
485
486 <http://www.livejournal.com/users/mjg59/2003/12/24/>
487
488 Wednesday, December 24th, 2003
489 3:34 pm         
490 Dear PC World,
491
492 1) The most common chipset used in Pentium-II machines is the Intel 440BX. It is also relatively common in slower P-IIIs, and is approximately identical to the 440MX (a one-chip version aimed at laptops).
493
494 2) The 440BX has the interesting feature of only being able to address up to 128MBit density RAM. This is a relatively widely known issue.
495
496 3) Simple maths suggests that if you have a 128MB DIMM with 4 chips on it, they are likely to be 256MBit parts.
497
498 4) Marking said DIMMs as being suitable for Pentium-IIs is therefore really indescribably stupid, you wankwits. Please fuck off and die in a great big chemical fire before I get back there to beat you.
499
500 Love,
501
502 Matthew.
503
504 PS,
505
506 Die. No, really. 
507
508 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
509
510 <http://www.livejournal.com/users/mjg59/2003/11/12/>
511
512 Wednesday, November 12th, 2003
513 2:43 am         
514 It's true that you learn something new every day. Yesterday I discovered that playdough is electrically conductive. I also discovered that RAM becomes unhappy if all of its pins are joined together with electrically conductive material.
515
516 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
517
518 <http://www.livejournal.com/users/mjg59/2003/11/03/>
519
520 Monday, November 3rd, 2003
521 3:13 pm         
522 Hint to people attempting to sell things online:
523
524 DON'T PUT http://172.16.100.107/ IN YOUR URLS, YOU INCOMPETENT FUCKMONKEYS 
525
526 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%