TODO 5.7 KB

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