TODO 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. ROADMAP
  2. =======
  3. lenny
  4. ~~~~~
  5. * Review this file and remove or update the old entries.
  6. * Triage as much bugs as possible to get the bug count below 300 ;) and
  7. merge as much patches as possible.
  8. * Create dedicated manual pages for .changes and .dsc documenting the
  9. format of the files. (deb-foo might not be apprioriate as those are
  10. not inside of the .deb file, but changes(5) seems too generic.)
  11. Explain that backwards incompatible change involve a major version bump
  12. (1.x => 2.x) while minor version bump will be used for backwards
  13. compatible extension (e.g. new fields).
  14. 1.14.x
  15. ------
  16. * Make dpkg bootstrappable.
  17. 1.14.y
  18. ------
  19. * Code cleanup:
  20. - Refactor blankfoo embedded code.
  21. - Get rid of static variables inside functions.
  22. - Coalesce admindir / infodir / foodir generation.
  23. - Get rid of setjmp (at least in the general case, keep for dpkg itself?)
  24. - Coalesce hash and checksum functions.
  25. - Move parseerr arguments into a struct (need to push the patch).
  26. - Move fd and block function out of mlib.
  27. - Cleanup status chars -> strings hardcoded mappings all over the place.
  28. (Fix tied field enum with its dselect description (pkgdisplay.cc))
  29. - Refactor src/processarc.c.
  30. - Make sure all vsnprintf callers are checking the return value, as the
  31. system version will not ohsite on us.
  32. - Refactor ARRAY_SIZE (need to push the patch).
  33. - Fix ncursesw headers.
  34. - Consider ferror_fclose function.
  35. * Man pages:
  36. - Add example to dpkg-scanfoo manpages?
  37. - Check all '<>' use bold instead.
  38. - Check all command vs action.
  39. - Check usage of '|' instead of ', '.
  40. - Check position of short option before long option.
  41. - Use [option...] instead of [options] and friends?
  42. - Fix dpkg man page, refs to dpkg-deb and dpkg-split, etc.
  43. - Fix «commandline» vs «command line».
  44. - Fix «. ».
  45. * L10n:
  46. - Standardize translated error messages in the perl code to avoid useless
  47. work for translators.
  48. - Check http://d-i.alioth.debian.org/spellcheck/level5/index.html
  49. * Discuss and implement
  50. http://www.hadrons.org/~guillem/debian/docs/origin.proposal
  51. * Add non-regression tests for Dpkg::Source::*
  52. * Cleanup libcompat:
  53. - Add fnmatch, IRIX5 doesn't have it.
  54. - Cut lib/compat.c into little pieces and move them here.
  55. * Get rid of install-info.
  56. * Add multiarch support.
  57. * Merge stuff back:
  58. - debsums (metadata storage).
  59. - ucf (cleverer conffile handling).
  60. - debconf (dpkg-*configure and add new status):
  61. + dpkg --reconfigure <pkg> <pkg>
  62. <pkg>.postinst reconfigure <ver>
  63. Fail if pkg is not in the configured state.
  64. - dpkg-cross (multiarch + dpkg cross compilation support).
  65. - dpkg-sig (dak fixed, import code, needs reply, #340306).
  66. - apt: deb-*/ dirs, apt-extracttemplates (libdpkg).
  67. - (maybe parts of wajig, aptitude, synaptic, ept, ...).
  68. * Start exposing libdpkg.
  69. - Split dpkg.h into dpkg-priv.h.
  70. - Add needed includes to all header files.
  71. * Add UTF-8 support to all programs.
  72. * Modify database to store per-file flags.
  73. - Store checksums and stat data in per-file flags.
  74. - Add md5sums and/or sha1sums package support. (#155676)
  75. * Allow packages to register additional files, declare ownership of files for
  76. dpkg -S and -L without having dpkg act on this (.psuedolist?).
  77. * Some kind of test-suite (Esteban).
  78. * Make dpkg-checkbuilddeps easier to use by other programs such as pbuilder
  79. or sbuild, so that they can start using the new architecture wildcards
  80. automatically.
  81. - Support for output format. (#214566)
  82. * Remove conffile background support? (#38334)
  83. * Make dpkg-deb --build check for duped conffiles. (#131633)
  84. * Make update-alternatives --display support --quiet. (#336091)
  85. * Propagate --admindir to programs run from maintainer scritpts. (#97076)
  86. * Fix quotes? <http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html>
  87. TODO
  88. ====
  89. Old TODO entries from Scott:
  90. start-stop-daemon
  91. * capabilities support
  92. * don't close FD's
  93. dpkg
  94. * allow external program to specify how to handle conffiles
  95. * try to remove directories again after removing conffiles
  96. * verify Enhances works (ie don't trigger some assertion)
  97. * add test to see if a file should really be installed and optionally
  98. skip it
  99. * dpkg --call-maint-script=<script> --maint-script-arg=<arg>
  100. --maint-script-arg=<arg> <pkg> <pkg>
  101. dpkg will not allow <script> to be one of {pre,post}{inst,rm}. Only
  102. unknown scripts can be called this way. dpkg will also not keep track
  103. of any state for these scripts.
  104. Fix:
  105. <joeyh_> package a conflicted with old versions of package b. package b
  106. conficted with old versions of package a. I had the old versions of both
  107. installed, and told dpkg to install the new versions of a and b
  108. simulantaneously. It refused.
  109. dselect:
  110. * support Enhances
  111. ------------------------------------------------------------------------------
  112. Old TODO entries from IWJ:
  113. Here are some currently-known inadequacies:
  114. urgent
  115. * Conflicts << installation ordering
  116. * Version numbers in pre-depends stuff
  117. * Search for all pre-depends things at once, bomb out if any not found
  118. * _always_ show section in --yet-to-unpack
  119. * automatically do --yet-to-unpack in installation methods
  120. * check depending packages when installing new version.
  121. * Several things ought to be configurable but aren't.
  122. * Filenames containing newlines. Conffile names containing spaces.
  123. * dpkg --status for virtual packages
  124. * openpgp signatures in the package archive
  125. other stuff unlikely to get done soon
  126. * Automatically remove <file>.gz if <file> can't be found ? and maybe,
  127. remove <file> if <file.gz> can't be found? Big mess when we start
  128. thinking about bz2 :/
  129. * Local version number (using non-numeric epoch, perhaps, or better yet,
  130. a --local option in dpkg, so that it marks this package as a local install
  131. (when running dpkg -i)? Keeps it from being listed as obsolete, and maybe
  132. from being considered for auto-upgrades (apt-get needs to know about this
  133. too)
  134. * Filename field generated by --record-avail
  135. * handle split packages somehow.
  136. * understand Replaces in dselect
  137. * diversions list as control archive entry
  138. * single maintainer script, and new package getting there first
  139. * local conffiles, aswell as local files that dpkg should check before
  140. overwriting
  141. * hooks
  142. * dselect per-half focus and keybindings improvements.
  143. !missing bug report #1555!
  144. * floppy map (where are the files)
  145. * how to change case of package names
  146. * support for adding files to dpkg's file lists
  147. * `fake' or `null' packages
  148. * dpkg --query | -Q