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