summaryrefslogtreecommitdiff
path: root/doc/TODO
blob: 7dc57ff5d539e5ba33499b6b9090e6de2c0b0786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
This is the TODO for debhelper. As more and more people use debhelper, this
list grows - I welcome patches to fix items on it!

Wishlist items:

* All debhelper programs should only accept the options they are documented
  to accept (rather than accepting all debhelper options). They should
  be able to print brief usage summaries.

  I think this calls for a restucturing. Make a Debhelper.pm class. Each
  program subclasses the class. The class provides command line parsing,
  useful functions, and so on. Skeleton of a debhelper command would then
  be:

  use base qw{Debhelper};

  sub startup {
  	# Add initialization stuff here.
  }

  sub perpackage {
  	my $package=shift;

  	# Stuff to do for each package here.
  }

  sub fini {
  	# And final stuff here, if any.
  }

  This needs more thought.
  
* install-info, as of dpkg 1.10, parses the info file for section if
  --section is not given. So I should be able to stop parsing it myself for
  section, after dpkg 1.10 has been around long enough.

Deprecated:

* DH_COMPAT 1. Can be removed once all packages are seen to be using 2 or
  higher. I won't hold my breath.
* Also, grep the entire archive for all dh_* command lines (I do this now),
  and check to see what other switches are not being used, and maybe remove
  some of them. I'd also like to deprecate/remove debian/compress files, -X is
  a better idea.
* dh_suidregister. Once nothing in the archive uses it.
* dh_installmanpages. Only mildly deprecated right now. Once dh_installman
  catches on, make it emit a warning, and then wait for it to go away.
* dh_testversion. Remove as soon as nothing uses it.
* dh_movefiles. I won't hold my breath.
* debconf-mergetemplates support and the debian/template.ll files and the
  debconf-utils dependency.
* dh_undocumented