]> git.donarmstrong.com Git - debhelper.git/blob - doc/TODO
4cd098457298c337f115edc28d1ea8b249dcebe1
[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 * Make dh_* "use strict".
7 * Make dh_movefiles remove emptied directories after it's moved all the
8   files out of them (#17111).
9 * enhance dh_installmanpages so it associates binaries and man pages and
10   installs the man pages into the correct areas to suit the binaries they
11   document. I may need to make this only happen when a switch is given, to
12   preserve backward compatibility. (#16933, #17061)
13 * maybe make dh_installmanpages look at the .TH line of man pages whose
14   filenames end in .man, to figure out what section they go it. This would
15   require a switch to turn on, for backwards compatibility.
16 * All debhelper programs should be checked that they output files with the
17   correct permissions no matter what the umask is set to. Currently, only
18   those programs that run after dh_fixperms have been so checked. (Checking
19   the rest is low priority, since dh_fixperms fixes any incorrect permissions
20   they might have; still it would be nice to check them too, just to make
21   debhelper more flexible.) One easy fix is to add umask 022 to dh_lib,
22   however, there may be unforeseen ramifications of such a change.
23 * All programs should also make sure the files they install are owned by
24   root.root. Situation is currently the same as with permissions above, plus
25   dh_installchangelogs is fixed.
26 * something should add ldconfig calls properly to the postinst of packages
27   that contain shared libraries. maybe dh_makeshlibs? But it wasn't designed
28   to do that originally, and even worse, it is often run after
29   dh_installdeb, so the fragments wouldn't go into the postinst. So maybe a
30   new script is called for. But it's probably be best to just have a switch
31   to enable this.
32 * Need a way to make dh_strip not strip any static libs. Also, it'd be nice
33   if there were options to dh_strip, dh_compress, etc, to allow inclusion of
34   directories and exclusion of files based on filename globbing. (Request from
35   Matthias Klose <doko@cs.tu-berlin.de>)
36 * Support use of environment variables in data taken from user, ie, in
37   debian/dirs. The problem with doing this is that we really want to allow
38   any filenames in that input, even those that look like environment
39   variables. However, it may be worth adding a switch to make it parse
40   environment variables. (#20964)
41 * It's possible to speed up debhelper by having it cache some values that
42   multiple commands call. One way to do this would be to write dh_cache,
43   that generates the cache. The catch is that if the user runs that program,
44   they are stating that they don't do anything later to invalidate the cache,
45   without calling ch_cache again. (#23792)
46 * Add a switch to dh_installdeb to allow it to do user defined
47   substitutions. OTOH, maybe it's better if people just sed
48   postinst.in before debhelper gets it's hands on it... (#25235)
49 * objdump -p can get the soname of a library, try using that in dh_shlibs
50   instead of parsing filenames.
51 * to suport foo-doc -> foo symlinks in /usr/share/doc, make
52   dh_installdocs/changelogs check to see if the doc dir is a symlink to a
53   directory. If so, dh_installdocs does not install copyright, and
54   dh_installchangelogs does nothing, but everything else dh_installdocs would
55   do is still done. This means that you need to use dh_link and dh_installdirs
56   to set up the link and directory.
57
58 Deprecated:
59
60 * remove dh_du. 
61   - need to wait a reasonable length of
62     time. I'm currently planning on doing this after slink is released or
63     one year after they were deprecated, whichever comes first. Be sure to
64     grep whole debian archive for all of them before removing them, though!
65   - currently, a few packages in potato use dh_du, but bugs have been filed.
66 * Remove support for --number option
67   - only dh_installemacsen ever used it, it is not --priority.
68 * DH_COMPAT 1. Can be removed once all packages are seen to be using 2 or
69   higher. I won't hold my breath.
70 * Also, grep the entire archive for all dh_* command lines, and check to
71   see what other switches are not being used, and maybe remove some of
72   them. I'd also like to depercate/remove debian/compress files, -X is
73   a better idea.
74