]> git.donarmstrong.com Git - debhelper.git/blob - doc/TODO
dh_installinit: Add --restart-after-upgrade, which avoids stopping a daemon in the...
[debhelper.git] / doc / TODO
1 This is the TODO for debhelper. As more and more people use debhelper, this
2 list grows - I welcome patches to fix items on it!
3
4 Wishlist items:
5
6 * All debhelper programs should only accept the options they are documented
7   to accept (rather than accepting all debhelper options). They should
8   be able to print brief usage summaries.
9
10   I think this calls for a restructuring. Make a Debhelper.pm class. Each
11   program subclasses the class. The class provides command line parsing,
12   useful functions, and so on. Skeleton of a debhelper command would then
13   be:
14
15   use base qw{Debhelper};
16
17   sub startup {
18         # Add initialization stuff here.
19   }
20
21   sub perpackage {
22         my $package=shift;
23
24         # Stuff to do for each package here.
25   }
26
27   sub fini {
28         # And final stuff here, if any.
29   }
30
31   This needs more thought.
32   
33 v9:
34
35 * escaping in config files (for whitespace)?
36 * make dh_install use hard links for efficiency
37 * dh_installinit --restart-after-upgrade as default?
38
39 Deprecated:
40
41 * DH_COMPAT 1, 2, 3. Can be removed once all packages are seen to be using
42   a newer version. I won't hold my breath. Now with evil warning messages
43   though.
44 * Also, grep the entire archive for all dh_* command lines,
45   and check to see what other switches are not being used, and maybe remove
46   some of them. I'd also like to deprecate/remove debian/compress files, -X is
47   a better idea.
48 * dh_suidregister. Once nothing in the archive uses it.
49 * dh_installmanpages.
50 * dh_testversion. Remove as soon as nothing uses it.
51 * dh_movefiles. I won't hold my breath.
52 * debconf-mergetemplates support and the debian/template.ll files and the
53   debconf-utils dependency.
54 * dh_undocumented
55 * dh_installinit --init-script
56 * dh_python
57 * dh_clean -k (make it warn)