Log of /debconf-trunk/debian
Directory Listing
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 ' ' 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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, 7 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.