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

Log of /debconf-trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 502 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 2 01:21:21 2000 UTC (12 years, 10 months ago) by joey
File length: 1553 byte(s)
Diff to previous 482
   * So we (culus, tausq, joeyh) did some benchmarking, and figured out how
     to speed up dpkg-preconfigure by about 3x. It turns out most of the
     existing overhead was in calls to dpkg-deb, which is slow, and in all
     the forking necessary to do said calls, which is also slow. So we moved
     the initial package scanning out into a C++ program which links to apt
     code and is quite fast. (Sadly, it's also quite big, and has bloated
     debconf by 30k and made it arch-dependent.) Anyway, I guess it's worth
     it to save a few seconds. <shrug>
   * Some internal code reogranizations and function renames and stuff,
     to make things more flexable.
   * New Passthrough "frontend" to allow third-party GUI operation, by
     Randolph Chung. This is currently somewhat experimental.
   * Frontend fallback is now based on per-starting-frontend lists -- ie,
     slang can fallback to dialog while dialog falls back to slang, without
     an infinite loop being created. Closes: #68337
   * Capabilities fix: There was a problem if, eg, debconf and then cvs were
     configured. Debconf supports BACKUP, cvs does not, but the frontends
     were not informed of the change. Now they are, and the slang frontend
     properly dims out the back button in this situation.

Revision 482 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 18 06:59:35 2000 UTC (12 years, 11 months ago) by joey
File length: 1529 byte(s)
Diff to previous 455
  * So we (culus, tausq, joeyh) did some benchmarking, and figured out how
    to speed up dpkg-preconfigure by about 3x. It turns out most of the
    existing overhead was in calls to dpkg-deb, which is slow, and in all
    the forking necessary to do said calls, which is also slow. So we moved
    the initial package scanning out into a C++ program which links to apt
    code and is quite fast. (Sadly, it's also quite big, and has bloated
    debconf by 30k and made it arch-dependent.) Anyway, I guess it's worth
    it to save a few seconds.

Not uploading yet, I want to sit on this at least overnight. Bod may yet
save us all ;-)

Revision 455 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 19 22:09:59 2000 UTC (13 years, 1 month ago) by joey
File length: 1505 byte(s)
Diff to previous 451
   * Updated and completed the Polish l10n thanks to Marcin Owsiany
     <porridge@pandora.info.bielsko.pl>.
   * Now build depends on the latest debhelper to automatically merge
     translated templates files.
   * Corrected stupid mistake I made when I added sprintf() calls. Now new
     Polish translation is fully functional.

Revision 451 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 15 22:59:30 2000 UTC (13 years, 1 month ago) by joey
File length: 1505 byte(s)
Diff to previous 448
   * Jazzed up the Template class. It can now load in templates files and
     instantiate whole sets of templates on the fly. This is good because
     that code used to be in ConfigDb, which is the part of debconf that
     will probably go away eventually.
   * Templates can also strignify themselves now, which recreates a
     templates file entry. And there is a class method for stringifying a
     whole list of objects, which can recreate a whole templates file.
   * The above new functionality lets me use the Template class for
     something new: management of translated templates files. Added some new
     utilities to help with splitting and merging templates files for
     translation. The idea for these utilities came from Michael Sobolev
     <mss@transas.com>. Thanks, Michael!
   * Added mentions of these utilities to the tutorial.
   * Broke off all the small and non-essential utilities into a new
     debconf-utils package. Developers and extreme power users may want it,
     others will not.
   * All the programs in debconf-utils now have names starting with
     "debconf-". This means dpkg-debconf has been renmaed (again) to
     debconf-communicate, and dpkg-loadtemplate has been renamed to
     debconf-loadtemplate. I hope these are the last name changes.
   * Used sprintf in all gettext() calls that have a parameter. This may
     have messed up the polish translation though.

Revision 448 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 9 01:36:37 2000 UTC (13 years, 1 month ago) by joey
File length: 1448 byte(s)
Diff to previous 432
   * gettextized the entire source tree, so it can now be translated. I used
     Locale::gettext for this, but since it is not in base, I have arranged
     for debconf to continue working if it is not found (just using the C
     locale).
   * Added polish translation from Marcin Owsiany
     <porridge@pandora.info.bielsko.pl>.

Revision 432 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 30 23:21:26 2000 UTC (13 years, 2 months ago) by joey
File length: 1436 byte(s)
Diff to previous 359
   * Added dpkg-loadtemplate, a simple program that loads templates into the
     debconf database. This is *not* intended to be used by debian packages,
     but can be useful for debugging purposes and for pre-seeding the
     database before installing a package.
   * Moved all external manpages for perl programs into POD format.
   * Updated all pod docs to fix formatting problems.
   * debconf-tiny is no more. Instead, we now have debconf and debconf-doc.
     This makes debconf proper be nearly as small as debconf-tiny used to be
     and gets rid of the set of problems associated with debconf-tiny.
   * This huge and unmanageable changelog is 20k compressed. To make debconf
     a reasonable size, I am only including the last 5 changelog entries in
     debconf; the rest go in -doc.
   * Several modules are now Exporters, and I use that where possible to
     reduce code size.
   * Strip all pod docs out of modules in binary package. Ugly, but saves a
     great deal of space.
   * Killed off the gtk frontend. The code has been rotting, and it just
     needs to be rewritten.
   * Changed the AutoSelect fallbacks around, most frontends now fall back
     to Slang.
   * Text frontend no longer always prompts for a Enter press at the end of
     a run.
   * Moved some doc files into doc/ in the source package.

Revision 359 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 7 05:12:54 2000 UTC (13 years, 3 months ago) by joey
File length: 1709 byte(s)
Diff to previous 354
   * 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 354 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 1 00:20:55 2000 UTC (13 years, 3 months ago) by joey
File length: 1694 byte(s)
Diff to previous 328
   * 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 328 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 10 03:52:29 2000 UTC (13 years, 4 months ago) by joey
File length: 1668 byte(s)
Diff to previous 291
   * 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 291 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 7 09:17:49 2000 UTC (13 years, 5 months ago) by joey
File length: 1503 byte(s)
Diff to previous 275
   * Add dpkg-reconfigure to debconf-tiny.

Revision 275 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 11 00:12:27 1999 UTC (13 years, 6 months ago) by joey
File length: 1519 byte(s)
Diff to previous 256
   * "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 256 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 19 21:50:02 1999 UTC (13 years, 7 months ago) by joey
File length: 1544 byte(s)
Diff to previous 246
   * 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 246 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 23:40:48 1999 UTC (13 years, 7 months ago) by joey
File length: 1617 byte(s)
Diff to previous 245
   * 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 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 02:10:42 1999 UTC (13 years, 7 months ago) by joey
File length: 1435 byte(s)
Diff to previous 231
   * 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 231 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 9 05:19:18 1999 UTC (13 years, 7 months ago) by joey
File length: 1364 byte(s)
Diff to previous 188
   * 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 188 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 8 23:55:08 1999 UTC (13 years, 8 months ago) by joey
File length: 1338 byte(s)
Diff to previous 182
   * Converted the tutorial and introduction to xml and docbook.

Revision 182 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 7 11:24:43 1999 UTC (13 years, 8 months ago) by joey
File length: 1344 byte(s)
Diff to previous 169
   * 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 169 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 1 22:08:05 1999 UTC (13 years, 8 months ago) by joey
File length: 1264 byte(s)
Diff to previous 168
   * 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 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 1 20:39:53 1999 UTC (13 years, 8 months ago) by joey
File length: 1273 byte(s)
Diff to previous 139
   * Doh -- I need to update to use debhelper's debconf support! :-)

Revision 139 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 18 21:20:26 1999 UTC (13 years, 9 months ago) by joey
File length: 1173 byte(s)
Diff to previous 138
   * 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 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 18 19:57:35 1999 UTC (13 years, 9 months ago) by joey
File length: 1158 byte(s)
Diff to previous 136
Added debconf configuration config script. Enough configs?

Revision 136 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 18 19:11:26 1999 UTC (13 years, 9 months ago) by joey
File length: 1083 byte(s)
Diff to previous 129
   * 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 129 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 22:44:33 1999 UTC (13 years, 9 months ago) by joey
File length: 1040 byte(s)
Diff to previous 128
   * 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 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 22:25:15 1999 UTC (13 years, 9 months ago) by joey
File length: 1024 byte(s)
Diff to previous 121
   * 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 121 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 22:12:33 1999 UTC (13 years, 9 months ago) by joey
File length: 1015 byte(s)
Diff to previous 119
   * Don't use dh_link, so it can still build on va.

Revision 119 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 21:45:32 1999 UTC (13 years, 9 months ago) by joey
File length: 1081 byte(s)
Diff to previous 97
   * 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 97 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 03:58:23 1999 UTC (13 years, 11 months ago) by joey
File length: 1015 byte(s)
Diff to previous 91
   * 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 91 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 14 23:58:08 1999 UTC (13 years, 11 months ago) by joey
File length: 1017 byte(s)
Diff to previous 90
killed dh_link, tyring to build this on va.debian.org

Revision 90 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 14 23:54:22 1999 UTC (13 years, 11 months ago) by joey
File length: 1026 byte(s)
Diff to previous 58
* Use prefix=debian/tmp. Putting pwd in there tickles some kind of xargs
buffer overrun problem.
* Other minor changes.

Revision 58 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 8 22:08:27 1999 UTC (13 years, 11 months ago) by joey
File length: 1032 byte(s)
Diff to previous 55
make pod into man

Revision 55 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 8 21:29:40 1999 UTC (13 years, 11 months ago) by joey
File length: 1053 byte(s)
Diff to previous 53
Killed client. Debianized.

Revision 53 - (view) (download) (annotate) - [select for diffs]
Added Thu Jul 8 21:16:43 1999 UTC (13 years, 11 months ago) by joey
File length: 1160 byte(s)
Renamed client to CLient for consitency.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5