/[debconf]/debconf-trunk/debian
ViewVC logotype

Log of /debconf-trunk/debian

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 1482)

Revision 376 - Directory Listing
Modified Mon Mar 13 21:34:42 2000 UTC (13 years, 2 months ago) by joey
   * Made noninteractive select elements smarter. If the value is set, but
     is set to something not on the list, disregard it and pick the first
     element from the list. This is actually an important bugfix; it's been
     causing problems with apt-setup in base-config, making
     http.us.debian.org be incorrectly picked as the default when users try
     to set up apt to use a country that just has one mirror on file.
   * Closes #60160 (important)

Revision 359 - Directory Listing
Modified Tue Mar 7 05:12:54 2000 UTC (13 years, 2 months ago) by joey
   * Added DEBIAN_PRIORITY for consitency.
   * Text frontend now prompts you to hit return if text has been displayed
     w/o a prompt. This is to prevent said text from running off the screen
     during a dpkg run. To make this work, I had to add a shutdown method to
     frontends, to be called before a frontend is destroyed.
   * Denastified the object property references all over. I just hope I didn't
     remove any direct accesses that were meant to be there (often a good
     way to introduce infinite loops, so use this version with care..)
   * Optimized the Text frontend's handling of resize events.
   * Fixed a compile error in the specification, and actually installs the
     spec's gif.

Revision 358 - Directory Listing
Modified Mon Mar 6 23:15:09 2000 UTC (13 years, 2 months ago) by joey
   * Fixed noninteractive note element to not mark the item as seen if
     /usr/bin/mail doesn't exist. (Oops)

Revision 356 - Directory Listing
Modified Wed Mar 1 19:39:26 2000 UTC (13 years, 2 months ago) by joey
   * Use fully-qualified path for dpkg-preconfigure in apt.conf,
     Closes: #58469

Revision 355 - Directory Listing
Modified Wed Mar 1 01:12:07 2000 UTC (13 years, 2 months ago) by joey
   * Removed quite obsolete exim samples. I don't want to maintain samples
     anymore past those needed by the tutorial and a regression test script.
     There is quite enough real debconf code out there.

Revision 354 - Directory Listing
Modified Wed Mar 1 00:20:55 2000 UTC (13 years, 2 months ago) by joey
   * Corrected three ways badly written packages could make
     dpkg-preconfigure die:
      - They could try to ask questions that didn't exist.
      - They could try to ask questions using garbage priority values.
      - They could have garbage template files that lack required fields.
     All three are now handled sanely, and debconf even tells the client
     what stupid thing it has done in the first 2 cases. To make that work,
     I made FrontEnd::add much simpler, and moved a lot of the failure-prone
     code into Confmodule::command_input, and did some other
     reorganizations.
   * Checked and I don't think any more cases like this exist in debconf.
   * While I was at it, I shut up messages about failing to make
     noninteractive elements in debug 2 mode. A common FAQ causer.
   * Added a Debian.bugtemplate file, in an attempt to get people to report
     bugs that are actually useful. This is used by newer reportbug
     packages.

Revision 353 - Directory Listing
Modified Tue Feb 29 21:17:37 2000 UTC (13 years, 2 months ago) by joey
   * Fixed another stupid typo, that messed up text select and multiselect
     elements sometimes.

Revision 352 - Directory Listing
Modified Tue Feb 29 20:36:25 2000 UTC (13 years, 2 months ago) by joey
   * Fixed a stupid typo introduced last version.

Revision 351 - Directory Listing
Modified Tue Feb 29 19:32:22 2000 UTC (13 years, 2 months ago) by joey
   * Added --unseen-only switch to dpkg-reconfigure. This makes it only ask
     questions that have not been asked before. Closes: #59260

Revision 349 - Directory Listing
Modified Mon Feb 28 21:28:45 2000 UTC (13 years, 2 months ago) by joey
   * When debconf or debconf-tiny is purged, the database is not deleted if
     debconf or debconf-tiny is still installed. Closes: #59029

Revision 348 - Directory Listing
Modified Fri Feb 25 04:11:25 2000 UTC (13 years, 3 months ago) by joey
   * word-wrap all text that is mailed at 75 columns, Closes: #58911

Revision 347 - Directory Listing
Modified Thu Feb 24 18:44:12 2000 UTC (13 years, 3 months ago) by joey
   * Catch SIGPIPEs from confmodules and handle them. Closes: #58847, #58818

Revision 344 - Directory Listing
Modified Mon Feb 21 21:11:44 2000 UTC (13 years, 3 months ago) by joey
   * dpkg-reconfigure: Now forces priority to low when reconfiguring
     packages. People have often complained that it should do this,
     so it does now. Added a swtich to disable this behavior, which should be
     used by eg, the boot floppies when it reconfigures base-config. Also,
     re-wrote the switch parsing to match how it's done in dpkg-preconfigure.
   * Removed lots of extortions to use -plow from docs.
   * Bother. base.pm is not in perl-base. Added nasty code to fix this when
     building debconf-tiny.

Revision 343 - Directory Listing
Modified Mon Feb 21 00:24:06 2000 UTC (13 years, 3 months ago) by joey
   * Copyright and url updates.
   * dpkg-reconfigure: don't run the postrm of the package. Doing so breaks
     things when for example, the package uses dpkg-divert and tries to
     remove diversions in the postrm. This cannot be an isolated problem
     either. This reverses the change made in version 0.2.52, which did not
     say why I added it in the first place.. (suspicion: non-idempotent
     postinst scripts may need the postrm to clean up after them before being
     called again. However, such scripts are broken.)
     Closes: #58527 (important bug)
   * no changes; Closes: #58495 (I'm not going to add 3 lines of code bloat
     to a package in base just to provide a marginally better error message.)
   * Added --help to dpkg-preconfigure and dpkg-reconfigure. Closes: #58496
   * Added more cautions about passwords to the tutorial.
   * Text mode [multi]select elements now display in multiple columns. This is
     experimental, and I don't know how it will interact with having support for
     descriptions associated with items in the selection list, which is a todo
     item.
   * Use w3m again to format docs (how'd I lose that?)

Revision 338 - Directory Listing
Modified Sun Feb 20 02:03:50 2000 UTC (13 years, 3 months ago) by joey
url fix

Revision 336 - Directory Listing
Modified Thu Feb 17 20:13:19 2000 UTC (13 years, 3 months ago) by joey
   * Fixed minor back problem in debconf's own config script, and some
     documentation fixes.

Revision 333 - Directory Listing
Modified Mon Feb 14 19:57:56 2000 UTC (13 years, 3 months ago) by joey
   * dpkg-preconfigure: It turns out that the trick of reading from stdin
     until EOF, then reading more later only works if stdin is a tty. When it
     was running from apt, that wasn't so, and so it caused dialog to lock up,
     in a tight loop, unable to read keypresses from stdin. The fix is
     pretty simple; just open /dev/tty and connect STDIN to it after reading
     the filelist from apt. Closes: #56518, #57771 (important bugs).
   * Disabled dialog exclusion that was added in the last release.

Revision 331 - Directory Listing
Modified Sun Feb 13 09:23:33 2000 UTC (13 years, 3 months ago) by joey
   * Fixed dpkg-preconfigure to not use Getopt::Long, so it will work even on
     the base system it is now a part of.
   * As a workaround for the dialog lock problem (which seems to be a dialog
     bug), never use dialog for the text mode menus. Works around: #56518
     (grave), #57771 (important)

Revision 329 - Directory Listing
Modified Sat Feb 12 11:18:54 2000 UTC (13 years, 3 months ago) by joey
   * Use perl's "base" module throughout the code, cutting 2 lines from each
     module. Due to a bug in the module, I had to throw lots of "use"'s back
     in, in the case of child modules that had a name that just appeneded to
     the name of their parent. I have filed a perlbug about that
     (ID 20000212.001). These additions are marked "# perlbug" so I can grep
     them back out later.
   * Warning: I expect this release is very buggy. But that's why you're
     tracking unstable, right?

Revision 328 - Directory Listing
Modified Thu Feb 10 03:52:29 2000 UTC (13 years, 3 months ago) by joey
   * Add templates file, config script, postinst, and posrtm to debconf-tiny,
     so debconf/priority actually exists. This is necessary so base-config
     can change the priority if the boot-floppies were installed in verbose or
     quiet mode. This is a critical bugfix, as it fixes a bug that made newly
     installed systems unusable.
   * Added dpkg-preconfigure to debconf-tiny, since this:
     a) lets debconf-tiny use debconf's postinst unchanged
     b) is useful in general to have in debconf-tiny
   * Several k of bloat. Oh well..

Revision 326 - Directory Listing
Modified Wed Feb 9 08:07:13 2000 UTC (13 years, 3 months ago) by joey
   * Corrected 2 typos, Closes: #57605
   * Closes: #57607 -- already fixed.

Revision 324 - Directory Listing
Modified Wed Feb 9 04:58:23 2000 UTC (13 years, 3 months ago) by joey
   * Fixed a typo I introduced earlier today.

Revision 323 - Directory Listing
Modified Wed Feb 9 04:25:10 2000 UTC (13 years, 3 months ago) by joey
   * Fixed some uninitialized values related to multiselct questions with no
     defaults.

Revision 322 - Directory Listing
Modified Tue Feb 8 22:44:12 2000 UTC (13 years, 3 months ago) by joey
   * Added code to postinst to delete long-obsolete /etc/debconf.cfg

Revision 321 - Directory Listing
Modified Tue Feb 8 19:42:26 2000 UTC (13 years, 3 months ago) by joey
   * dpkg-reconfigure: detect perl confmodules properly, by making my regexp
     match case in-sensitively. This fixes a bug that made dpkg-reconfigure
     not work at all to reconfigure packages that used ConfModule.pm.
   * dpkg-reconfigure: assume all config scripts are confmodules, it would be
     pretty weird for one not to be, and this speeds things up a tiny bit.

Revision 318 - Directory Listing
Modified Tue Feb 8 07:50:16 2000 UTC (13 years, 3 months ago) by joey
   * Installed workaround from Joel Klecker to fix the annoying termcap
     warning from Term::Readline. This does not close these bugs, but it does
     work around them: #47363, #50286, #50540, #51787, #52052, #53274, #55142,
     #56987, and #46270

Revision 317 - Directory Listing
Modified Tue Feb 8 00:42:31 2000 UTC (13 years, 3 months ago) by joey
   * Added checks for wrong number of parameters in all command_* subs in
     ConfModule.pm. If the check fails, error 20 is returned (syntax error).

Revision 314 - Directory Listing
Modified Sat Jan 22 02:16:09 2000 UTC (13 years, 4 months ago) by joey
Merged from potato.

Revision 310 - Directory Listing
Modified Thu Jan 20 23:51:21 2000 UTC (13 years, 4 months ago) by joey
merged potato changes

Revision 305 - Directory Listing
Modified Tue Jan 18 03:19:06 2000 UTC (13 years, 4 months ago) by joey
   * Woops, I forgot to let the CLEAR command be executed in any of the
     confmodule libraries!
   * base-config needs that command, so this must go to frozen.

Revision 304 - Directory Listing
Modified Tue Jan 18 00:19:32 2000 UTC (13 years, 4 months ago) by joey
   * Woops, I forgot to let the CLEAR command be executed in any of the
     confmodule libraries!
   * base-config needs that command, so this must go to frozen.

Revision 302 - Directory Listing
Modified Sun Jan 16 09:12:47 2000 UTC (13 years, 4 months ago) by joey
   * Re-enabled use of _ and . in template fields. Necessary for localaization.

Revision 301 - Directory Listing
Modified Sun Jan 16 06:08:16 2000 UTC (13 years, 4 months ago) by joey
   * Corrected a bug in noninteractive select elements. Amoung other things,
     this bug broke apt-setup in base-config (so it is a critical bug, yada,
     yada). I believe this also Closes: #55036

Revision 300 - Directory Listing
Modified Sat Jan 15 23:05:17 2000 UTC (13 years, 4 months ago) by joey
   * Switched over to using perl's setlocale() function to determine the
     current locale. This means that locale aliases work, and that users
     who have a locale like 'es_ES.ISO-8859-1' see all the es_ES messages.
   * Added one level of locale fallback: for example, it looks for 'es'
     messages too in the case above.
   * I guess these changes are necessary to make debconf usable for people
     who use locales, so this should _probably_ go into frozen.

Revision 299 - Directory Listing
Modified Sat Jan 15 04:46:38 2000 UTC (13 years, 4 months ago) by joey
   * Make dpkg-reconfigure work inside a base system that has no Getopt::Long.
     This is critical to get into potato, because base-config has to be
     dpkg-reconfigure'd on initial reboot to set the root password and so on.
   * Really make dialog frontend default. I thought I did this 8 versions
     back..
   * Medium priority is now default.
   * Probably fixed bug #55174, but who knows, I cannot reproduce it anyway.

Revision 298 - Directory Listing
Modified Thu Jan 13 22:34:42 2000 UTC (13 years, 4 months ago) by joey
   * Renamed dpkg-preconfig to dpkg-preconfigure, for consistency.
     Closes: #53893
   * Moved dpkg-preconfigure and dpkg-reconfigure to /usr/sbin.

Revision 297 - Directory Listing
Modified Tue Jan 11 03:53:31 2000 UTC (13 years, 4 months ago) by joey
   * Sped up and simplified language code.
   * Fixed dpkg-preconfigure to not re-show old questions when running in apt
     mode (oops!)

Revision 296 - Directory Listing
Modified Tue Jan 11 00:06:55 2000 UTC (13 years, 4 months ago) by joey
   * '_' and '.' can now appear in fields names in templates. Necessary for
     some localization.. If you use them in a field name, you had better
     depend on this version; earlier ones will die if they see such a thing.
   * Fixed a logic error that broke debconf if you had LC_ALL or LANG set,
     Closes: #54615, #54638, #54655

Revision 295 - Directory Listing
Modified Sun Jan 9 02:52:16 2000 UTC (13 years, 4 months ago) by joey
   * Debconf is not yet internationalized itself, but the data it reads in
     from templates now may be.
   * Documented what else I need to do toward i18n in the TODO.
   * Client::ConfModule detects newline in text it is going to send out,
     and warns about them. This after the pain of debugging what a spare \n
     can do to the protocol..

Revision 294 - Directory Listing
Modified Sat Jan 8 22:39:48 2000 UTC (13 years, 4 months ago) by joey
   * Documented DEBCONF_DEBUG, Closes: #54434
   * Don't show "none of the above" choice in text frontend's select element.
     It is only supposed to be in multiselect elements.
   * A few more bug reports that were fixed 2 versions ago should be closed.
     Closes: #54459, #54462, #54429, #54393, #54443, #54400

Revision 293 - Directory Listing
Modified Sat Jan 8 03:02:01 2000 UTC (13 years, 4 months ago) by joey
   * When the back button is hit, clear the buffer of all questions.
     Fixes some truely confusing behavior.

Revision 292 - Directory Listing
Modified Fri Jan 7 23:36:42 2000 UTC (13 years, 4 months ago) by joey
   * Fixed type that was making a sbin file, Closes: #0.2.65

Revision 291 - Directory Listing
Modified Fri Jan 7 09:17:49 2000 UTC (13 years, 4 months ago) by joey
   * Add dpkg-reconfigure to debconf-tiny.

Revision 290 - Directory Listing
Modified Fri Jan 7 07:28:22 2000 UTC (13 years, 4 months ago) by joey
   * Changed default frontend (again), back to the dialog frontend. I can't
     really make my mind up on this, but my reasoning for using dialog is that
     debconf-tiny is going to be used by several packages on a fresh install,
     so the user is going to see some debconf dialog stuff right from the
     start. Changing to text half-way through is liable to be confusing.

Revision 289 - Directory Listing
Modified Fri Jan 7 05:00:12 2000 UTC (13 years, 4 months ago) by joey
   * Removed apt-setup; it is in base-config now.
   * Minor README change.
   * Now build-depends on sgml-data, to follow the bouncing xml.dcl.
   * In fact, I have to change things to use a new name and path for that
     file too.
   * Really fixed that typo.

Revision 287 - Directory Listing
Modified Fri Jan 7 04:41:20 2000 UTC (13 years, 4 months ago) by joey
Removed apt-setup.

Revision 286 - Directory Listing
Modified Thu Jan 6 19:54:02 2000 UTC (13 years, 4 months ago) by joey
   * Typo fix, Closes: #54205

Revision 285 - Directory Listing
Modified Thu Jan 6 06:54:20 2000 UTC (13 years, 4 months ago) by joey
   * When dpkg-preconfig is run from apt, it turns off showing of old
     questions. That remains turned off until all preconfiguration is complete.
     The effect is that you can now configure debconf to re-show old questions,
     and not have to suffer through seeing all the old questions twice. If
     you turned off showing of old questions because seeing questions twice was
     annoying, you may want to turn it back on now.

Revision 283 - Directory Listing
Modified Sat Jan 1 00:19:07 2000 UTC (13 years, 4 months ago) by joey
   * Client/frontend: the templates filename guessing has been a bit broken
     in one case. I've fixed that now, Closes: #53730. Happy GNU year!

Revision 282 - Directory Listing
Modified Thu Dec 23 20:53:43 1999 UTC (13 years, 5 months ago) by joey
   * Don't use lib. Closes: #53316

Revision 281 - Directory Listing
Modified Tue Dec 21 23:13:18 1999 UTC (13 years, 5 months ago) by joey
   * Now just depends on perl-5.005-base (of sufficiently recent version),
     since that package now contains everything I need. (Closes: #53186)
   * Client/frontend: Look for templates in /usr/share/debconf/templates/
     as well as the current directory. Useful for stadalone programs that
     use debconf.
   * Include apt-setup in debconf and debconf-tiny for now, since the base
     system needs them available *now*. This is not the right long-term
     location, though. Closes: #53187 (Adam, you want to run
     "/usr/sbin/apt-setup probe")

Revision 280 - Directory Listing
Modified Tue Dec 21 00:59:40 1999 UTC (13 years, 5 months ago) by joey
   * Tightened up the perl dependancies. I think the previous looser
     dependancies might have caused a problem.

Revision 279 - Directory Listing
Modified Wed Dec 15 03:41:42 1999 UTC (13 years, 5 months ago) by joey
   * Depend on the version of fileutils that supported
     --ignore-fail-on-non-empty, Closes: #52746 (should that bug really have
     been grave? It could only be triggered if you installed debconf w/o
     upgrading to potato fileutils, and then purged it.)
   * Despite what the bug report says, the postinst has never ran rmdir.

Revision 278 - Directory Listing
Modified Mon Dec 13 21:44:34 1999 UTC (13 years, 5 months ago) by joey
   * Added to the tutorial.

Revision 277 - Directory Listing
Modified Sat Dec 11 03:20:31 1999 UTC (13 years, 5 months ago) by joey
Update question text.

Revision 276 - Directory Listing
Modified Sat Dec 11 03:11:42 1999 UTC (13 years, 5 months ago) by joey
   * In the dialog frontend, do not pass the default password to dialog. This
     is a security hole, and besides it's very confusing since dialog doesn't
     display the passowrd, and the user might inaverdently append to it.

Revision 275 - Directory Listing
Modified Sat Dec 11 00:12:27 1999 UTC (13 years, 5 months ago) by joey
   * "Cancel" (or hitting escape) in the dialog frontend is now interpreted
     to mean back up a step. Not quite intuitive, but it is the bast thing I
     can do with a cancel button, and I need the ability to backup.
     Closes: #51887
   * Reworked how question values are set. This is now done in FrontEnd::go(),
     instead of in each Element's show() method.

Revision 272 - Directory Listing
Modified Mon Dec 6 23:11:17 1999 UTC (13 years, 5 months ago) by joey
   * Debconf install now asks if you want to preconfigure packages, and
     if you answer no, does not add/removes call to dpkg-preconfig in apt.conf.
   * Changed user's guide to match.
   * dpkg-reconfigure runs the postrm now. It's also substantially smaller.

Revision 271 - Directory Listing
Modified Mon Dec 6 21:58:19 1999 UTC (13 years, 5 months ago) by joey
   * Made noninteractive frontend really silent. Closes: #51952
   * Corrected debconf-tiny's conflicts.
   * Autoselect can now have loops in the frontends it tries, it is smart
     enough to break the loops. This lets the text frontend fallback to the
     Dialog frontend. Since that is the only frontend in debconf-tiny,
     this is required to make it use the dialog frontend.

Revision 270 - Directory Listing
Modified Mon Dec 6 08:02:29 1999 UTC (13 years, 5 months ago) by joey
COrrected debconf-tiny conflicts line.

Revision 269 - Directory Listing
Modified Sat Dec 4 20:59:25 1999 UTC (13 years, 5 months ago) by joey
   * Needs a versioned debhelper dependency.

Revision 268 - Directory Listing
Modified Sat Dec 4 03:38:52 1999 UTC (13 years, 5 months ago) by joey
   * Build-Depends on docbook-stylesheets, which are needed to make the xml
     docs be formatted decently.

Revision 267 - Directory Listing
Modified Thu Dec 2 21:17:11 1999 UTC (13 years, 5 months ago) by joey
   * Added comment to apt.conf that the line was added by debconf,
     Closes: #51720

Revision 266 - Directory Listing
Modified Mon Nov 29 20:56:59 1999 UTC (13 years, 5 months ago) by joey
   * Element/Dialog/String.pm: Fixed a thinko that is causing the warning
     messages reported in bug #51561.

Revision 264 - Directory Listing
Modified Sun Nov 28 05:08:22 1999 UTC (13 years, 5 months ago) by joey
   * Changed tutorial docs of version command. Clients are not stricly
     required to pass a version number into it.
   * Removed warning message if a client does not pass in a version,
     Closes: #51431
   * Added build dependancy info.

Revision 263 - Directory Listing
Modified Wed Nov 24 18:55:22 1999 UTC (13 years, 6 months ago) by joey
   * Discovered dialog's --separate-output parameter, and use it for
     multiselect boxes, since it simplfies parsing.

Revision 262 - Directory Listing
Modified Tue Nov 23 23:51:23 1999 UTC (13 years, 6 months ago) by joey
removed 'master'

Revision 261 - Directory Listing
Modified Mon Nov 22 23:49:44 1999 UTC (13 years, 6 months ago) by joey
   * w3m -dump works again, so use it.

Revision 260 - Directory Listing
Modified Sun Nov 21 22:09:51 1999 UTC (13 years, 6 months ago) by joey
   * dpkg-preconfig: modified regexp to work under perl 5.004
     (Closes: #50854, #50880)

Revision 259 - Directory Listing
Modified Sun Nov 21 03:54:51 1999 UTC (13 years, 6 months ago) by joey
   * Improved abbreviation finding algorythm for text select elements.
   * Cleaned up the show method of Element::Text::Select.
   * Element::Text::MultiSelect can now inherit from Element::Text::Select,
     making it much shorter.

Revision 258 - Directory Listing
Modified Sat Nov 20 23:26:34 1999 UTC (13 years, 6 months ago) by joey
   * Changed how text frontend's select element indicates which choice is
     default. It can now indicate when numbers are the default. Closes: #50751
   * Detect if libterm-readline-*-perl is being used. If so, allow
     interactive editing of the default, since that is supported. If not,
     display the default as part of the prompt. This makes things more
     consistent overall.
   * Added 'none of the above' option to [multi]select elements, so if you
     don't have libterm-readline-*-perl, you can still override the default
     and choose nothing. Unfortunatly, I still don't see a way to do that with
     string input elements..
   * Since w3m is currently broken, dump pages with lynx for now.

Revision 256 - Directory Listing
Modified Fri Nov 19 21:50:02 1999 UTC (13 years, 6 months ago) by joey
   * dpkg-preconfig: Do a basic dependancy check before attempting to
     preconfigure a package. If the package depends on a newer version of
     debconf than is installed, do not preconfigure. (Closes: #50411, #50236)
     Should prevent any further breakages of the type we've seen before.
   * doc/tutorial.xml: If you use the multiselect data type, you should depend
     on debconf 0.2.26.
   * Version.pm: Added, to store the debconf version.

Revision 255 - Directory Listing
Modified Thu Nov 18 00:03:12 1999 UTC (13 years, 6 months ago) by joey
   * When processing what dialog returns after showing a multiselct, there
     may be trailing space after the last double quote. Nodified to handle
     that, Closes: #50471

Revision 254 - Directory Listing
Modified Wed Nov 17 22:57:55 1999 UTC (13 years, 6 months ago) by joey
   * Client/frontend: be less aggressive when trying to guess a template
     filename. Fixes sslwrap purge problem.

Revision 249 - Directory Listing
Modified Wed Nov 17 00:17:09 1999 UTC (13 years, 6 months ago) by joey
   * I've been persuaded that the Text frontend is the best default for
     new installs. This doesn't change the default for people who already
     have debconf installed.

Revision 248 - Directory Listing
Modified Tue Nov 16 23:18:53 1999 UTC (13 years, 6 months ago) by joey
   * Update database files atomically, should fix the isolated empty db files
     that have been reported twice now.

Revision 247 - Directory Listing
Modified Tue Nov 16 04:15:13 1999 UTC (13 years, 6 months ago) by joey
   * Fixed 3 bugs reports that will get filed in the next 36 hours. The
     debconf bug betting pool is now open -- how many times will this be
     reported now that it's been fixed? :-p
   * Specifically, now that ConfModule doesn't send a return code for STOP,
     frontends can't try to read such a return code, or they hang.

Revision 246 - Directory Listing
Modified Mon Nov 15 23:40:48 1999 UTC (13 years, 6 months ago) by joey
   * Debconf scripts now automatically load their templates when they are
     invoked manually, if the .templates file is present in the same directory.
   * This makes debconf-loadtemplate basically obsolete, so I have removed it.
   * This means there is no need for a special test.pl in the source package.
   * And this also means it's now a lot easier to debug config scripts before
     putting them in a package. Documented this in the tutorial.
   * Feh, I have to keep the debconf-tiny changelog in sync with this one,
     or the package version isn't updated. Debhelper is too smart for its
     own good. Hacked around it. (If other people have this problem, I can
     add a flag to debhelper to handle this better..)
   * Documented everywhere that when reconfiguring debconf, --priority=medium
     is a good idea. Closes: #50225

Revision 245 - Directory Listing
Modified Mon Nov 15 02:10:42 1999 UTC (13 years, 6 months ago) by joey
   * Added a debconf-tiny package, which is a very stripped down debconf to be
     used on the base system. Debconf itself is 117+k, mainly because of all
     the frontends and docs. To make debconf-tiny, I:
     - removed all docs
     - removed all frontends except dialog and noninteractive
     - removed most stuff in /usr/bin
     - stripped out all POD docs and regular comments from all perl modules
     - All this got the package down to 27k compressed. 14k compressed of that
       was this changelog (It's all the fault of long changelog entries like
       this one!)
     - So, I started a new changelog for debconf-tiny, in which I will record
       changes specific to it. debconf-tiny is now 12k.
   * Removed /etc from package.

Revision 244 - Directory Listing
Modified Sun Nov 14 22:07:34 1999 UTC (13 years, 6 months ago) by joey
   * Always returns "mulitselect" as one of it's capabilities now.
     This was added because people need a way for their packages, when
     preconfigured, to check to see if they have a new enough version of
     debconf to ask a multiselect question.
   * The better, long term fix is basic dependancy checking in
     dpkg-preconfig, and that is now the top of my todo list.

Revision 243 - Directory Listing
Modified Sun Nov 14 04:05:32 1999 UTC (13 years, 6 months ago) by joey
   * STOP cannot return a success code, since in all likelyhood, the pipe it
     would try to write it to is broken. (Closes: #49856, #49946)
   * debug messages are now prioritized, DEBCONF_DEBUG can be set to 1 to see
     some, 2 for more, etc.

Revision 242 - Directory Listing
Modified Sat Nov 13 10:14:00 1999 UTC (13 years, 6 months ago) by joey
   * dpkg-preconfig now clears it's progress meter when done, like apt
     does now.
   * Fixed a possible infinite recursion in the text frontend, if you
     use it on an absurdly small screen. (It tried to display the title,
     had to paginate it, went to display [More], and first decided
     to display the title...)
   * With doogie's help, simplified Client/confmodule a bit.

Revision 241 - Directory Listing
Modified Fri Nov 12 10:05:42 1999 UTC (13 years, 6 months ago) by joey
   * Added a Debconf user's guide.
   * Cleaned up the doc Makefile.

Revision 240 - Directory Listing
Modified Fri Nov 12 05:25:36 1999 UTC (13 years, 6 months ago) by joey
   * Corrected Client::ConfModule to return the right thing when one of its
     functions is called in scalar context. It was returning the result code
     by mistake, now it returns the value, like it is documented to do.

Revision 239 - Directory Listing
Modified Thu Nov 11 22:30:28 1999 UTC (13 years, 6 months ago) by joey
   * Added multiselect data type.
   * Wrote input elements for this type for all frontends except the Gtk
     frontend. The Gtk frontend needs a bit of a redesign before it can
     handle this, I think.
   * Made dpkg-preconfig properly accept -f and --frontend, Closes: #49920

Revision 237 - Directory Listing
Modified Thu Nov 11 01:21:32 1999 UTC (13 years, 6 months ago) by joey
   * Removed gtk frontend from list of frontends. If you already have it
     selected, you can continue using it, but I'm sick of people filing bugs
     on it who didn't bother to read the note that said it had known problems
     and should not be used.
   * dpkg-reconfigure now doesn't do anything if it's told to reconfigure
     packages that lack a config script. This makes it not fail on packages
     that don't use debconf, though it is just a no-op with them.
     Closes: #48190

Revision 236 - Directory Listing
Modified Wed Nov 10 23:56:51 1999 UTC (13 years, 6 months ago) by joey
   * Fixed the stty error messages, and screen size detection should work
     again. For some reason I had to make stty use /dev/tty for stdin, plain
     default stdin doesn't work when dpkg-preconfig is being run by apt.
   * Change undefined values to '' when starting confmodules, Closes: #49797
   * Fixed web frontend to never display empty forms.

Revision 235 - Directory Listing
Modified Wed Nov 10 23:03:46 1999 UTC (13 years, 6 months ago) by joey
   * Added sane defaults if stty -a fails. (Closes: a whole slew of bug
     reports people will file over the next 2 days. :-P)

Revision 234 - Directory Listing
Modified Wed Nov 10 06:07:55 1999 UTC (13 years, 6 months ago) by joey
   * The noninteractive frontend now mails notes to root.
   * Reworked the mechanism that makes select questions always set
     their value when they are INPUT, even if they arn't really displayed,
     to be much cleaner: This is now handled by the noninteractive select
     element.
   * Reworked how Elements are created to use eval, which kills the
     duplicated makelement() code in all the FrontEnds.

Revision 233 - Directory Listing
Modified Wed Nov 10 00:55:58 1999 UTC (13 years, 6 months ago) by joey
   * frontend now works if run from something other than dpkg. Closes: #49449
   * Created a new Tty frontend to serve as a base class for Dialog and Text.
     It detects screen resizes. Made it the parent of Dialog and Text,
     and they now also detect screen resizes. Debconf in a 30x5 xterm is
     beautiful!

Revision 232 - Directory Listing
Modified Tue Nov 9 23:20:03 1999 UTC (13 years, 6 months ago) by joey
   * Fixed the text frontend to not lower-case choices in a select list.
     (Closes: #49650)

Revision 231 - Directory Listing
Modified Tue Nov 9 05:19:18 1999 UTC (13 years, 6 months ago) by joey
   * People just don't seem to get it -- NEVER use dh_input in a postinst!
     Tightened up the language about that in the tutorial, and repeated my
     self in several places in the hope people will read at least one of them.
   * Eliminated use of Fcntl, one of the modules that made us depend on perl.
   * Deleted the copy of the spec that was local to this document. The
     configuration management spec is now available as an xml document, in
     Debian CVS. For convenience, debconf includes that document now.

Revision 230 - Directory Listing
Modified Mon Nov 8 21:45:01 1999 UTC (13 years, 6 months ago) by joey
   * Spelling fixes, Closes: #49587
   * Documented on each man page that talks about --frontend, how the
     frontend can be permanently changed. Closes: #49537
   * Don't crash if told to remove a nonexistant question.
   * Rationalized debug and warning message printing.

Revision 229 - Directory Listing
Modified Fri Nov 5 22:11:37 1999 UTC (13 years, 6 months ago) by joey
   * So it is possible to use debconf from the preinst of a package, after
     all. Added sundry nasty hacks to make it work. (Also talked with BenC
     and Wichert about doing this right in dpkg.)
   * When a package is installed for the first time, the config script now
     gets "" as its second parameter, as it should.
   * ConfModule.pm now just execs a frontend, instead of turning into one. Not
     quite as cool, but a lot easier to maintain.

Revision 228 - Directory Listing
Modified Fri Nov 5 20:10:06 1999 UTC (13 years, 6 months ago) by joey
   * Made frontend fallback message less scary.
   * Split the template data out of the main debconf database and into
     templates.db. This reduces the chances of it getting corrupted.

Revision 226 - Directory Listing
Modified Thu Nov 4 20:57:37 1999 UTC (13 years, 6 months ago) by joey
   * The last changelog lies: it's actually not possible to do any debconf
     stuff in a preinst. The templates arn't available then.
   * Documented this, until someone comes up with a workaround.

Revision 225 - Directory Listing
Modified Wed Nov 3 23:38:39 1999 UTC (13 years, 6 months ago) by joey
   * I found that the currently installed version of the package was being
     passed to the config script if the package was just installed with dpkg
     and not preconfiged. Fixed.
   * If a preinst sources confmodule, the config script will be run.
     Needed for packages like ssh that need to ask questions before install
     time always.

Revision 224 - Directory Listing
Modified Wed Nov 3 20:39:26 1999 UTC (13 years, 6 months ago) by joey
   * Patchs from Fumitoshi UKAI <ukai@ukai.org> to:
      - fix typo that was breaking gtk frontend, Closes: #49074, #49076
      - call set_locale so gtk frontend can display text in any language,
        Closes: #49075

Revision 223 - Directory Listing
Modified Tue Nov 2 21:10:06 1999 UTC (13 years, 6 months ago) by joey
   * dpkg-preconfig is now more robust: If a config script fails, it
     outputs an error message, but continues so as much as possible of the
     install can still complete.

Revision 222 - Directory Listing
Modified Tue Nov 2 20:49:06 1999 UTC (13 years, 6 months ago) by joey
   * Fixed spelling error, Closes: #49032, which was filed on base for
     unfathomable reasons.

Revision 220 - Directory Listing
Modified Tue Nov 2 00:56:31 1999 UTC (13 years, 6 months ago) by joey
   * For some reason, jade was inserting '&#13;' into generated html, which
     looks nasty in w3m. Fixed that, and also use w3m to dump html to text
     now, so tables are legible.

Revision 219 - Directory Listing
Modified Mon Nov 1 23:44:26 1999 UTC (13 years, 6 months ago) by joey
   * Squashed a ConfModule startup warning.
   * Removed an implicit apt dependancy.
   * _Really_ fixed problem with newline after owner. Tested and resteted
    this time. Closes: #48450

Revision 218 - Directory Listing
Modified Mon Nov 1 19:56:15 1999 UTC (13 years, 6 months ago) by joey
   * Fixed xml stylesheet to include legalnotice.
   * Fixed a stupid error that was making parameters never get passed into
     confmodules. Closes: #48824, #48853
   * Closes: 47458 (been fixed for a while)

Revision 216 - Directory Listing
Modified Mon Nov 1 05:33:51 1999 UTC (13 years, 6 months ago) by joey
   * Select Elements are not shown if they have less than 2 choices. However,
    for conistency, even if not shown, the value of the Question they represent
    is changed as if they were shown.

Revision 215 - Directory Listing
Modified Sun Oct 31 21:19:44 1999 UTC (13 years, 6 months ago) by joey
   * Expanded and fixed up the Debian::DebConf::Client::ConfModule.2pm
     man page. Closes: #48809
   * Moved that man page to man section 3. Closes: #48810
   * Corrected Question->value to return undef if there is no default set.
     This Closes: #48829, and is the right thing to do. It does, however,
     break slews of debconf code that never expected to get an undef there.
     So I dug around and fixed it all, I think.
   * Fixed entering of '0' into text box in dialog frontend, which was broken.

Revision 214 - Directory Listing
Modified Sun Oct 31 05:40:47 1999 UTC (13 years, 6 months ago) by joey
   * Removed stupid debugging code. (oops)

Revision 213 - Directory Listing
Modified Sun Oct 31 05:32:50 1999 UTC (13 years, 6 months ago) by joey
   * Just for Culus, sped up dpkg-preconfig by a factor of 3.

Revision 212 - Directory Listing
Modified Sun Oct 31 01:35:44 1999 UTC (13 years, 6 months ago) by joey
   * Fixed confmodule.sh reentrancy bug again.

Revision 211 - Directory Listing
Modified Sun Oct 31 00:25:36 1999 UTC (13 years, 6 months ago) by joey
   * Corrected debconf upgrade problem. If an old version of debconf
     preconfig'd a newer version, the config script failed.

Revision 210 - Directory Listing
Modified Sat Oct 30 01:21:39 1999 UTC (13 years, 6 months ago) by joey
   * Confmodule.pm fixes I forgot in the last version.

Revision 209 - Directory Listing
Modified Fri Oct 29 23:01:45 1999 UTC (13 years, 6 months ago) by joey
   * Now uses version 2.0 of the configuration management protocol.
     - All commands in the protocol now return a numerical return code,
       optionally followed by a space and a text return code.
   * confmodule is a new shell library that handles this by making each
     command it provides now return the numerical return code. They continue
     to set $RET to the text return code. This means that you now have to
     check the return codes of those commands, or the set -e script you are
     running them in may exit if they return an error code.
   * confmodule.sh is now deprecated, but remains for backwards compatability,
     and has special compatability code in it.
   * ConfModule.pm handles this by making each of its commands, when called
     in list contect, return a list consiting of the numeric return code, and
     the string return code. When called in scalar context, it behaves
     in a backwards compatable way.
   * Deprecated the VISIBLE command. Check to see if INPUT returns 30 instead.
   * Deprecated the EXIST command. Check for return code 10 from commands that
     try to use the question, instead.
   * The GO command no longer returns "back"; instead, it returns 30.
   * Documented all this.
   * Hey, a state machine is the way to go if you want to support back buttons!
     Converted the tutorial to reccommend this, and converted debconf's own
     config script into a state machine.
   * Used tables in several places in the tutorial where they make sense.
   * Split the actual working templates and code out of the tutorial, and put
     it in the samples direcotry. It is included inline so it is still
     available in the tutorial, but now I can also debug it and make sure it
     works..
   * Added the noninteractive frontend to the list of choices you get when
     configuring debconf.
   * If the text frontend fails (this can really happen, if you run debconf
     w/o a controlling tty in an autobuilder, say), falls back to the
     noninteractive frontend. (Closes: #48644)
   * The web frontend now only accepts connections from localhost.
   * The web and noninteractive frontends now print out text saying they are
     running.
   * If a frontend fails, the failure message is always printed, not just in
     debug mode.
   * Fixed checkboxes in the web frontend so if they are unchecked, this
     fact is noted.
   * Added debconf-loadtemplate to the .deb.

Revision 208 - Directory Listing
Modified Fri Oct 29 00:09:21 1999 UTC (13 years, 6 months ago) by joey
This is a major new version, which changes the return codes of all commands.
It is not yet complete.

Revision 207 - Directory Listing
Modified Thu Oct 28 20:03:31 1999 UTC (13 years, 6 months ago) by joey
   * Fixed confmodule.sh reentrancy problem.
   * Fixed a problem with empty text input fields in the Dialog frontend
     setting the value of the question back to default instead of to ''

Revision 206 - Directory Listing
Modified Wed Oct 27 22:39:29 1999 UTC (13 years, 7 months ago) by joey
   * Added a very important note to the tutorial.

Revision 205 - Directory Listing
Modified Wed Oct 27 22:00:49 1999 UTC (13 years, 7 months ago) by joey
   * In the dialog frontend, if a prompt is too big to fit on a dialog and
     has to be slit up, it will now display just the extended description
     in a dialog, and then display a new dialog with the short description
     and the actual input element in it. This is intended to reduce confusion
     when a user sees a question at the bottom of a dialog and an "Ok"
     button beneath it -- that won't happen any more, and I think it's
     ok to say this change Closes: #47644
   * Reduced the amount of code in Dialog Elments a lot.
   * Fixed yet another bug in dialog select box sizing. WIll they never end?
   * Dialog select boxes no longer have numbered items. Looks better.

Revision 204 - Directory Listing
Modified Wed Oct 27 19:50:19 1999 UTC (13 years, 7 months ago) by joey
   * dpkg-preconfig: fixed so it chomps the package name, to prevent ugliness
     like \n in the owners field. Closes: #48450

Revision 203 - Directory Listing
Modified Wed Oct 27 18:15:42 1999 UTC (13 years, 7 months ago) by joey
   * The dialog frontend can now use --passwordbox with both whiptail and
     dialog, so I made that change. (Closes: #47196)
   * Added a section to the tutorail on adding backup capabilities to config
     scripts. (Closes: #47676)

Revision 202 - Directory Listing
Modified Mon Oct 25 17:08:30 1999 UTC (13 years, 7 months ago) by joey
Changes on a plane. See changelog.

Revision 201 - Directory Listing
Modified Sun Oct 24 23:24:27 1999 UTC (13 years, 7 months ago) by joey
   * Fixed the web frontend to send a HTTP reponse header, patch from
     Fumitoshi UKAI <ukai@debian.or.jp>, Closes: #47937

Revision 200 - Directory Listing
Modified Sun Oct 24 22:29:57 1999 UTC (13 years, 7 months ago) by joey
   * s/newbie/politically_correct_language()/eg;
     Closes: #47668
   * With regards to the second part of that bug report: critical is first on
     the list, and always has been, unless you are using the dialog frontend,
     where I have to do nasty re-ordering to make the default be first. If
     you want, file a seperate (wishlist) bug on this.

Revision 199 - Directory Listing
Modified Sun Oct 24 22:15:53 1999 UTC (13 years, 7 months ago) by joey
   * Fixed a truely braindead problem in Container.pm, which was breaking
     Select Elements a bit. (Closes: #47683)

Revision 192 - Directory Listing
Modified Tue Oct 12 21:09:34 1999 UTC (13 years, 7 months ago) by joey
   * Applied patch from Rafael Laboissiere to add an "exists" command.
     Be warned that this command is probably only temporary, I am looking
     for a better solution. (Closes: #46927)

Revision 191 - Directory Listing
Modified Mon Oct 11 18:29:50 1999 UTC (13 years, 7 months ago) by joey
Work properly if there are > 26 choices.

Revision 189 - Directory Listing
Modified Sun Oct 10 01:14:54 1999 UTC (13 years, 7 months ago) by joey
   * Fixed text fromtend boolean input element to return true if true is
     the default. (Closes: #47049)
   * Fixed tutorial typo. (Closes: #47050)

Revision 188 - Directory Listing
Modified Fri Oct 8 23:55:08 1999 UTC (13 years, 7 months ago) by joey
   * Converted the tutorial and introduction to xml and docbook.

Revision 187 - Directory Listing
Modified Fri Oct 8 02:38:13 1999 UTC (13 years, 7 months ago) by joey
   * Guarded postinst code that modifies apt.conf to prevent dup entries.
   * Started doing some cleanup of the gtk frontend:
     - It no longer flashes the window up on the screen unless it really
       has a question to ask this time around.
     - Made cancel button work.
     It still segfaults on exit though.

Revision 186 - Directory Listing
Modified Thu Oct 7 21:54:53 1999 UTC (13 years, 7 months ago) by joey
   * Allowed confmodule.sh to be loaded twice. Closes: #46843

Revision 185 - Directory Listing
Modified Thu Oct 7 21:03:32 1999 UTC (13 years, 7 months ago) by joey
   * Patch from rafael@icp.inpg.fr (Rafael Laboissiere) to fix a perl warning,
     Closes: #46871
   * Another patch from Rafael to fix a mistake in the tutorial. Closes: #46873

Revision 182 - Directory Listing
Modified Thu Oct 7 11:24:43 1999 UTC (13 years, 7 months ago) by joey
   * Wrote a perl module dependancy grapher, and include output in the .deb
     package. I need to clean up parts of the Element hierarchy. Running this
     on all perl modules in /usr/lib/perl is amusing, too, though it needs
     some more work to be of general utility. (And I suspect someone has
     already written a better one I'm not aware of.)
   * Made a new frontend -- the Noninteractive frontend.
   * All objects in debconf now derive from a common base class, which saved
     a few dozen lines of code at least.
   * There is now only one ConfModule object, no more multiple derived
     objects per FrontEnd type. To make this work, I had to move the capb
     property into the FrontEnd.

Revision 181 - Directory Listing
Modified Thu Oct 7 09:26:10 1999 UTC (13 years, 7 months ago) by joey
Minor fix.

Revision 177 - Directory Listing
Modified Thu Oct 7 09:19:27 1999 UTC (13 years, 7 months ago) by joey
   * Reorganized some modules. No user-visible changes.

Revision 175 - Directory Listing
Modified Wed Oct 6 19:12:36 1999 UTC (13 years, 7 months ago) by joey
   * Gtk frontend can use the newest gtk-perl to test whether opening the
     display will work. Closes: #46736
   * metaget'ing choices now returns a list. Fixes the other half of #46606.
   * Select boxes that consist of one item are not displayed.

Revision 174 - Directory Listing
Modified Tue Oct 5 18:44:30 1999 UTC (13 years, 7 months ago) by joey
   * Corrected db_text command in confmodule.sh, Closes: #46640
   * Corrected typo in confmodule.3 man page, Closes: #46651
   * Corrected whiptail window sizing problems, Closes: #46498, #46655

Revision 173 - Directory Listing
Modified Mon Oct 4 22:10:10 1999 UTC (13 years, 7 months ago) by joey
   * Debconf config scripts are now called with options. "configure" is
     normally passed, "reconfigure" is passed if dpkg-reconfig is
     reconfiguring the package. After that, the version of the package is
     passed.
   * dpkg-reconfigure will only work on packages that are fully installed.

Revision 172 - Directory Listing
Modified Mon Oct 4 19:35:05 1999 UTC (13 years, 7 months ago) by joey
   * Corrected several errors with how the choices field is accessed.
     (Closes: #46606)
   * No longer parses the choices field at template load time. This is a
     big change and might break stuff -- we'll see.

Revision 171 - Directory Listing
Modified Mon Oct 4 01:25:38 1999 UTC (13 years, 7 months ago) by joey
   * Added a simple little progress report display to dpkg-preconfig so
     when apt passes it 200 packages to be upgraded on a 386, it's clear
     that something is actually going on.

Revision 170 - Directory Listing
Modified Mon Oct 4 00:23:17 1999 UTC (13 years, 7 months ago) by joey
   * Quoted a few more bareword hash keys that were causing a perl warning. What
     puzzles me is I cannot reproduce the warning at all.. (Closes: #46545)

Revision 169 - Directory Listing
Modified Fri Oct 1 22:08:05 1999 UTC (13 years, 7 months ago) by joey
   * Doh -- I need to update to use debhelper's debconf support! :-)
   * Gdialog only takes --defaultno options at the end. Dialog only takes
     than at the beginning. Whiptail takes them either place. Argh. I've
     changed to using the end for now, since I don't use dialog at all yet.
   * Disambiguated {owners} in Question.pm, Closes: #46347
   * Killed EXAMPLES out of the debian package.
   * Flipped ordering of short and long descriptions in notes and text in the
     dialog frontend; makes more sense this way.
   * dpkg-reconfigure aborts if you arn't root.

Revision 168 - Directory Listing
Modified Fri Oct 1 20:39:53 1999 UTC (13 years, 7 months ago) by joey
   * Doh -- I need to update to use debhelper's debconf support! :-)

Revision 167 - Directory Listing
Modified Fri Oct 1 06:10:46 1999 UTC (13 years, 7 months ago) by joey
   * Yesterday's changes to the choices field broke all select lists -- fixed.
   * Added regression tests to TODO, it's clear I need them.

Revision 165 - Directory Listing
Modified Thu Sep 30 18:53:09 1999 UTC (13 years, 7 months ago) by joey
   * Modified the README to refer to the locations of docs in the installed
     .deb, rather than the tarball, now that most people are installing debs.
     Closes: #46302.

Revision 164 - Directory Listing
Modified Wed Sep 29 23:44:27 1999 UTC (13 years, 7 months ago) by joey
   * Added the metaget command. I did this mainly to let one get a list of
     the owners of a question, though it might have other uses later.
   * Substitutions now take effect on the choices field as well as the
     description field.
   * Put these two changes together and it's now possible to install several
     related packages (ispell dictionaries, say), and get a list of what
     dictionaries are available when the config scripts run, and only prompt
     the user once for which one they want. Added a section to the tutorial
     about this.

Revision 163 - Directory Listing
Modified Tue Sep 28 22:21:50 1999 UTC (13 years, 7 months ago) by joey
   * Fixed the problems with the purge command, which were really package
     name guessing problems and some errors in the new purge code. BenC, it's
     ready for you.
   * Don't install frontend in /bin (Closes: #46149)
   * Fixed a problem with interpretation of the set command. The second
     parameter can have spaces in it.
   * Added data-dumper dependancy, since some perl's don't include it.
     (Closes: #46147)

Revision 162 - Directory Listing
Modified Tue Sep 28 06:28:03 1999 UTC (13 years, 7 months ago) by joey
don't install file in bin

Revision 161 - Directory Listing
Modified Tue Sep 28 00:32:20 1999 UTC (13 years, 7 months ago) by joey
ENd of day commit. Not yet in release state.

Revision 160 - Directory Listing
Modified Mon Sep 27 23:19:44 1999 UTC (13 years, 7 months ago) by joey
   * Fixed a problem with Client::ConfModule.

Revision 159 - Directory Listing
Modified Mon Sep 27 22:46:06 1999 UTC (13 years, 7 months ago) by joey
   * Applied patch from Peter Vreman <pfv@cooldown.demon.nl> to correct dialog
     size guessing code. Did some additional fixes for whiptail.
     (Closes: 46060)
   * Fixed a really silly formatting bug in FrontEnd::Dialog that was
     probably leading to what looked like corrupted displays for some people.
   * When breaking a question up over multiple screens with dialog, it makes
     sure to always show the short description when it actually prompts for
     input. This is a lot less disorienting.

Revision 157 - Directory Listing
Modified Mon Sep 27 03:28:25 1999 UTC (13 years, 8 months ago) by joey
   * gdialog will soon support --defaultno, added versionsed conflicts
     with versions that don't, and support it again.
   * ConfModule::new() doesn't take a confmodule to start anymore, I broke
     that out into a separate function.
   * AutoSelect only starts up the script if it's actually passed once. TRhis
     should fix your problem, BenC.

Revision 156 - Directory Listing
Modified Mon Sep 27 01:05:16 1999 UTC (13 years, 8 months ago) by joey
   * Hm, I know I fixed this before, but the fix seems to have been lost:
     Fixed bug in the AutoSelect that was making it *always* try dialog
     first, even if something else was picked. (Closes: #46020)
   * Dialog has no --defaultno flag, which makes it unusable for debconf.
     Oh, so does gdialog. I have submitted a patch for dialog, but for now
     I have simply made debconf not accept dialog. If you don't have whiptail,
     you get text mode. I also made the --defaultno flag be passed first,
     which is how dialog will (eventually) support it. (Closes: #46047)
   * Dialog frontend no longer clears the screen when running. Makes it
     easier to get at debug messages. (Closes: #46048)
   * dpkg-reconfigure was trashing ownerships, fixed.

Revision 154 - Directory Listing
Modified Sat Sep 25 04:25:19 1999 UTC (13 years, 8 months ago) by joey
   * Added password data type. Currently supported by the Text frontend
     (though it has problems displaying right in an xterm), the Gtk frontend,
     and the Web frontend (though you'd be insane to use it!).
   * Fixed a nasty bug in the fallback code.
   * Read-protected the debconf db directory.

Revision 153 - Directory Listing
Modified Fri Sep 24 23:00:37 1999 UTC (13 years, 8 months ago) by joey
   * Fixed a problem if perl failed to configure and dpkg-preconfig then
     bombed out on the next apt run, users would have an unusable apt and not
     be able to fix their system. Now dpkg-preconfigure detects a broken perl
     and exits sanely, allowing apt to continue and fix things.
     (Closes: #45927)
   * Fixed a dpkg-preconfig type introduced last version.

Revision 152 - Directory Listing
Modified Fri Sep 24 22:42:49 1999 UTC (13 years, 8 months ago) by joey
   * Added fallback frontend support. If the frontend the user selects is not
     available, or fails to initialize (say DISPLAY is unset for Gtk), it will
     fall back intelligently to another frontend.
   * This means debconf doesn't really depend on much at all except perl.
     Moved most stuff to suggests.
   * The Gtk frontend was dying in a way not catchable by eval (!!) if DISPLAY
     was unset; added a fix to that so it falls back instead.
   * Removed some dpkg-preconfig spam.

Revision 149 - Directory Listing
Modified Fri Sep 24 00:04:39 1999 UTC (13 years, 8 months ago) by joey
   * Mappings. What good are they? None, that I could see, so I completely
     removed them! This doesn't influence debconf's behavior at all, just
     removes many lines of code and makes it all easier to understand.
   * Added the concept that each question is owned by one or more packages.
     When the number of owners goes to zero, the question is removed.
   * Whenever a question is removed, I check to see if the template it used
     is no longer used as well. If so, it's also removed.
   * What this lets us do is it allows packages to get rid of questions and
     templates they created when they are purged. And shared questions are
     fully supported and won't go away until the last package that uses them
     does.
   * Added a "purge" command that accomplishes this easily. (You could of
     course always call unregister by hand for each question, but this is
     easier.)
   * Modifed dpkg-preconfig so all the templates in all the packages that
     are being installed are read first, and then all the config scripts are
     run.
   * The changes above have an intriguing side benefit that offers a fix to a
     vexing problem. There is now a field in each question called "owners", that
     is a comma and space delimited list of the packages that have registered
     ownership. This list is up to date as soon as all the templates are
     loaded if apt is used. A set of related packages can all provide the same
     template in them; and their config scripts can then look at the owners
     field to get the list of all related packages that is/will be installed.
     Then they can do things like turn that into a list of choices of window
     managers, or ispell dictionaries, etc, and prompt the user to pick one.
     This feels only a little hackish, and the only problem with it is that if
     they are not installing with apt, the list isn't fully complete until each
     and every package has been installed.
   * Fixed question default value code so it always inherits from the current
     template, whatever that might be.

Revision 148 - Directory Listing
Modified Thu Sep 23 22:30:03 1999 UTC (13 years, 8 months ago) by joey
I've been adding some ownership code to things, and I'm about to make a huge
change. Tagging this first so I can revert to it if necessary.

This checkin in not in a usable state!

Revision 147 - Directory Listing
Modified Wed Sep 22 22:50:34 1999 UTC (13 years, 8 months ago) by joey
   * Fixed dpkg-reconfigure, whgich was broken since yesterday.

Revision 146 - Directory Listing
Modified Wed Sep 22 22:10:00 1999 UTC (13 years, 8 months ago) by joey
   * Fixed template merge bug. This was making old descriptions show up
     even if a new template with changed descriptions was loaded.

Revision 145 - Directory Listing
Modified Tue Sep 21 22:27:13 1999 UTC (13 years, 8 months ago) by joey
   * Now it properly handles config scripts and postinsts that exit with
     a return code, by propigating that return code up to dpkg.
   * Killed dpkg-frnotend for good. It's in the Attic now only.
   * In the dialog frontend, hitting cancel (or escape, maybe), will now
     break out and cancel everything.

Revision 144 - Directory Listing
Modified Tue Sep 21 18:23:36 1999 UTC (13 years, 8 months ago) by joey
   * Added "visible" command to tell if a question will be displayed.
     Very useful for preventing some kinds of loops.

Revision 143 - Directory Listing
Modified Mon Sep 20 21:50:17 1999 UTC (13 years, 8 months ago) by joey
   * Debhelper now supports debconf, amended turorial to note this.
   * More spelling fixes.
   * Added doc/namespace.ttx, which explains the variable namespace.
   * First upload to unstable.

Revision 142 - Directory Listing
Modified Sun Sep 19 20:16:25 1999 UTC (13 years, 8 months ago) by joey
   * Patch from James R. Van Zandt <jrv@vanzandt.mv.com> with:
     - spelling corrections
     - man page enhancements
     - better debian/templates text

Revision 141 - Directory Listing
Modified Sun Sep 19 00:01:28 1999 UTC (13 years, 8 months ago) by joey
   * Fixed a bug.

Revision 140 - Directory Listing
Modified Sat Sep 18 21:52:49 1999 UTC (13 years, 8 months ago) by joey
   * Added default title support.

Revision 139 - Directory Listing
Modified Sat Sep 18 21:20:26 1999 UTC (13 years, 8 months ago) by joey
   * Added a config script and templates for debconf itself. It uses
     them to configure what frontend to use, etc. /etc/debconf.cfg is no
     more.
   * Modified Config.pm so it contains functions that return values,
     not just hard coded values. The functions now try to pull values out of
     the database, and fall back on the defaults. Also, environment
     DEBIAN_FRONTEND always works for specifying a frontend now, overriding
     all else.
   * Changed a myriad of other files that use Config.pm to call the new
     functions.
   * The Priority module is no longer used to set priority, Config.pm can
     handle that now.
   * Added showold to Config.pm, you can always see old questions now, if
     you like.
   * Renamed the entire Line frontend to Text. Line really doesn't make as
     much sense. If you're following long in CVS, I also probably broke your
     repository again; a clean checkout is reccommended. Sorry.

Revision 138 - Directory Listing
Modified Sat Sep 18 19:57:35 1999 UTC (13 years, 8 months ago) by joey
Added debconf configuration config script. Enough configs?

Revision 137 - Directory Listing
Modified Sat Sep 18 19:49:43 1999 UTC (13 years, 8 months ago) by joey
Added debconf configuration template.

Revision 136 - Directory Listing
Modified Sat Sep 18 19:11:26 1999 UTC (13 years, 8 months ago) by joey
   * Modified the dialog frontend. Short descriptions now appear after long,
     instead of as dialog titles. The title appears as the dialo title, and
     the background title is "Debian Configuration"
   * Hm, that actually cleaned up the API a bit, I guess it was the right
     thing to do.
   * Fixed link.

Revision 135 - Directory Listing
Modified Sat Sep 18 01:05:35 1999 UTC (13 years, 8 months ago) by joey
   * Force use of gnu readline perl library. The other one is too bad.
   * dpkg-reconfigure allows you to configure it's frontend now.

Revision 134 - Directory Listing
Modified Sat Sep 18 00:53:46 1999 UTC (13 years, 8 months ago) by joey
   * Fixed a typo in the tutorial, and expanded it some.
   * Fixed the apt dependancy, which was on too low a version.
   * Depend on whiptail || dialog || gnome-utils so some kind of dialog is
     installed always.

Revision 133 - Directory Listing
Modified Fri Sep 17 00:20:48 1999 UTC (13 years, 8 months ago) by joey
   * All the sigchld counting and handling stuff was making debconf segfault
     and making it fragile in various ways. Removed it. Instead, I have
     modified update-menus to DTRT, and I depend on that version.

Revision 132 - Directory Listing
Modified Thu Sep 16 23:30:10 1999 UTC (13 years, 8 months ago) by joey
   * Fixed Line::Boolean default stuff, last time, I hope.

Revision 131 - Directory Listing
Modified Thu Sep 16 19:38:39 1999 UTC (13 years, 8 months ago) by joey
   * I had a truely nasty problem: when installing packages using the dialog
     frontend, and using dpkg directly, debconf would segfault shortly after
     the config script was run. It looks like this was due to reentrancy
     problems in my sigchld handler and I think I've squashed it.

Revision 130 - Directory Listing
Modified Thu Sep 16 01:01:32 1999 UTC (13 years, 8 months ago) by joey
   * Expanded the tutorial, it's now a complete standalone document with
     examples. <pant, pant>
   * Oops, I never implemented the reset command! Fixed that.
   * Oops, there are 2 different reset commands! Renamed one to clear,
     contingent on Wichert's approval, and implemented the other as well.
   * Removed dpkg-frontend from the binary package. I really don't want
     people using it.
   * Added pod docs for all Element files. Rather minimal right now.
   * Tested the changes to Client::ConfModule; they work, but I have
     occasional segfaults if using dialog.
   * UI tewak to text boolean element.

Revision 129 - Directory Listing
Modified Wed Sep 15 22:44:33 1999 UTC (13 years, 8 months ago) by joey
   * Expanded the tutorial, it's now a complete standalone document with
     examples. <pant, pant>
   * Oops, I never implemented the reset command! Fixed that.
   * Oops, there are 2 different reset commands! Renamed one to clear,
     contingent on Wichert's approval, and implemented the other as well.
   * Removed dpkg-frontend from the binary package. I really don't want
     people using it.
   * Added pod docs for all Element files. Rather minimal right now.
   * Tested the changes to Client::ConfModule; they work.

Revision 128 - Directory Listing
Modified Tue Sep 14 22:25:15 1999 UTC (13 years, 8 months ago) by joey
   * Added COPYING file.
   * Renamed README to EXAMPLES.
   * Wrote a new README that just points to the other files.
   * Wrote doc/INTRODUCTION, giving some history of how things
     have worked, and why debconf is better.
   * Suggests libterm-readline-gnu-perl, which is best for the Line
     frontend.
   * dpkg-preconfig uses the frontend specified in the conffile now.
   * Element::Line::Boolean now uses the correct values as the default.
   * FrontEnd::Line now actually displays titles.
   * Client::ConfModule should now run the config script like confmodule.sh
     does, for transparent installation of debconf packages. Needs testing.

Revision 127 - Directory Listing
Modified Tue Sep 14 19:47:10 1999 UTC (13 years, 8 months ago) by joey
   * Got rid of the DEBIAN_FRONTEND environment variable entirely. Instead,
     /etc/debconf.cfg has a variable in it to specify the default frontend
     to use.
   * Also added a question priority variable to the config file.
   * Oh yeah, the big change is I fixed the postinst hang bug. Or rather,
     worked around it. The bug was caused by update-menus forking to
     background and waiting, but not closing stdin/out. I worked around by
     catching SIGCHLD's and closing the pipes from the other end when the
     postinst has existed. I've also contacted Joost.
   * This, barring a little bit of docs and a few packages built to use it,
     is basically ready to be shown to the world.

Revision 125 - Directory Listing
Modified Mon Sep 13 22:50:37 1999 UTC (13 years, 8 months ago) by joey
   * Got rid of the DEBIAN_FRONTEND environment variable entirely. Instead,
     /etc/debconf.cfg has a variable in it to specify the default frontend
     to use.
   * Also added a question priority variable to the config file.

Revision 124 - Directory Listing
Modified Mon Sep 13 22:30:35 1999 UTC (13 years, 8 months ago) by joey
   * Broke the nasty perl code out of confmodule.sh, it's much cleaner now
     (and you don't see a page long perl -e command in ps..)
   * I now know exactly what's causing the hang problem -- update-menus!
     I still have no clue why.
   * Modified Client/frontend so it runs the config script of a package
     if the script is available, every time. This is pretty ugly, but it has
     a very nice effect: when you dpkg -i a brand new debconfed .deb, the
     config script runs as soon as the postinst tries to use debconf, and
     this lets you configure it, and then it is installed. So you don't have
     to dpkg-preconfig it first. Of course, if you're using apt, it is
     preconfiged, and then the config script is run again, redundantly (but
     doesn't do anything since it's already run). This is basically the last
     workaround needed for dpkg not preconfiguring stuff on it's own -- now
     debconf use is completly transparent.

Revision 121 - Directory Listing
Modified Fri Sep 10 22:12:33 1999 UTC (13 years, 8 months ago) by joey
   * Don't use dh_link, so it can still build on va.

Revision 120 - Directory Listing
Modified Fri Sep 10 21:47:32 1999 UTC (13 years, 8 months ago) by joey
Added

Revision 119 - Directory Listing
Modified Fri Sep 10 21:45:32 1999 UTC (13 years, 8 months ago) by joey
   * Gtk::FrontEnd now has the xpm it uses inlined into the file.
   * /etc/debconf.cfg now holds configurable debconf settings. Config.pm is
     just a link to it now.

Revision 118 - Directory Listing
Modified Fri Sep 10 01:56:14 1999 UTC (13 years, 8 months ago) by joey
   * Gtk::FrontEnd now has the xpm it uses inlined into the file.

Revision 117 - Directory Listing
Modified Thu Sep 9 23:59:02 1999 UTC (13 years, 8 months ago) by joey
   * dpkg-reconfigure now sets a flag in FrontEnd::Base that makes old
     questions be shown as well. This is very nice for reconfiguring stuff..

Revision 116 - Directory Listing
Modified Thu Sep 9 23:08:14 1999 UTC (13 years, 8 months ago) by joey
   * Added db_set command to confmodule.sh

Revision 115 - Directory Listing
Modified Thu Sep 9 21:55:03 1999 UTC (13 years, 8 months ago) by joey
   * Uh oh. "set" is a shell builtin, so you cannot access the set command
     via the shell interface. After talking with Sean, I've decided to just
     prefix all the commands in the shell interface with "db_". So dh_set,
     db_get, etc. Most packages that use debconf thus need to be changed.

Revision 114 - Directory Listing
Modified Thu Sep 9 21:13:56 1999 UTC (13 years, 8 months ago) by joey
   * Back after a one month hiatus. I've moved debconf around in my cvs
     repository, though the debconf module name should still work.
   * Debconf is now FHS compliant.
   * Removed some junk from the Makefile I no longer need.
   * Added doc/packages-prompt, just a list of some packages that need to be
     modified.

Revision 113 - Directory Listing
Modified Thu Sep 9 19:11:40 1999 UTC (13 years, 8 months ago) by joey
Ok, I'm back.

Revision 111 - Directory Listing
Modified Sun Aug 8 23:17:28 1999 UTC (13 years, 9 months ago) by joey
   * Question->value now returns the default field if value is unset (thanks,
     AJ)
   * Various minor touchups everywhere.
   * Killed slrn sample, this is going into the main slrn package and is
     already significently better in there.
   * Added Element/Gtk/*, from AJ.

Revision 107 - Directory Listing
Modified Thu Aug 5 23:14:57 1999 UTC (13 years, 9 months ago) by joey
   * Added beginnings of GTK frontend by AJ.
   * Began moving the docs from internals.txt into POD documentation. It was
     getting out of sync with the code, this will prevent that. Only Elements
     still need to be converted.
   * Fixed unset bug in confmodule.sh

Revision 105 - Directory Listing
Modified Wed Aug 4 21:42:58 1999 UTC (13 years, 9 months ago) by joey
Random changes.

Revision 104 - Directory Listing
Modified Mon Aug 2 23:05:38 1999 UTC (13 years, 9 months ago) by joey
   * Patch from AJ that:
     - makes Questions inherit properties direct from their associated
       Templates. This simplifies a lot of code which no longer needs to
       use $question->template->foo.
     - implements STOP command in protocol.
     - dies on unknown questions instead of failing obscurely later.
     - removes bashism
     - misc fixes and updates to cvs.config.
     - adds template substitution support and the SUBST command.
     - makes template parsing work better WRT the extended description and
       actually look for dots on thier own lines, not lines starting with dot.
   * Minor mods to above patch.
   * Documented template substitutions in the draft spec.

Revision 103 - Directory Listing
Modified Sat Jul 31 08:04:10 1999 UTC (13 years, 9 months ago) by joey
foo changes

Revision 102 - Directory Listing
Modified Sat Jul 31 07:57:51 1999 UTC (13 years, 9 months ago) by joey
   * Got rid of the NOTE and TEXT commands; notes and text are now put on
     templates. This breaks any packages already using debconf (again).
   * The above change made it clear I needed to reorganize the Elements --
     each data type is now a seperate object type. The code is much simpler
     now!
   * While I was doing that, it became possible to make the base ConfModule
     handle command_input in a general way. Much duplicate code removed.
   * Modified clients for above changes.
   * Modified samples and docs for above changes.
   * Made the postrm not fail during error unwind.
   * Picky Sean fixes..
   * Added support for isdefault flag. Now you only see a question once.
   * Added support for the FGET and FSET commands. (untested)
   * The mappings file is no more. All questions on a template will now have
     mappings made for them. If you need others, use the commands to make them.
   * Added a new program, dpkg-reconfigure. Use it to reconfigure an already
     installed package.
   * Added Client/confmodule.sh. This is very similar to Client::ConfModule
     except it's a shell library.
   * Changed cvs.config to use confmodule.sh. It's _much_ easier to read now.
   * Copyright updates. VA has sponsored and is at least a partial owner of
     this code. It's still GPL'd, of course.
   * Fixed a bug in the web frontend -- if a page is empty now because all
     questions are too low priotity, it just skips it.
   * Fixed a nasty template merge bug.
   * Added a doc/spec/ directory and put a copy of the metadata section of
     the spec in there, converted to html and greatly expanded to match
     reality. This is a draft that I want to get accepted as the real spec.
   * Changed to using "string" as the data type for text data, had been using
     "text". This is a pretty big change, really and breaks all packages that
     have been built so far that use debconf. Have to do it to comply with
     the spec.

Revision 101 - Directory Listing
Modified Thu Jul 15 22:42:32 1999 UTC (13 years, 10 months ago) by joey
   * dpkg-preconfig (and test.pl) now load up only the COnfModules and
     FrontEnds that will really be used. Faster startup time.
   * TODO updates.

Revision 100 - Directory Listing
Modified Thu Jul 15 21:55:27 1999 UTC (13 years, 10 months ago) by joey
oops.

Revision 99 - Directory Listing
Modified Thu Jul 15 21:33:16 1999 UTC (13 years, 10 months ago) by joey
Added postinst.

Revision 98 - Directory Listing
Modified Thu Jul 15 21:31:26 1999 UTC (13 years, 10 months ago) by joey
   * dpkg-preconfig now has a --apt option that makes it read debs to      configure on stdin. This is for use with apt of course. (A hacked apt      that can use this exists now.)    * Dialog frontend only clears the screen just before displaying a      non-gdialog dialog box.    * Depend on the version of apt that really works with debconf.    * A postinst and postrm modify /etc/apt/apt.conf to make apt use      dpkg-preconfig to configure packages. (The file's not actually part of      apt, so this is not too evil).

Revision 97 - Directory Listing
Modified Thu Jul 15 03:58:23 1999 UTC (13 years, 10 months ago) by joey
   * Moved CREDITS to doc/.    * Install internals.txt in .deb.    * doc/maintainer.txt is a guide for maintainers who want to convert      packages to use debconf.

Revision 96 - Directory Listing
Modified Thu Jul 15 00:49:30 1999 UTC (13 years, 10 months ago) by joey
   * Killed the cvs date stuff. Too much bother.

Revision 95 - Directory Listing
Modified Thu Jul 15 00:45:40 1999 UTC (13 years, 10 months ago) by joey
   * Fix from AJ for the problem with Line frontend not coming up with      unique letters.    * Gdialog support, from AJ.

Revision 94 - Directory Listing
Modified Thu Jul 15 00:09:28 1999 UTC (13 years, 10 months ago) by joey
   * In preparation for daily cvs builds, set the version number to the date.    * Makefile fixes. And more Makefile fixes.

Revision 93 - Directory Listing
Modified Thu Jul 15 00:08:19 1999 UTC (13 years, 10 months ago) by joey
dpkg-parsechangelog | grep '^  '

Revision 92 - Directory Listing
Modified Thu Jul 15 00:06:14 1999 UTC (13 years, 10 months ago) by joey
dpkg-parsechangelog | grep '^  '

Revision 91 - Directory Listing
Modified Wed Jul 14 23:58:08 1999 UTC (13 years, 10 months ago) by joey
killed dh_link, tyring to build this on va.debian.org

Revision 90 - Directory Listing
Modified Wed Jul 14 23:54:22 1999 UTC (13 years, 10 months ago) by joey
* Use prefix=debian/tmp. Putting pwd in there tickles some kind of xargs
buffer overrun problem.
* Other minor changes.

Revision 89 - Directory Listing
Modified Wed Jul 14 23:04:08 1999 UTC (13 years, 10 months ago) by joey
oops, arch all, not any.

Revision 74 - Directory Listing
Modified Tue Jul 13 00:04:33 1999 UTC (13 years, 10 months ago) by joey
Clear out database on purge.

Revision 63 - Directory Listing
Modified Thu Jul 8 23:03:12 1999 UTC (13 years, 10 months ago) by joey
updated copyright

Revision 62 - Directory Listing
Modified Thu Jul 8 22:49:30 1999 UTC (13 years, 10 months ago) by joey
changelog change

Revision 58 - Directory Listing
Modified Thu Jul 8 22:08:27 1999 UTC (13 years, 10 months ago) by joey
make pod into man

Revision 55 - Directory Listing
Modified Thu Jul 8 21:29:40 1999 UTC (13 years, 10 months ago) by joey
Killed client. Debianized.

Revision 53 - Directory Listing
Added Thu Jul 8 21:16:43 1999 UTC (13 years, 10 months ago) by joey
Renamed client to CLient for consitency.

  ViewVC Help
Powered by ViewVC 1.1.5