TODO 6.9 KB

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