TODO 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. RoadMap
  2. =======
  3. <http://wiki.debian.org/Teams/Dpkg/RoadMap>
  4. TODO
  5. ====
  6. 1.16.x
  7. ~~~~~~
  8. * Review this file and remove or update the old entries.
  9. * Look for FIXME and XXX items in the source.
  10. * Triage as much bugs as possible to get the bug count below 300 ;) and
  11. merge as much patches as possible.
  12. * Create dedicated manual pages for .changes and .dsc documenting the
  13. format of the files. (deb-foo might not be apprioriate as those are
  14. not inside of the .deb file, but changes(5) seems too generic.)
  15. Explain that backwards incompatible change involve a major version bump
  16. (1.x => 2.x) while minor version bump will be used for backwards
  17. compatible extension (e.g. new fields).
  18. * Build:
  19. - Make dpkg bootstrappable.
  20. - Check availability of warning flags at configure time.
  21. - Handle missing lstat at configure time by erroring out.
  22. * Code cleanup / bug fixes:
  23. - Get rid of static variables inside functions.
  24. - Coalesce admindir / infodir / foodir generation.
  25. - Coalesce hash and checksum functions.
  26. - Split modstatdb_rw into mode and flags.
  27. - Move fd function out of mlib.
  28. - Cleanup status chars -> strings hardcoded mappings all over the place.
  29. (Fix tied field enum with its dselect description (pkgdisplay.cc))
  30. - Refactor src/processarc.c.
  31. - Split dpkg.h into independent headers.
  32. - Do more unused header include removal.
  33. - Add needed includes to all header files.
  34. - Get rid of unuseful "unsigned" modifiers.
  35. - Use internerr instead of assert, and print more meaninful messages.
  36. - Make actionfunction return int, and avoid global exitcode variables.
  37. - Replace raw write and read calls with safe variants (signals etc).
  38. - Make deb build version a version instead of doing checks over a string.
  39. - Use enums for currently hardcoded literals (tdus, dependtry, etc).
  40. - Namespace pkg_db funcs.
  41. - Do not use nfmalloc (and friends) for non in-core db memory.
  42. - Call nffreeall on exit (need to detangle nfmalloc from non-db first).
  43. - Add a size parameter to the buffer api to avoid some useless
  44. pipe+fork+copy.
  45. - Handle instdir '/' separator consistently.
  46. - Check if caching selinux context for second call is possible.
  47. - Refactor parse_warn/parse_error.
  48. - Make parse_warn use warning().
  49. - Add missing newlines in --version output.
  50. - Fix leak on tar_extract (name, linkname).
  51. - Handle symlinks in statcmd.c statdb_node_apply().
  52. - Fix dpkg termination on SIGPIPE from status-fd.
  53. * libcompat cleanup:
  54. - Add fnmatch, IRIX5 doesn't have it.
  55. * Man pages:
  56. - Add example to dpkg-scanfoo manpages?
  57. - Merge synopsis lines in dpkg-triggers.
  58. - Check all '<>' use bold instead.
  59. - Check all command vs action.
  60. - Check usage of '|' instead of ', '.
  61. - Check position of short option before long option.
  62. - Use [option...] instead of [options] and friends?
  63. - Fix dpkg man page, refs to dpkg-deb and dpkg-split, etc.
  64. - Fix «commandline» vs «command line».
  65. - Fix «. ».
  66. * L10n:
  67. - Check dpkg-divert strings for new and fixable ones.
  68. - Standardize translated error messages in the perl code to avoid useless
  69. work for translators.
  70. - Check http://d-i.alioth.debian.org/spellcheck/level5/index.html
  71. * Discuss and implement
  72. http://www.hadrons.org/~guillem/debian/docs/origin.proposal
  73. * Deprecate --force-not-root flag (remove modstatdb_rw rootneeded flags).
  74. * Test and reenable --command-fd.
  75. * Check --no-act for log_action().
  76. * Add non-regression tests for Dpkg::Source::*
  77. * Add UTF-8 support to all programs.
  78. * Allow packages to register additional files, declare ownership of files for
  79. dpkg -S and -L without having dpkg act on this (.psuedolist?).
  80. * Make dpkg-checkbuilddeps easier to use by other programs such as pbuilder
  81. or sbuild, so that they can start using the new architecture wildcards
  82. automatically.
  83. - Support for output format. (#214566)
  84. * Propagate --admindir to programs run from maintainer scritpts. (#97076)
  85. * Fix conflicting action -%c, when short is 0.
  86. * We should set our own obstack_alloc_failed_handler.
  87. * Remove compatibility symlinks
  88. /usr/sbin/{update-alternatives,dpkg-divert,dpkg-statoverride}.
  89. * Remove install-info wrapper.
  90. ------------------------------------------------------------------------------
  91. Old TODO entries from Scott:
  92. start-stop-daemon
  93. * capabilities support
  94. * don't close FD's
  95. dpkg
  96. * allow external program to specify how to handle conffiles
  97. * try to remove directories again after removing conffiles
  98. * verify Enhances works (ie don't trigger some assertion)
  99. * add test to see if a file should really be installed and optionally
  100. skip it
  101. * dpkg --call-maint-script=<script> --maint-script-arg=<arg>
  102. --maint-script-arg=<arg> <pkg> <pkg>
  103. dpkg will not allow <script> to be one of {pre,post}{inst,rm}. Only
  104. unknown scripts can be called this way. dpkg will also not keep track
  105. of any state for these scripts.
  106. Fix:
  107. <joeyh_> package a conflicted with old versions of package b. package b
  108. conficted with old versions of package a. I had the old versions of both
  109. installed, and told dpkg to install the new versions of a and b
  110. simulantaneously. It refused.
  111. dselect:
  112. * support Enhances
  113. ------------------------------------------------------------------------------
  114. Old TODO entries from IWJ:
  115. 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
  127. other stuff unlikely to get done soon
  128. * Automatically remove <file>.gz if <file> can't be found ? and maybe,
  129. remove <file> if <file.gz> can't be found? Big mess when we start
  130. thinking about bz2 :/
  131. * Local version number (using non-numeric epoch, perhaps, or better yet,
  132. a --local option in dpkg, so that it marks this package as a local install
  133. (when running dpkg -i)? Keeps it from being listed as obsolete, and maybe
  134. from being considered for auto-upgrades (apt-get needs to know about this
  135. too)
  136. * Filename field generated by --record-avail
  137. * understand Replaces in dselect
  138. * diversions list as control archive entry
  139. * single maintainer script, and new package getting there first
  140. * local conffiles, aswell as local files that dpkg should check before
  141. overwriting
  142. * hooks
  143. * dselect per-half focus and keybindings improvements.
  144. !missing bug report #1555!
  145. * floppy map (where are the files)
  146. * how to change case of package names
  147. * `fake' or `null' packages
  148. * dpkg --query | -Q