]> git.donarmstrong.com Git - debhelper.git/blob - doc/TODO
r392: * DH_COMPAT=3 now enables the following new features which I can't just
[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 * enhance dh_installmanpages so it associates binaries and man pages and
8   installs the man pages into the correct areas to suit the binaries they
9   document. I may need to make this only happen when a switch is given, to
10   preserve backward compatibility. (#16933, #17061)
11 * maybe make dh_installmanpages look at the .TH line of man pages whose
12   filenames end in .man, to figure out what section they go it. This would
13   require a switch to turn on, for backwards compatibility.
14 * All debhelper programs should be checked that they output files with the
15   correct permissions no matter what the umask is set to. Currently, only
16   those programs that run after dh_fixperms have been so checked. (Checking
17   the rest is low priority, since dh_fixperms fixes any incorrect permissions
18   they might have; still it would be nice to check them too, just to make
19   debhelper more flexible.) One easy fix is to add umask 022 to dh_lib,
20   however, there may be unforeseen ramifications of such a change.
21 * All programs should also make sure the files they install are owned by
22   root.root. Situation is currently the same as with permissions above, plus
23   dh_installchangelogs is fixed.
24 * Need a way to make dh_strip not strip any static libs. Also, it'd be nice
25   if there were options to dh_strip, dh_compress, etc, to allow inclusion of
26   directories and exclusion of files based on filename globbing. (Request from
27   Matthias Klose <doko@cs.tu-berlin.de>)
28 * Support use of environment variables in data taken from user, ie, in
29   debian/dirs. The problem with doing this is that we really want to allow
30   any filenames in that input, even those that look like environment
31   variables. However, it may be worth adding a switch to make it parse
32   environment variables. (#20964)
33 * It's possible to speed up debhelper by having it cache some values that
34   multiple commands call. One way to do this would be to write dh_cache,
35   that generates the cache. The catch is that if the user runs that program,
36   they are stating that they don't do anything later to invalidate the cache,
37   without calling ch_cache again. (#23792)
38 * Add a switch to dh_installdeb to allow it to do user defined
39   substitutions. OTOH, maybe it's better if people just sed
40   postinst.in before debhelper gets it's hands on it... (#25235)
41 * objdump -p can get the soname of a library, try using that in dh_shlibs
42   instead of parsing filenames.
43
44 Deprecated:
45
46 * DH_COMPAT 1. Can be removed once all packages are seen to be using 2 or
47   higher. I won't hold my breath.
48 * Also, grep the entire archive for all dh_* command lines, and check to
49   see what other switches are not being used, and maybe remove some of
50   them. I'd also like to depercate/remove debian/compress files, -X is
51   a better idea.
52