]> git.decadent.org.uk Git - dak.git/blob - TODO
New script fernanda
[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   o fernanda: print_copyright should be a lot more intelligent
58      @ handle copyright.gz
59      @ handle copyright.ja and copyright
60      @ handle (detect at least) symlinks to another package's doc directory
61      @ handle and/or fall back on source files?
62      @ check only NEW packages out of a source package with some NEW, some old
63
64   o To incorporate from utils:
65      @ unreject
66      @ genreport
67      @ reject
68      @ newchanges
69
70 Less Urgent
71 -----------
72
73  o main/utils -> main/utils, main rather than utils, main
74
75  o doogie's binary -> source index
76
77  o ANIAS should be done in katie ?
78  
79  o natalie doesn't warn when lisitng invalid components!
80
81  o run apt-ftparchive clean <conf file> weekly [culus sucks]
82
83  o purge older stuff from non-free/contrib so that testing and stuff works
84
85  o when dinstall is run in install mode but not as a cron job, it
86    should probably run jenna to avoid madison originated user confusion
87
88  o check for empty debs; check for empty (or small (<1k ?)) .tar.gz's.
89
90  o validate email addresses ?  harsh to reject tho [errge]
91
92  o validate source consistency, i.e. .dsc and .tar.gz as minimum
93
94  o Rene doesn't look at debian-installer but should.
95
96  o Rene also doesn't seem to warn about missing binary packages?
97
98  o cron.daily* should change umask (aj sucks)
99  
100  o override checks sucks; it needs to track changes made by the
101    maintainer and pass them onto ftpmaster instead of warning the
102    maintainer.
103
104  o Don't do override checks for stable only uploads
105
106  o katie should validate multi-suite uploads; only possible valid one
107    is "stable unstable" [but see d-policy@l.d.o]
108
109  o need to have process_it run a big try: loop so that individual
110     package screws up don't kill the daily cron run.
111
112  o Add an 'add' ability to melanie (? separate prog maybe)
113  o [Hard] Need to merge non-non-US and non-US DBs.
114  o [Easy] Need to vacuum daily
115  o [Easy] remove empty directories in the pool in cron.weekly or so
116
117  o need to do proper rfc822 escaping of from lines (as opposed to s/\.//g)
118
119  o Fix dinstall to remove != stable on stable install, not just f + u
120  o Fix 'mixed' component handling (?)
121  o Fix component handling in overrides (aj)
122  o Fix lack of entires in source overrides (aj)
123  o Fix rhona to unconditionally read override file on startup
124  o Fix dinstall to warn if not in incoming or p-u
125  o db_access' get_files needs to use exceptions not this None, > 0, < 0 return val BS (?)
126  o check errors on apt_pkg calls (?)
127  o The untouchable flag doesn't stop adding new packages
128  o jenna needs to validate arguments (?)
129  o jenna is too damn slow
130
131 ===================================================================================================
132
133 TODO
134 ====
135
136 Packaging
137 ---------
138
139   o Install python libraries (db_access and utils)
140   o Install config file
141   o Fix stuff to look in sensible places for libs and config file in debian package (?)
142   o man pages and/or documentation
143
144 Urgent
145 ------
146
147   o Secure incoming handling
148   o [Hard] dependency checking
149   o Need log files for jenna, rhona and katie.
150
151 Less Urgent
152 -----------
153
154   o Do a checkpc(1)-a-like which sanitizes a config files.
155   o fix parse_changes()/build_file_list() to sanity check filenames
156   o saftey check and/or rename debs so they match what they should be
157
158   o Enable catherine (when daily mirror hit drops down below 300Mb maybe..)
159   o Improve andrea.
160   o Need to optimize all the queries by using EXAMINE and building some INDEXs.
161   o Need to enclose all the setting SQL stuff in transactions (mostly done).
162   o Need to finish alyson (a way to sync katie.conf and the DB)
163   o Need the ability to rebuild all other tables from dists _or_ pools (in the event of disaster) (?)
164   o Make the --help and --version options do stuff for all scripts
165   o Need to check for .dsc when source is mentioned
166
167   o charisma can't handle whitespace-only lines (for the moment, this is feature)
168   o Should use $EDITOR, not hardcode vi
169   o Should reject packages with bad timestamps
170   o Replicate old dinstall report stuff (? needed ?)
171   o Handle the case of 1:1.1 which would overwrite 1.1 (?)
172   o aj's binary-all stuff (foo-doc depending on foo) (?)
173   o heidi should report suite name not ID [aj]
174
175   o fubar and warn/error wrappers like in C (?)
176   o generic way of saying isabinary and isadsc. (?)
177   o substitution stuff (cf. userdir-ldap) for announce, reject etc.
178
179   o s/distribution/suite/g
180
181 ===================================================================================================
182
183 23:12|<aj> I will not hush!
184 23:12|<elmo> :>
185 23:12|<aj> Where there is injustice in the world, I shall be there!
186 23:13|<aj> I shall not be silenced!
187 23:13|<aj> The world shall know!
188 23:13|<aj> The world *must* know!
189 23:13|<elmo> oh dear, he's gone back to powerpuff girls... ;-)
190 23:13|<aj> yay powerpuff girls!!
191 23:13|<aj> buttercup's my favourite, who's yours?
192 23:14|<aj> you're backing away from the keyboard right now aren't you?
193 23:14|<aj> *AREN'T YOU*?!
194 23:15|<aj> I will not be treated like this.
195 23:15|<aj> I shall have my revenge.
196 23:15|<aj> I SHALL!!!
197