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