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