TODO 7.4 KB

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