/[debconf]/trunk/src/debconf/debconf-apt-progress
ViewVC logotype

Log of /trunk/src/debconf/debconf-apt-progress

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2349 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 3 13:09:34 2009 UTC (3 years, 10 months ago) by cjwatson
File length: 18117 byte(s)
Diff to previous 2348
debconf-apt-progress: Handle cancellation right at the end. We don't
have a process to kill at this point, but we should at least return the
correct exit code.

Revision 2348 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 3 13:03:50 2009 UTC (3 years, 10 months ago) by cjwatson
File length: 18045 byte(s)
Diff to previous 2343
debconf-apt-progress: If we get cancelled very early on before managing
to start the process we're controlling, make sure that we don't carry on
and start it anyway, and that we still return 30.

Revision 2343 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 24 04:08:43 2009 UTC (4 years, 1 month ago) by cjwatson
File length: 17990 byte(s)
Diff to previous 2341
debconf-apt-progress: DEBIAN_HAS_FRONTEND is always set here at some
point, even if only on the second run after starting debconf, so we need
to invert our handling of the check for whether we started the debconf
frontend ourselves (LP: #347648).

Revision 2341 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 20 12:45:38 2009 UTC (4 years, 2 months ago) by cjwatson
File length: 17823 byte(s)
Diff to previous 2334
debconf-apt-progress: If we didn't start the debconf frontend ourselves,
then it's unlikely that the passthrough child will be able to start
debconf normally, so tell it to use a pipe database in that case and
rely on passthrough to save answers (LP: #337306).

Revision 2334 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 3 16:11:37 2009 UTC (4 years, 2 months ago) by cjwatson
File length: 17503 byte(s)
Diff to previous 2307
debconf-apt-progress: Don't send STOP if we didn't start the debconf
frontend ourselves; in that case the application calling us should
arrange to stop itself.

Revision 2307 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 1 00:51:31 2008 UTC (4 years, 7 months ago) by cjwatson
File length: 17121 byte(s)
Diff to previous 2266
Add missing =back to debconf-apt-progress(1)'s OPTIONS section.

Revision 2266 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 11 12:43:37 2008 UTC (5 years, 2 months ago) by cjwatson
File length: 17114 byte(s)
Diff to previous 2265
* Fix use of 'next' rather than 'return' in debconf-apt-progress
  handle_status.

Revision 2265 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 8 20:27:29 2008 UTC (5 years, 3 months ago) by cjwatson
File length: 17110 byte(s)
Diff to previous 2249
* Use signal names rather than numbers in debconf-apt-progress.

Revision 2249 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 4 17:12:53 2007 UTC (5 years, 5 months ago) by cjwatson
File length: 17101 byte(s)
Diff to previous 2245
* debconf-apt-progress sometimes gets captured by buggy daemons, causing
  tasksel to hang because $debconf_command_eof never becomes true.
  STATUS_READ should be the last fd to close, so checking $status_eof is
  sufficient (LP: #141601).

Revision 2245 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 2 23:35:19 2007 UTC (5 years, 6 months ago) by joeyh
File length: 16971 byte(s)
Diff to previous 2244
remove the new template, I don't think it will really ever be visible

move paranoia code to the end, for paranoid reasons

Revision 2244 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 2 20:44:05 2007 UTC (5 years, 6 months ago) by joeyh
File length: 17149 byte(s)
Diff to previous 2240
add --dlwaypoint option, and add progress display when cancelling

Revision 2240 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 1 23:13:06 2007 UTC (5 years, 6 months ago) by joeyh
File length: 16486 byte(s)
Diff to previous 2239
better variable name

Revision 2239 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 1 22:52:38 2007 UTC (5 years, 6 months ago) by joeyh
File length: 16486 byte(s)
Diff to previous 2238
bleh, avoid ambigutity between command return code and cancelation

Revision 2238 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 1 22:50:33 2007 UTC (5 years, 6 months ago) by joeyh
File length: 16372 byte(s)
Diff to previous 2237
exit 30 if canceled

Revision 2237 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 1 22:37:03 2007 UTC (5 years, 6 months ago) by joeyh
File length: 16143 byte(s)
Diff to previous 2236
debconf-apt-progress: Notice if the child exited abnormally, and exit
  nonzero.

Revision 2236 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 1 19:24:52 2007 UTC (5 years, 6 months ago) by joeyh
File length: 16103 byte(s)
Diff to previous 2233
* Partial support for cancelable progress bars. While the dialog frontend
  cannot support them due to limitations in whiptail(1) and dialog(1),
  and I haven't implemented support in frontends like gnome or kde,
  the confmoodule does now check to see if the frontend's progress bar
  methods return nonzero, and will pass that nonzero status along
  to the caller.
* Implemented support for cancelable progress bars in the passthrough
  frontend.
* debconf-apt-progress: Check for the progress bar being canceled, and if
  this happens, try to kill the apt process. Users of debconf-apt-progress
  that want a cancelable progress bar can thus just set the progresscancel
  capb before calling it and everything should work. Of course, this should
  only be done when the apt operation being run is one that can be cleanly
  killed.

Revision 2233 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 25 18:49:18 2007 UTC (5 years, 6 months ago) by joeyh
File length: 15573 byte(s)
Diff to previous 2214
* debconf-apt-progress: Add --no-progress option intended to be used
  by apt-install in d-i.

Revision 2214 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 25 12:34:09 2007 UTC (5 years, 9 months ago) by cjwatson
File length: 15120 byte(s)
Diff to previous 2119
* Make sure that apt status commands and debconf protocol commands under
  debconf-apt-progress are properly interleaved. Closes: #425397

Revision 2119 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 30 16:51:17 2006 UTC (6 years, 7 months ago) by joeyh
File length: 11931 byte(s)
Diff to previous 2111
reformat

Revision 2111 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 11 20:21:26 2006 UTC (6 years, 8 months ago) by cjwatson
File length: 11925 byte(s)
Diff to previous 2110
* debconf-apt-progress: Avoid falling through to generic progress updating
  code from media-change handling.

Revision 2110 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 11 20:20:27 2006 UTC (6 years, 8 months ago) by cjwatson
File length: 11916 byte(s)
Diff to previous 2105
* debconf-apt-progress: Die if debconf-apt-progress/media-change can't be
  displayed.

Revision 2105 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 8 18:44:28 2006 UTC (6 years, 8 months ago) by joeyh
File length: 11838 byte(s)
Diff to previous 1928
* Add support for media-change in debconf-apt-progress.

Revision 1928 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 20 22:10:09 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 11252 byte(s)
Diff to previous 1920
* debconf-apt-progress: Make sure to start up a debconf frontend properly
  (including saving/restoring @ARGV) in all modes except --config, not
  just in the all-in-one mode.

Revision 1920 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 13 17:42:14 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 11204 byte(s)
Diff to previous 1913
revert accidentally-committed and untested debconf-apt-progress change

Revision 1913 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 6 20:22:23 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 11281 byte(s)
Diff to previous 1912
* Add DebconfCommunicator class to debconf.py to allow speaking the
  debconf protocol over a debconf-communicate subprocess. Useful for
  querying the debconf database noninteractively.

Revision 1912 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 4 21:54:35 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 11204 byte(s)
Diff to previous 1909
* debconf-apt-progress: Allow --from and --to to be used with --start to
  change the endpoints of the created progress bar.

Revision 1909 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 4 09:57:19 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 10742 byte(s)
Diff to previous 1908
Call STOP after tearing down debconf-apt-progress' progress bar, to avoid
leaving a zombie if some package starts a daemon that doesn't disconnect
from fd 3.

Revision 1908 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 4 09:35:05 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 10611 byte(s)
Diff to previous 1905
Drop all the crazy debconf-copydb and temporary configuration file stuff,
and just use DEBCONF_DB_REPLACE and DEBCONF_DB_OVERRIDE. This is faster and
much less complex, although it does involve a change in the --config
interface.

Revision 1905 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 3 23:35:13 2005 UTC (7 years, 5 months ago) by joeyh
File length: 11848 byte(s)
Diff to previous 1904
* Remove newline removal code from perl mangling in Makefile.

Revision 1904 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 3 23:16:56 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 11992 byte(s)
Diff to previous 1903
implement --logstderr; discard apt output by default

Revision 1903 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 3 23:10:20 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 11681 byte(s)
Diff to previous 1902
really fix newlines between debconf-apt-progress.conf stanzas

Revision 1902 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 3 22:50:58 2005 UTC (7 years, 5 months ago) by joeyh
File length: 11539 byte(s)
Diff to previous 1901
here it doesn't print newlines between the stanzas w/o a quoted "EOF"

Revision 1901 - (view) (download) (annotate) - [select for diffs]
Added Sat Dec 3 21:58:11 2005 UTC (7 years, 5 months ago) by cjwatson
File length: 11537 byte(s)
* Add debconf-apt-progress, as discussed on debian-boot@, to install
  packages using debconf to display a progress bar. Requires apt 0.6.41.

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