]> git.decadent.org.uk Git - dak.git/blob - TODO
Fix extract_component_from_section and add a test suite.
[dak.git] / TODO
1 To fix
2 ======
3
4 Urgent
5 ------
6
7   o katie should distingusih between can not read does not exist and perm denied.
8  
9   o heidi should use transactions
10
11   o heidi should read from stdin, then process
12
13   o katie needs a stable_reject() which a) removes the package from
14     p-u, b) doesn't remove the file from the pool, and c) (optionally, I
15     guess) uses a template mail.
16
17   o katie/jenna/rhona/whatever needs to clear out .changes
18     files from p-u when removing stuff superseded by newer versions.
19
20   o experimental needs to auto clean (relative to unstable)
21   ['
22    SELECT s.source, s.version AS experimental, s2.version AS unstable 
23      FROM src_associations sa, source s, source s2, src_associations sa2 
24      WHERE sa.suite = 1 AND sa2.suite = 5 AND sa.source = s.id 
25        AND sa2.source = s2.id AND s.source = s2.source 
26        AND versioncmp(s.version, s2.version) < 0;
27   ']
28   [ but, needs to hook into melanie ... ]
29   [ and, err, fix the gay hardcoding of suites in rene ... ]
30
31   o jenna doesn't handle arch: any -> arch: all transitions 
32     [aj worked around; need to revisit]
33
34   o direport misreports things as section 'devel'
35
36   o rewrite shania to a) be sane, b) clean REJECT properly
37     (i.e. ignore the fact that stuff is in a valid .changes file and
38     just clean the mofo)
39
40   o maintainers file needs overrides  
41  
42     [ change override.maintainer to override.maintainer-from +
43       override.maintainer-to and have them reference the maintainers
44       table.  Then fix charisma to use them and write some scripting
45       to handle the Santiago situation. ]
46
47   o Add urgency + installed date to the DB for aj/testing (? still needed ?)
48
49   o Enforce NMU and bin-only NMU versioning schemes
50
51   o Revisit linking of binary->source in install() in katie.
52
53   o debian/* assumes arch: all but sql-aptvc.o isn't arch: all.
54
55   o jt's web stuff, matt's changelog stuff (overlap)
56
57 Less Urgent
58 -----------
59
60  o main/utils -> main/utils, main rather than utils, main
61
62  o doogie's binary -> source index
63
64  o ANIAS should be done in katie ?
65  
66  o natalie doesn't warn when lisitng invalid components!
67
68  o run apt-ftparchive clean <conf file> weekly [culus sucks]
69
70  o purge older stuff from non-free/contrib so that testing and stuff works
71
72  o when dinstall is run in install mode but not as a cron job, it
73    should probably run jenna to avoid madison originated user confusion
74
75  o check for empty debs; check for empty (or small (<1k ?)) .tar.gz's.
76
77  o validate email addresses ?  harsh to reject tho [errge]
78
79  o validate source consistency, i.e. .dsc and .tar.gz as minimum
80
81  o Rene doesn't look at debian-installer but should.
82
83  o Rene also doesn't seem to warn about missing binary packages?
84
85  o cron.daily* should change umask (aj sucks)
86  
87  o override checks sucks; it needs to track changes made by the
88    maintainer and pass them onto ftpmaster instead of warning the
89    maintainer.
90
91  o Don't do override checks for stable only uploads
92
93  o katie should validate multi-suite uploads; only possible valid one
94    is "stable unstable" [but see d-policy@l.d.o]
95
96  o need to have process_it run a big try: loop so that individual
97     package screws up don't kill the daily cron run.
98
99  o Add an 'add' ability to melanie (? separate prog maybe)
100  o [Hard] Need to merge non-non-US and non-US DBs.
101  o [Easy] Need to vacuum daily
102  o [Easy] remove empty directories in the pool in cron.weekly or so
103
104  o need to do proper rfc822 escaping of from lines (as opposed to s/\.//g)
105
106  o Fix dinstall to remove != stable on stable install, not just f + u
107  o Fix 'mixed' component handling (?)
108  o Fix component handling in overrides (aj)
109  o Fix lack of entires in source overrides (aj)
110  o Fix rhona to unconditionally read override file on startup
111  o Fix dinstall to warn if not in incoming or p-u
112  o db_access' get_files needs to use exceptions not this None, > 0, < 0 return val BS (?)
113  o check errors on apt_pkg calls (?)
114  o The untouchable flag doesn't stop adding new packages
115  o jenna needs to validate arguments (?)
116  o jenna is too damn slow
117
118 ===================================================================================================
119
120 TODO
121 ====
122
123 Packaging
124 ---------
125
126   o Install python libraries (db_access and utils)
127   o Install config file
128   o Fix stuff to look in sensible places for libs and config file in debian package (?)
129   o man pages and/or documentation
130
131 Urgent
132 ------
133
134   o Secure incoming handling
135   o [Hard] dependency checking
136   o Need log files for jenna, rhona and katie.
137
138 Less Urgent
139 -----------
140
141   o Do a checkpc(1)-a-like which sanitizes a config files.
142   o fix parse_changes()/build_file_list() to sanity check filenames
143   o saftey check and/or rename debs so they match what they should be
144
145   o Enable catherine (when daily mirror hit drops down below 300Mb maybe..)
146   o Improve andrea.
147   o Need to optimize all the queries by using EXAMINE and building some INDEXs.
148   o Need to enclose all the setting SQL stuff in transactions (mostly done).
149   o Need to finish alyson (a way to sync katie.conf and the DB)
150   o Need the ability to rebuild all other tables from dists _or_ pools (in the event of disaster) (?)
151   o Make the --help and --version options do stuff for all scripts
152   o Need to check for .dsc when source is mentioned
153
154   o charisma can't handle whitespace-only lines (for the moment, this is feature)
155   o Should use $EDITOR, not hardcode vi
156   o Should reject packages with bad timestamps
157   o Replicate old dinstall report stuff (? needed ?)
158   o Handle the case of 1:1.1 which would overwrite 1.1 (?)
159   o aj's binary-all stuff (foo-doc depending on foo) (?)
160   o heidi should report suite name not ID [aj]
161
162   o fubar and warn/error wrappers like in C (?)
163   o generic way of saying isabinary and isadsc. (?)
164   o substitution stuff (cf. userdir-ldap) for announce, reject etc.
165
166   o s/distribution/suite/g
167
168 ===================================================================================================
169
170 23:12|<aj> I will not hush!
171 23:12|<elmo> :>
172 23:12|<aj> Where there is injustice in the world, I shall be there!
173 23:13|<aj> I shall not be silenced!
174 23:13|<aj> The world shall know!
175 23:13|<aj> The world *must* know!
176 23:13|<elmo> oh dear, he's gone back to powerpuff girls... ;-)
177 23:13|<aj> yay powerpuff girls!!
178 23:13|<aj> buttercup's my favourite, who's yours?
179 23:14|<aj> you're backing away from the keyboard right now aren't you?
180 23:14|<aj> *AREN'T YOU*?!
181 23:15|<aj> I will not be treated like this.
182 23:15|<aj> I shall have my revenge.
183 23:15|<aj> I SHALL!!!
184