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