--- trunk/doc/TODO 2003/11/01 16:19:52 5564 +++ trunk/doc/TODO 2003/11/01 16:47:02 5565 @@ -1,66 +1,41 @@ Important things to do before preview release ============================================= -Following up on Anthony Town's mail "Chaos and Damnation!" -http://lists.debian.org/debian-boot/2003/debian-boot-200304/msg00067.html + Here's a list of urgent things we need to do before issuing a preview release. - * Finish the libdebian-installer transition, get a working install again. - Stauts: done or nearly so + * There are rumours that udeb_include and/or udeb_exclude are broken. + Is this true? - * Finish partitioning/mkfs/mkswap/mount migration - - Call mkfstab somewhere. base-installer? + * Get the severities of the linux-kernel-di package fixed, they are + overrdidden to bad values and this makes some hardware and filesystems + unavailable by default in the installer. - * HW detection [Petter Reinholdtsen] + * Fix mkreiserfs to not hang. (#213314) - - We need to start using module names from kernel 2.4 instead of 2.2 - The fix is to migrate hw-detect (ddetect) to discover2. We are - working with Jeff Licquia from Progeny to get this working. - (#179048) - (In the meantime, discover has been fixed to use 2.4 names.) + * Finish the libdebian-installer transition, get a working install again. + (Done or nearly so.) - * Split off hostname configuration from netcfg. - See #201707 and #201869. + * Split off hostname configuration from netcfg. + See #201707 and #201869. - * Error handling. We need to make sure the user is told so when - something goes wrong. + * Error handling. We need to make sure the user is told so when + something goes wrong. It's especially bad for debootstrap. - * Progress bar when running mkfs + * Progress bar when running mkfs. -This is a list of common mistakes that need to be corrected throughout the -code base: + * bogl-term refresh problem - * All debconf commands that INPUT, GO, GET or SET questions should check - their return value. This is pure evil: + * Get some new successful CD installation reports with builds newer than + the Oct 8th build. - debconf->command(debconf, "GET", "mirror/distribution", NULL); /* unchecked return code ! */ - asprintf(&command, "foo %s", debconf->value); - system(command); + * Update the web site to include user docs, including links to download + boot media. - * Nothing should send error messages to stderr. If there is an error, - use debconf to display a message. stderr messages will overwrite the - newt frontend. + * Finish updating this TODO file. :-/ - * cdebconf's debconfclient.h has a set of macros for calling debconf - (debconf_get() and so on) - These should perhaps be used consistently throughout the code for - clarity. - - * There needs to be a centralised logging method. Syslog will do, but - we currently have a lot of nasty code that appends messages to - /var/log/messages directly. All of that would be converted to pipe it - to logger. However, this is a problem, because piping a command to - logger loses the exit status of the command. Need some way to run a - command, logging the ouput to syslog, w/o losing exit status. - - * udebs should not include postrm, prerm, preinst scripts. This includes - ones generated by debhelper. - - -The old TODO list, out of date (FIXME!) -======================================= - -Where we are: +Current status +============== CD installs to i386 and (some) powerpc are working, with many successful installs (and many bugs). @@ -69,21 +44,9 @@ debian-installer install images are built daily for i386, powerpc. This includes CD images. - debian-installer install images are available in the Debian - archive, in unstable. + debian-installer install images (i386, powerpc) are available in + the Debian archive, in unstable. -General things to keep an eye on: - - - All udeb packages should be able to build debug versions if - DEB_BUILD_OPTIONS="debug". - - Udebs should not include .md5sum files, preinst, postrms, or - prerms. - - Make sure all udebs declare dependencies on everything they - depend on (this includes depending on ash, busybox, etc). The - dependency web is pretty spotty right now. - - Keep this progress file up-to-date as you complete various parts - of it. - Status for different parts of debian-installer. The numbers are approximate (as in +/- 50%) and may change in any direction, at any time. @@ -97,6 +60,8 @@ utilities in /target so we can keep busybox's size down. (We will probably ship without this.) - lintian support for udebs, to catch all the common gotchas + - ppp support + Not as important for analog dialup, as for ISDN, pppoe. - Some architectures arm hurd-i386 @@ -115,6 +80,10 @@ There are some basic implementations. The trick is to make it a GUI that does not suck, while still using debconf underneath. + - pcmcia support + Needs integration with the rest of the hardware detection, + instead of being a (broken) toplevel menu item. + Works sometimes, but only with vast pain. - Some architectures alpha hppa @@ -169,6 +138,9 @@ There are two of them, autopartkit and partkit. partkit needs polish, both work, except for when they don't. (See BTS.) + - iso-scan + Works, but does not flag the disk the iso is mounted from + as unusable by the rest of the installer. - web site http://www.debian.org/devel/debian-installer/ Could be better laid out, lacking some sections, other @@ -176,6 +148,11 @@ - bts Search for bugs tagged d-i (Still need a non-manual way to tag our bugs.) + - archive integration + Only a few arches (i386, powerpc) have boot media in the + archive. + There is currently no mechanism to promote boot media + or udebs from unstable to testing. - Some architectures powerpc (some subarches) i386 @@ -188,6 +165,10 @@ - install media build system The mrvn branch needs to be tested and merged. The dest/ image names need to be reorganised. + - partconf + Reiserfs hangs, in interactive mode. + - hw-detect + Working but needs to be switched over to discover2 [100%] Those shouldn't need to be touched any more (except for wishlist features) @@ -212,3 +193,36 @@ needs to be done, although the current ugly system works. - cdebconf Working. + + +Common problems +=============== + +This is a list of common mistakes that need to be corrected throughout the +code base: + + * All debconf commands that INPUT, GO, GET or SET questions should check + their return value. This is pure evil: + + debconf->command(debconf, "GET", "mirror/distribution", NULL); /* unchecked return code ! */ + asprintf(&command, "foo %s", debconf->value); + system(command); + + * Nothing should send error messages to stderr. If there is an error, + use debconf to display a message. stderr messages will overwrite the + newt frontend. + + * cdebconf's debconfclient.h has a set of macros for calling debconf + (debconf_get() and so on) + These should perhaps be used consistently throughout the code for + clarity. + + * There needs to be a centralised logging method. Syslog will do, but + we currently have a lot of nasty code that appends messages to + /var/log/messages directly. All of that would be converted to pipe it + to logger. However, this is a problem, because piping a command to + logger loses the exit status of the command. Need some way to run a + command, logging the ouput to syslog, w/o losing exit status. + + * udebs should not include md5sums files, or postrm, prerm, preinst + scripts. This includes ones generated by debhelper.