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