TODO 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. RoadMap
  2. =======
  3. <http://wiki.debian.org/Teams/Dpkg/RoadMap>
  4. TODO
  5. ====
  6. 1.15.x (squeeze)
  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. * Make dpkg bootstrappable.
  19. * Code cleanup:
  20. - Get rid of static variables inside functions.
  21. - Coalesce admindir / infodir / foodir generation.
  22. - Get rid of setjmp (at least in the general case, keep for dpkg itself?)
  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. - Make sure all vsnprintf callers are checking the return value, as the
  30. system version will not ohsite on us.
  31. - Fix naming consistency of next/prev members.
  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. - Refactor packageslump into generic code.
  40. - Replace raw write and read calls with safe variants (signals etc).
  41. - Make deb build version a version instead of doing checks over a string.
  42. - Use enums for currently hardcoded literals (tdus, dependtry, etc).
  43. * Cleanup libcompat:
  44. - Add fnmatch, IRIX5 doesn't have it.
  45. * Man pages:
  46. - Add example to dpkg-scanfoo manpages?
  47. - Merge synopsis lines in dpkg-triggers.
  48. - Check all '<>' use bold instead.
  49. - Check all command vs action.
  50. - Check usage of '|' instead of ', '.
  51. - Check position of short option before long option.
  52. - Use [option...] instead of [options] and friends?
  53. - Fix dpkg man page, refs to dpkg-deb and dpkg-split, etc.
  54. - Fix «commandline» vs «command line».
  55. - Fix «. ».
  56. * L10n:
  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. * Propagate --admindir to programs run from maintainer scritpts. (#97076)
  74. * Fix conflicting action -%c, when short is 0.
  75. * We should set our own obstack_alloc_failed_handler.
  76. 1.16.x (squeeze + 1)
  77. ~~~~~~
  78. * Remove compatibility symlinks
  79. /usr/sbin/{update-alternatives,dpkg-divert,dpkg-statoverride}.
  80. * Remove install-info wrapper.
  81. ------------------------------------------------------------------------------
  82. Old TODO entries from Scott:
  83. start-stop-daemon
  84. * capabilities support
  85. * don't close FD's
  86. dpkg
  87. * allow external program to specify how to handle conffiles
  88. * try to remove directories again after removing conffiles
  89. * verify Enhances works (ie don't trigger some assertion)
  90. * add test to see if a file should really be installed and optionally
  91. skip it
  92. * dpkg --call-maint-script=<script> --maint-script-arg=<arg>
  93. --maint-script-arg=<arg> <pkg> <pkg>
  94. dpkg will not allow <script> to be one of {pre,post}{inst,rm}. Only
  95. unknown scripts can be called this way. dpkg will also not keep track
  96. of any state for these scripts.
  97. Fix:
  98. <joeyh_> package a conflicted with old versions of package b. package b
  99. conficted with old versions of package a. I had the old versions of both
  100. installed, and told dpkg to install the new versions of a and b
  101. simulantaneously. It refused.
  102. dselect:
  103. * support Enhances
  104. ------------------------------------------------------------------------------
  105. Old TODO entries from IWJ:
  106. Here are some currently-known inadequacies:
  107. urgent
  108. * Conflicts << installation ordering
  109. * Version numbers in pre-depends stuff
  110. * Search for all pre-depends things at once, bomb out if any not found
  111. * _always_ show section in --yet-to-unpack
  112. * automatically do --yet-to-unpack in installation methods
  113. * check depending packages when installing new version.
  114. * Several things ought to be configurable but aren't.
  115. * Filenames containing newlines. Conffile names containing spaces.
  116. * dpkg --status for virtual packages
  117. * openpgp signatures in the package archive
  118. other stuff unlikely to get done soon
  119. * Automatically remove <file>.gz if <file> can't be found ? and maybe,
  120. remove <file> if <file.gz> can't be found? Big mess when we start
  121. thinking about bz2 :/
  122. * Local version number (using non-numeric epoch, perhaps, or better yet,
  123. a --local option in dpkg, so that it marks this package as a local install
  124. (when running dpkg -i)? Keeps it from being listed as obsolete, and maybe
  125. from being considered for auto-upgrades (apt-get needs to know about this
  126. too)
  127. * Filename field generated by --record-avail
  128. * understand Replaces in dselect
  129. * diversions list as control archive entry
  130. * single maintainer script, and new package getting there first
  131. * local conffiles, aswell as local files that dpkg should check before
  132. overwriting
  133. * hooks
  134. * dselect per-half focus and keybindings improvements.
  135. !missing bug report #1555!
  136. * floppy map (where are the files)
  137. * how to change case of package names
  138. * `fake' or `null' packages
  139. * dpkg --query | -Q