TODO 6.4 KB

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