]> git.decadent.org.uk Git - dak.git/blob - TODO
Fix size check
[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 Actually Urgent
12 ---------------
13
14   o UrgencyLog stuff should minimize it's bombing out(?)
15   o Log stuff should open the log file g+w lamer
16
17 More Urgent
18 -----------
19
20  <drow> Can't read file.: /org/security.debian.org/queue/accepted/accepted/apache-perl_1.3.9-14.1-1.21.20000309-1_sparc.katie.  You assume that the filenames are relative to accepted/, might want to doc or fix that.
21
22 <neuro> the orig was in NEW, the changes that caused it to be NEW were pulled out in -2, and we end up with no orig in the archive :(
23
24   o SecurityAcceptedAutoBuild doesn't handle the case of foo_3.3woody1
25   with a new .orig.tar.gz followed by a foo_3.3potato1 with the same
26   .orig.tar.gz; jennifer sees it and copes, but the AA code doesn't
27   and can't really easily know so the potato AA dir is left with no
28   .orig.tar.gz copy.  doh.
29
30   o orig.tar.gz in accepted not handled properly (?)
31
32   o amber doesn't include .orig.tar.gz but it should
33
34   o permissions (paranoia, group write, etc.) configurability and overhaul
35
36   o remember duplicate copyrights in lisaand skip them, per package
37
38   o <M>ove option for lisa byhand proecessing
39
40   o rene could do with overrides
41  
42   o db_access.get_location_id should handle the lack of archive_id properly
43
44   o the whole versioncmp thing should be documented
45
46   o lisa doesn't do the right thing with -2 and -1 uploads, as you can
47     end up with the .orig.tar.gz not in the pool
48
49   o lisa exits if you check twice (aj)
50
51   o lisa doesn't trap signals from fernanda properly
52
53   o queued and/or perl on sparc stable sucks - reimplement it.
54
55   o aj's bin nmu changes
56
57   o Lisa:
58     * priority >> optional
59     * arch != {any,all}
60     * build-depends wrong (via andrea)
61     * suid
62     * conficlits
63     * notification/stats to admin daily
64     o trap fernanda exiting
65     o distinguish binary only versus others (neuro)
66
67   o cache changes parsed from ordering (careful tho: would be caching
68     .changes from world writable incoming, not holding); katie should
69     certainly be using .katie files, not parsing changes, that's just
70     silly.
71
72   o katie doesn't recognise binonlyNMUs correctly in terms of telling
73     who their source is; source-must-exist does, but the info is not
74     propogated down.
75
76   o Fix BTS vs. katie sync issues by queueing(via BSMTP) BTS mail so
77     that it can be released on deman (e.g. ETRN to exim).
78
79   o write our own locking module or in some other way fix things so we
80     don't require a patch to python since upstream refuse to fix it.
81  
82   o maintainers file needs overrides  
83  
84     [ change override.maintainer to override.maintainer-from +
85       override.maintainer-to and have them reference the maintainers
86       table.  Then fix charisma to use them and write some scripting
87       to handle the Santiago situation. ]
88
89   o (Depends) <aj> elmo: it should match  \(\s*(<<|<|<=|=|>=|>|>>)\s*<VERSIONREGEXP>\) fwiw
90
91   o Clean up DONE; archive to tar file every 2 weeks, update tar tvzf INDEX file.
92
93   o testing-updates suite: if binary-only and version << version in
94     unstable and source-ver ~= source-ver in testing; then map
95     unstable -> testing-updates ?
96
97   o hooks or configurability for debian specific checks (e.g. check_urgency, auto-building support)
98
99   o morgue needs auto-cleaning (?)
100
101 ================================================================================
102
103 Less Urgent
104 -----------
105
106   o change utils.copy to try rename() first
107
108   o [hard, long term] unchecked -> accepted should go into the db, not
109   a suite, but similar.  this would allow katie to get even faster,
110   make madison more useful, decomplexify specialacceptedautobuild and
111   generally be more sane.  may even be helpful to have e.g. new in the
112   DB, so that we avoid corner cases like the .orig.tar.gz disappearing
113   'cos the package has been entirely removed but was still on
114   stayofexecution when it entered new.
115
116   o Logging [mostly done] (todo: rhona (hard), .. ?)
117
118   o jennifer is leaking file descriptors..
119
120   o the tar extractor class doesn't need to be redone for each package
121
122   o reverse of source-must-exist; i.e. binary-for-source-must-not-exist
123   o REJECT reminders in shania.
124   o fernanda should check for conflicts and warn about them visavis priority [rmurray]
125   o store a list of removed/files versions; also compare against them.
126     [but be careful about scalability]
127
128   o fernanda: print_copyright should be a lot more intelligent
129      @ handle copyright.gz
130      @ handle copyright.ja and copyright
131      @ handle (detect at least) symlinks to another package's doc directory
132      @ handle and/or fall back on source files (?)
133
134   o To incorporate from utils:
135      @ unreject
136
137   o auto-purge out-of-date stuff from non-free/contrib so that testing and stuff works
138   o doogie's binary -> source index
139   o jt's web stuff, matt's changelog stuff (overlap)
140
141   o [Hard] Need to merge non-non-US and non-US DBs.
142
143   o experimental needs to auto clean (relative to unstable) [partial: rene warns about this]
144
145   o Do a checkpc(1)-a-like which sanitizes a config files.
146   o fix parse_changes()/build_file_list() to sanity check filenames
147   o saftey check and/or rename debs so they match what they should be
148
149   o Improve andrea.
150   o Need to optimize all the queries by using EXAMINE and building some INDEXs.
151     [postgresql 7.2 will help here]
152   o Need to enclose all the setting SQL stuff in transactions (mostly done).
153   o Need to finish alyson (a way to sync katie.conf and the DB)
154   o Need the ability to rebuild all other tables from dists _or_ pools (in the event of disaster) (?)
155   o Make the --help and --version options do stuff for all scripts
156
157   o charisma can't handle whitespace-only lines (for the moment, this is feature)
158
159   o generic way of saying isabinary and isadsc. (?)
160
161   o s/distribution/suite/g
162
163   o cron.weekly:
164      @ weekly postins to d-c (?)
165      @ backup of report (?)
166      @ backup of changes.tgz (?)
167
168  * Harder:
169
170     o interrupting of stracing jennifer causes exceptions errors from apt_inst calls 
171     o dependency checking (esp. stable) (partially done)
172     o override checks sucks; it needs to track changes made by the
173       maintainer and pass them onto ftpmaster instead of warning the
174       maintainer.
175     o need to do proper rfc822 escaping of from lines (as opposed to s/\.//g)
176     o Revisit linking of binary->source in install() in katie.
177     o Fix component handling in overrides (aj)
178     o Fix lack of entires in source overrides (aj)
179     o direport misreports things as section 'devel' (? we don't use direport)
180     o vrfy check of every Maintainer+Changed-By address; valid for 3 months.
181     o binary-all should be done on a per-source, per-architecture package
182       basis to avoid, e.g. the perl-modules problem.
183     o a source-missing-diff check: if the version has a - in it, and it
184       is sourceful, it needs orig and diff, e.g. if someone uploads
185       esound_0.2.22-6, and it is sourceful, and there is no diff ->
186       REJECT (version has a dash, therefore not debian native.)
187     o check linking of .tar.gz's to .dsc's.. see proftpd 1.2.1 as an example
188     o archive needs md5sum'ed regularly, but takes too long to do all
189       in one go; make progressive or weekly.
190     o katie/jenna/rhona/whatever needs to clear out .changes
191       files from p-u when removing stuff superseded by newer versions.
192       [but for now we have halle]
193     o test sig checking stuff in test/ (stupid thing is not modularized due to global abuse)
194     o when encountering suspicous things (e.g. file tainting) do something more drastic
195
196  * Easy:
197
198     o suite mapping and component mapping are parsed per changes file,
199       they should probably be stored in a dictionary created at startup.
200     o don't stat/md5sum files you have entries for in the DB, moron
201       boy (Katie.check_source_blah_blah)
202     o promote changes["changes"] to mandatory in katie.py(dump_vars)
203       after a month or so (or all .katie files contain in the queue
204       contain it).
205     o melanie should behave better with -a and without -b; see
206       gcc-defaults removal for an example.
207     o Reject on misconfigured kernel-package uploads
208     o utils.extract_component_from_section: main/utils -> main/utils, main rather than utils, main
209     o Fix jennier to warn if run when not in incoming or p-u
210     o katie should validate multi-suite uploads; only possible valid one
211       is "stable unstable"
212     o cron.daily* should change umask (aj sucks)
213     o Rene doesn't look at debian-installer but should.
214     o Rene needs to check for binary-less source packages.
215     o Rene could accept a suite argument (?)
216     o byhand stuff should send notification
217     o catherine should udpate db; move files, not the other way around [neuro]
218     o melanie should update the stable changelog [joey]
219     o update tagdb.dia
220   
221  * Bizzare/uncertain:
222    
223     o drop rather dubious currval stuff (?)
224     o rationalize os.path.join() usage
225     o Rene also doesn't seem to warn about missing binary packages (??)
226     o logging: hostname + pid ?
227     o ANAIS should be done in katie (?)
228     o Add an 'add' ability to melanie (? separate prog maybe)
229     o Replicate old dinstall report stuff (? needed ?)
230     o Handle the case of 1:1.1 which would overwrite 1.1 (?)
231     o maybe drop -r/--regex in madison, make it the default and
232       implement -e/--exact (a la joey's "elmo")
233     o dsc files are not checked for existence/perms (only an issue if
234       they're in the .dsc, but not the .changes.. possible?)
235   
236  * Cleanups & misc: 
237    
238     o db_access' get_files needs to use exceptions not this None, > 0, < 0 return val BS (?)
239     o The untouchable flag doesn't stop new packages being added to ``untouchable'' suites
240
241 ================================================================================
242
243 Packaging
244 ---------
245
246   o Fix stuff to look in sensible places for libs and config file in debian package (?)
247
248 ================================================================================