Update German scripts translation
[dpkg.git] / TODO
blob2b8a68dbf3700fd799f466619ab639960d1707ab
1 RoadMap
2 =======
4   <https://wiki.debian.org/Teams/Dpkg/RoadMap>
6 TODO
7 ====
9 1.20.x
10 ~~~~~~
12  * Review this file and remove or update the old entries.
14  * Look for FIXME and XXX items in the source.
16  * Triage as much bugs as possible to get the bug count below 300 ;) and
17    merge as much patches as possible.
19  * Code cleanup / bug fixes:
20    - Get rid of static variables inside functions.
21    - Coalesce hash and checksum functions.
22    - Split modstatdb_rw into mode and flags.
23    - Move fd function out of mlib.
24    - Cleanup status chars -> strings hardcoded mappings all over the place.
25      (Fix tied field enum with its dselect description (pkgdisplay.cc))
26    - Refactor src/unpack.c.
27    - Split dpkg.h into independent headers.
28    - Do more unused header include removal.
29    - Add needed includes to all header files.
30    - Get rid of useless "unsigned" modifiers.
31    - Use enums for currently hardcoded literals (replacingfilesandsaid,
32      filetriggers_edited, etc).
33    - Do not use nfmalloc (and friends) for non in-core db memory.
34    - Call nffreeall on exit (need to detangle nfmalloc from non-db first).
35    - Add a size parameter to the buffer API to avoid some useless
36      pipe+fork+copy.
37    - Handle instdir '/' separator consistently.
38    - Check if caching selinux context for second call is possible.
39    - Add missing newlines in --version output.
40    - Handle symlinks in statcmd.c statdb_node_apply().
41    - Fix dpkg termination on SIGPIPE from status-fd.
43  * libcompat cleanup:
44    - Add fnmatch, IRIX5 doesn't have it.
46  * Man pages:
47    - Add example to dpkg-scanfoo manpages?
48    - Merge synopsis lines in dpkg-triggers.
49    - Check all command vs action.
50    - Check usage of '|' instead of ', '.
51    - Check position of short option before long option.
52    - Fix dpkg man page, refs to dpkg-deb and dpkg-split, etc.
53    - Fix «.  ».
55  * L10n:
56    - Check dpkg-divert strings for new and fixable ones.
57    - Standardize translated error messages in the perl code to avoid useless
58      work for translators.
59    - Check https://d-i.alioth.debian.org/spellcheck/level5/index.html
61  * Discuss and implement
62    https://www.hadrons.org/~guillem/debian/docs/origin.proposal
64  * Deprecate --force-not-root flag (remove modstatdb_rw rootneeded flags).
66  * Test and re-enable --command-fd.
68  * Check --no-act for log_action().
70  * Add non-regression tests for Dpkg::Source::*
72  * Add UTF-8 support to all programs.
74  * Allow packages to register additional files, declare ownership of files for
75    dpkg -S and -L without having dpkg act on this (.psuedolist?).
77  * Make dpkg-checkbuilddeps easier to use by other programs such as pbuilder
78    or sbuild, so that they can start using the new architecture wildcards
79    automatically.
80    - Support for output format. (#214566)
82  * Fix conflicting action -%c, when short is 0.
84  * We should set our own obstack_alloc_failed_handler.
86 ------------------------------------------------------------------------------
88 Old TODO entries from Scott:
90 start-stop-daemon
91 * capabilities support
93 dpkg
94 * allow external program to specify how to handle conffiles
95 * dpkg --call-maint-script=<script> --maint-script-arg=<arg>
96   --maint-script-arg=<arg> <pkg> <pkg>
97     dpkg will not allow <script> to be one of {pre,post}{inst,rm}.  Only
98     unknown scripts can be called this way.  dpkg will also not keep track
99     of any state for these scripts.
101 Fix:
102 <joeyh_> package a conflicted with old versions of package b. package b
103       conflicted with old versions of package a. I had the old versions of both
104       installed, and told dpkg to install the new versions of a and b
105       simultaneously. It refused.
107 dselect:
108 * support Enhances
110 ------------------------------------------------------------------------------
112 Old TODO entries from IWJ:
114 Here are some currently-known inadequacies:
116 urgent
117  * Conflicts << installation ordering
118  * Version numbers in pre-depends stuff
119  * Search for all pre-depends things at once, bomb out if any not found
120  * _always_ show section in --yet-to-unpack
121  * automatically do --yet-to-unpack in installation methods
122  * check depending packages when installing new version.
123  * Several things ought to be configurable but aren't.
124  * Filenames containing newlines.  Conffile names containing spaces.
125  * dpkg --status for virtual packages
126  * openpgp signatures in the package archive
128 other stuff unlikely to get done soon
129  * Automatically remove <file>.gz if <file> can't be found ? and maybe,
130    remove <file> if <file.gz> can't be found? Big mess when we start
131    thinking about bz2 :/
132  * Local version number (using non-numeric epoch, perhaps, or better yet,
133    a --local option in dpkg, so that it marks this package as a local install
134    (when running dpkg -i)? Keeps it from being listed as obsolete, and maybe
135    from being considered for auto-upgrades (apt-get needs to know about this
136    too)
137  * Filename field generated by --record-avail
138  * understand Replaces in dselect
139  * diversions list as control archive entry
140  * single maintainer script, and new package getting there first
141  * local conffiles, as well as local files that dpkg should check before
142    overwriting
143  * dselect per-half focus and keybindings improvements.
144    !missing bug report #1555!
146  * how to change case of package names
147  * 'fake' or 'null' packages
148  * dpkg --query | -Q