Add quit option to stepped mode

Bug #245644 reported by Rehan Khan
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
New
Wishlist
Unassigned

Bug Description

Imported: http://tracker.labix.org/issue7

Reason: Patch Review. If the -y option is given then how does this affect this option? Does this mean there is no way to quit?

further details: https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

msg756 (view) Author: netmask Date: 2006-10-08.14:36:40

The attached patch adds quit option for any transaction in "--stepped" mode.
Currently it only works into *text* mode (gtk is being coded).

I need someone else to test this patch to make sure it doesn't break any other
operations that asks for confirmations. Any help and feedback will be much
appreciated.

msg687 (view) Author: netmask Date: 2006-09-02.20:10:23

There are two possible solutions here:

a) Make a stepped transaction quit immediately when a user answers "no" at any
given step.

b) Make the internal askYesNo procedure also handles "quit" (but that would add
the "quit" option in any other transaction that would require confirmation,
which can be good or bad).

I vote for (b).

msg39 (view) Author: niemeyer Date: 2005-10-05.19:33:03

Makes sense. Will add that in a future version.

msg13 (view) Author: netmask Date: 2005-09-28.15:59:26

When installing/upgrading the system in stepped mode, after each group of
packages smart asks to confirm the changes. If "n" is given, it asks for the
next group, and continues to the end. I would suggest to add a quit ("q") option
so that one can gracefully abort the proccess at any time without having to ctrl+c.

(old ticket on http://smartpm.python-hosting.com/ticket/179)

Revision history for this message
Rehan Khan (rasker) wrote :
Rehan Khan (rasker)
Changed in smart:
importance: Undecided → Wishlist
Changed in smart:
milestone: none → 1.4.1
Changed in smart:
milestone: 1.4.1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.