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