TODO 5.3 KB

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