TODO 6.8 KB

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