Dpkg::OpenPGP::Backend::GnuPG: Fallback to use «gpg dearmor» if present
[dpkg.git] / TODO
blob3a3bab29fcc6fa3fcc73b9f5c69dabaa3d650a0c
1 RoadMap
2 =======
4   <https://wiki.debian.org/Teams/Dpkg/RoadMap>
6 TODO
7 ====
10 Recurring
11 ---------
13  * Review this file and remove or update the old entries.
15  * Look for FIXME and XXX items in the source.
17  * Triage as much bugs as possible to get the bug count below 300 ;)
18    and merge as much patches as possible.
21 Projects
22 --------
24  * Merge functionality from debsigs-verify, debsigs:
25    - Redesign OpenPGP signatures support within .deb archive and its policy.
27  * Add UTF-8 support to all programs.
29  * Discuss and implement:
30    <https://www.hadrons.org/~guillem/debian/docs/origin.proposal>.
33 Tasks
34 -----
36  * C/C++ code cleanup / bug fixes:
37    - Get rid of static variables inside functions.
38    - Coalesce hash and checksum functions.
39    - Split modstatdb_rw into mode and flags.
40    - Move fd function out of mlib.
41    - Cleanup status chars -> strings hardcoded mappings all over the place.
42      (Fix tied field enum with its dselect description (pkgdisplay.cc))
43    - Refactor src/unpack.c.
44    - Split dpkg.h into independent headers.
45    - Do more unused header include removal.
46    - Add needed includes to all header files.
47    - Get rid of useless "unsigned" modifiers.
48    - Use enums for currently hardcoded literals (replacingfilesandsaid,
49      filetriggers_edited, etc).
50    - Do not use nfmalloc (and friends) for non in-core db memory.
51    - Call nffreeall on exit (need to detangle nfmalloc from non-db first).
52    - Add a size parameter to the buffer API to avoid some useless
53      pipe+fork+copy.
54    - Handle instdir '/' separator consistently.
55    - Check if caching selinux context for second call is possible.
56    - Add missing newlines in --version output.
57    - Handle symlinks in statcmd.c statdb_node_apply().
58    - Fix dpkg termination on SIGPIPE from status-fd.
60  * libcompat cleanup:
61    - Add fnmatch, IRIX5 doesn't have it.
63  * Man pages:
64    - Add example to dpkg-scanfoo manpages?
65    - Merge synopsis lines in dpkg-triggers.
66    - Check all command vs action.
67    - Check usage of '|' instead of ', '.
68    - Check position of short option before long option.
69    - Fix dpkg man page, refs to dpkg-deb and dpkg-split, etc.
70    - Fix «.  ».
72  * L10n:
73    - Check dpkg-divert strings for new and fixable ones.
74    - Standardize translated error messages in the perl code to avoid useless
75      work for translators.
77  * s-s-d: Add POSIX capabilities support.
79  * dpkg: Deprecate --force-not-root (remove modstatdb_rw rootneeded flags).
81  * dpkg: Test and re-enable --command-fd.
83  * dpkg: Check --no-act for log_action().
85  * test: Add non-regression tests for Dpkg::Source::*.
87  * dpkg: Allow packages to register additional files, declare ownership of
88    files for dpkg -S and -L without having dpkg act on this (.psuedolist?).
90  * dpkg-checkbuilddeps: Make it easier to use by other programs such as
91    pbuilder or sbuild, so that they can start using the new architecture
92    wildcards automatically.
93    - Support for output format. (#214566)
95  * libdpkg: Fix conflicting action -%c, when short is 0.
97  * libdpkg: We should set our own obstack_alloc_failed_handler.
99  * dpkg: Declarative diversions, as a control archive entry.
101  * dpkg: --status for virtual packages.
103  ? dpkg: --query, -Q.
105  * dpkg: Filename field generated by --record-avail.
107  ? dpkg: Allow external program to specify how to handle conffiles.
109  ? dpkg: Add --call-maint-script=<script> --maint-script-arg=<arg>
110              --maint-script-arg=<arg> <pkg> <pkg>
111    Where dpkg would not allow <script> to be one of {pre,post}{inst,rm}.
112    Only unknown scripts can be called this way. dpkg would also not keep
113    track of any state for these scripts.
115  ? dpkg: _Always_ show section in --yet-to-unpack.
117  * dpkg: Fix:
118    <joeyh_> package a conflicted with old versions of package b. package b
119             conflicted with old versions of package a. I had the old versions
120             of both installed, and told dpkg to install the new versions of
121             a and b simultaneously. It refused.
123  * dselect: Automatically do --yet-to-unpack in installation methods.
125  * dselect: Make it understand Replaces.
127  * dselect: Per-half focus and keybindings improvements.
128    !missing bug report #1555!
131 Inadequacies (ponder, some might be fine)
132 ------------
134  * Conflicts << installation ordering.
136  * Search for all pre-depends things at once, bomb out if any not found.
138  * Check depending packages when installing new version.
140  * Several things ought to be configurable but are not.
142  * Filenames containing newlines.
144  * Conffile names containing spaces.
146  * Handling of case in package names.
148  * 'fake' or 'null' packages (useful for equivs or fink system packages).
150  * Local conffiles, as well as local files that dpkg should check before
151    overwriting.