TODO 6.5 KB

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