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