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