Codebase list cdebconf / ef7ad81
Update the doc on progress bars r3064 Martin Sjögren 20 years ago
2 changed file(s) with 6 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
2727 - xml
2828 - Oracle
2929 * Better API documentation
30 * Progress bars (not yet in debconf spec). tentatively this will be driven
31 by commands like:
32 PROGRESS START <min> <max> <title>
33 PROGRESS STEP <step>
34 PROGRESS STOP
3530
3631 Long term:
3732 * transactions
2424
2525 PROGRESS START <min> <max> <title-template>
2626 PROGRESS SET <val>
27 PROGRESS STEP <inc>
2728 PROGRESS INFO <info-template>
2829 PROGRESS STOP
2930
30 The quick&dirty way would be to just overlay this, since there are no
31 conflicts in naming, but that feels like a bad solution. I would rather rip
32 out the current code before it gets too widely used.
33
31 Now that libdebconf is scrapped in favour of libdebconfclient and
32 everything's incompatible with each other anyway :) I thought I'd get down
33 to implementing this. Also added the progress step as per Petter
34 Reinholdtsen's suggestion below.
3435
3536 -Martin
37
3638
3739 It will be easier to use progress bars in shell scripts (less code to
3840 write) if the script don't have to keep track of the current progress