TODO 6.3 KB

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