TODO 6.2 KB

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