]> 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 split the morgue into source and binary so binaries can be purged first!
31
32   o per-architecture priorities for things like different arch'es
33     gcc's, silly BSD libftw, palo, etc.
34
35   o use postgres 7.2's built-in stat features to figure out how indices are used etc.
36
37   o neve shouldn't be using location, she should run down suites instead
38
39   o halle needs to know about udebs
40
41   o by default hamstring katie's mail sending so that she won't send
42     anything until someone edits a script; she's been used far too
43     much to send spam atm :(
44
45   o $ftpdir/indices isn't created by rose because it's not in katie.conf
46
47   o sanity check depends/recommends/suggests too?  in fact for any
48     empty field?
49
50 [minor] kelly's copychanges, copykatie handling sucks, the per-suite
51         thing is static for all packages, so work out in advance dummy.
52
53 [madison] # filenames ?
54 [madison] # maintainer, component, install date (source only?), fingerprint?
55
56   o UrgencyLog stuff should minimize it's bombing out(?)
57   o Log stuff should open the log file
58
59   o [melanie] bomb out if a) no '[rene]' in the -m/--message, and b)
60     no other -d/--done or -C/--carbon-copy
61
62   o helena should footnote the actual notes, and also * the versions
63     with notes so we can see new versions since being noted...
64
65   o helena should have alternative sorting options, including reverse
66     and without or without differentiaion.
67
68   o julia should sync debadmin and ftpmaster (?)
69
70   o <drow> Can't read file.:
71   /org/security.debian.org/queue/accepted/accepted/apache-perl_1.3.9-14.1-1.21.20000309-1_sparc.katie.
72   You assume that the filenames are relative to accepted/, might want
73   to doc or fix that.
74
75   o <neuro> the orig was in NEW, the changes that caused it to be NEW
76     were pulled out in -2, and we end up with no orig in the archive
77     :(
78
79   o SecurityAcceptedAutoBuild doesn't handle the case of foo_3.3woody1
80     with a new .orig.tar.gz followed by a foo_3.3potato1 with the same
81     .orig.tar.gz; jennifer sees it and copes, but the AA code doesn't
82     and can't really easily know so the potato AA dir is left with no
83     .orig.tar.gz copy.  doh.
84
85   o orig.tar.gz in accepted not handled properly (?)
86
87   o amber doesn't include .orig.tar.gz but it should
88
89   o permissions (paranoia, group write, etc.) configurability and overhaul
90
91   o remember duplicate copyrights in lisaand skip them, per package
92
93   o <M>ove option for lisa byhand proecessing
94
95   o rene could do with overrides
96
97   o db_access.get_location_id should handle the lack of archive_id properly
98
99   o the whole versioncmp thing should be documented
100
101   o lisa doesn't do the right thing with -2 and -1 uploads, as you can
102     end up with the .orig.tar.gz not in the pool
103
104   o lisa exits if you check twice (aj)
105
106   o lisa doesn't trap signals from fernanda properly
107
108   o queued and/or perl on sparc stable sucks - reimplement it.
109
110   o aj's bin nmu changes
111
112   o Lisa:
113     * priority >> optional
114     * arch != {any,all}
115     * build-depends wrong (via andrea)
116     * suid
117     * conficlits
118     * notification/stats to admin daily
119     o trap fernanda exiting
120     o distinguish binary only versus others (neuro)
121
122   o cache changes parsed from ordering (careful tho: would be caching
123     .changes from world writable incoming, not holding)
124
125   o katie doesn't recognise binonlyNMUs correctly in terms of telling
126     who their source is; source-must-exist does, but the info is not
127     propogated down.
128
129   o Fix BTS vs. katie sync issues by queueing(via BSMTP) BTS mail so
130     that it can be released on deman (e.g. ETRN to exim).
131
132   o maintainers file needs overrides
133
134     [ change override.maintainer to override.maintainer-from +
135       override.maintainer-to and have them reference the maintainers
136       table.  Then fix charisma to use them and write some scripting
137       to handle the Santiago situation. ]
138
139   o Validate Depends (et al.) [it should match  \(\s*(<<|<|<=|=|>=|>|>>)\s*<VERSIONREGEXP>\)]
140
141   o Clean up DONE; archive to tar file every 2 weeks, update tar tvzf INDEX file.
142
143   o testing-updates suite: if binary-only and version << version in
144     unstable and source-ver ~= source-ver in testing; then map
145     unstable -> testing-updates ?
146
147   o hooks or configurability for debian specific checks (e.g. check_urgency, auto-building support)
148
149   o morgue needs auto-cleaning (?)
150
151   o saffron: two modes, all included, seperate
152   o saffron: add non-US
153   o saffron: add ability to control components, architectures, archives, suites
154   o saffron: add key to expand header
155
156 ================================================================================
157
158 Less Urgent
159 -----------
160
161   o Accept "," as a seperator in -a, -s etc. args
162
163   o change utils.copy to try rename() first
164
165   o [hard, long term] unchecked -> accepted should go into the db, not
166     a suite, but similar.  this would allow katie to get even faster,
167     make madison more useful, decomplexify specialacceptedautobuild
168     and generally be more sane.  may even be helpful to have e.g. new
169     in the DB, so that we avoid corner cases like the .orig.tar.gz
170     disappearing 'cos the package has been entirely removed but was
171     still on stayofexecution when it entered new.
172
173   o Logging [mostly done] (todo: rhona (hard), .. ?)
174
175   o jennifer: the tar extractor class doesn't need to be redone for each package
176
177   o reverse of source-must-exist; i.e. binary-for-source-must-not-exist
178   o REJECT reminders in shania.
179   o fernanda should check for conflicts and warn about them visavis priority [rmurray]
180   o store a list of removed/files versions; also compare against them.
181     [but be careful about scalability]
182
183   o fernanda: print_copyright should be a lot more intelligent
184      @ handle copyright.gz
185      @ handle copyright.ja and copyright
186      @ handle (detect at least) symlinks to another package's doc directory
187      @ handle and/or fall back on source files (?)
188
189   o To incorporate from utils:
190      @ unreject
191
192   o auto-purge out-of-date stuff from non-free/contrib so that testing and stuff works
193   o doogie's binary -> source index
194   o jt's web stuff, matt's changelog stuff (overlap)
195
196   o [Hard] Need to merge non-non-US and non-US DBs.
197
198   o experimental needs to auto clean (relative to unstable) [partial: rene warns about this]
199
200   o Do a checkpc(1)-a-like which sanitizes a config files.
201   o fix parse_changes()/build_file_list() to sanity check filenames
202   o saftey check and/or rename debs so they match what they should be
203
204   o Improve andrea.
205   o Need to optimize all the queries by using EXAMINE and building some INDEXs.
206     [postgresql 7.2 will help here]
207   o Need to enclose all the setting SQL stuff in transactions (mostly done).
208   o Need to finish alyson (a way to sync katie.conf and the DB)
209   o Need the ability to rebuild all other tables from dists _or_ pools (in the event of disaster) (?)
210   o Make the --help and --version options do stuff for all scripts
211
212   o charisma can't handle whitespace-only lines (for the moment, this is feature)
213
214   o generic way of saying isabinary and isadsc. (?)
215
216   o s/distribution/suite/g
217
218   o cron.weekly:
219      @ weekly postins to d-c (?)
220      @ backup of report (?)
221      @ backup of changes.tgz (?)
222
223   o --help doesn't work without /etc/katie/katie.conf (or similar) at
224     least existing.
225
226   o rename andrea (clashes with existing andrea)...
227
228  * Harder:
229
230     o interrupting of stracing jennifer causes exceptions errors from apt_inst calls
231     o dependency checking (esp. stable) (partially done)
232     o override checks sucks; it needs to track changes made by the
233       maintainer and pass them onto ftpmaster instead of warning the
234       maintainer.
235     o need to do proper rfc822 escaping of from lines (as opposed to s/\.//g)
236     o Revisit linking of binary->source in install() in katie.
237     o Fix component handling in overrides (aj)
238     o Fix lack of entires in source overrides (aj)
239     o direport misreports things as section 'devel' (? we don't use direport)
240     o vrfy check of every Maintainer+Changed-By address; valid for 3 months.
241     o binary-all should be done on a per-source, per-architecture package
242       basis to avoid, e.g. the perl-modules problem.
243     o a source-missing-diff check: if the version has a - in it, and it
244       is sourceful, it needs orig and diff, e.g. if someone uploads
245       esound_0.2.22-6, and it is sourceful, and there is no diff ->
246       REJECT (version has a dash, therefore not debian native.)
247     o check linking of .tar.gz's to .dsc's.. see proftpd 1.2.1 as an example
248     o archive needs md5sum'ed regularly, but takes too long to do all
249       in one go; make progressive or weekly.
250     o katie/jenna/rhona/whatever needs to clear out .changes
251       files from p-u when removing stuff superseded by newer versions.
252       [but for now we have halle]
253     o test sig checking stuff in test/ (stupid thing is not modularized due to global abuse)
254     o when encountering suspicous things (e.g. file tainting) do something more drastic
255
256  * Easy:
257
258     o suite mapping and component mapping are parsed per changes file,
259       they should probably be stored in a dictionary created at startup.
260     o don't stat/md5sum files you have entries for in the DB, moron
261       boy (Katie.check_source_blah_blah)
262     o promote changes["changes"] to mandatory in katie.py(dump_vars)
263       after a month or so (or all .katie files contain in the queue
264       contain it).
265     o melanie should behave better with -a and without -b; see
266       gcc-defaults removal for an example.
267     o Reject on misconfigured kernel-package uploads
268     o utils.extract_component_from_section: main/utils -> main/utils, main rather than utils, main
269     o Fix jennier to warn if run when not in incoming or p-u
270     o katie should validate multi-suite uploads; only possible valid one
271       is "stable unstable"
272     o cron.daily* should change umask (aj sucks)
273     o Rene doesn't look at debian-installer but should.
274     o Rene needs to check for binary-less source packages.
275     o Rene could accept a suite argument (?)
276     o byhand stuff should send notification
277     o catherine should udpate db; move files, not the other way around [neuro]
278     o melanie should update the stable changelog [joey]
279     o update tagdb.dia
280
281  * Bizzare/uncertain:
282
283     o drop rather dubious currval stuff (?)
284     o rationalize os.path.join() usage
285     o Rene also doesn't seem to warn about missing binary packages (??)
286     o logging: hostname + pid ?
287     o ANAIS should be done in katie (?)
288     o Add an 'add' ability to melanie (? separate prog maybe)
289     o Replicate old dinstall report stuff (? needed ?)
290     o Handle the case of 1:1.1 which would overwrite 1.1 (?)
291     o maybe drop -r/--regex in madison, make it the default and
292       implement -e/--exact (a la joey's "elmo")
293     o dsc files are not checked for existence/perms (only an issue if
294       they're in the .dsc, but not the .changes.. possible?)
295
296  * Cleanups & misc:
297
298     o db_access' get_files needs to use exceptions not this None, > 0, < 0 return val BS (?)
299     o The untouchable flag doesn't stop new packages being added to ``untouchable'' suites
300
301 ================================================================================
302
303 Packaging
304 ---------
305
306   o Fix stuff to look in sensible places for libs and config file in debian package (?)
307
308 ================================================================================
309
310            --help      manpage
311 -----------------------------------------------------------------------------
312 alyson        X
313 amber         X
314 andrea        X
315 ashley        X
316 catherine     X          X
317 charisma      X          X
318 cindy         X          X
319 claire        X
320 denise        X
321 fernanda      X
322 halle         X
323 heidi         X          X
324 helena        X
325 jenna         X
326 jennifer      X
327 jeri          X
328 julia         X          X
329 kelly         X          X
330 lisa          X          X
331 madison       X          X
332 melanie       X          X
333 natalie       X          X
334 neve          X
335 rene          X
336 rose          X
337 rhona         X          X
338 saffron       X
339 shania        X
340 tea           X
341 ziyi          X