[zypp-devel] Q: Zypper solverTestCase handling
Hi. Fibonacci:~ # zypper up libzypp Loading repository data... Reading installed packages... Resolving package dependencies... The following packages are going to be upgraded: libzypp satsolver-tools 2 packages to upgrade. Overall download size: 2.1 MiB. After the operation, 1.0 KiB will be freed. Continue? [y/n/?] (y): n Fibonacci:~ # vs. Fibonacci:~ # zypper up --debug-solver libzypp Loading repository data... Reading installed packages... Resolving package dependencies... Generating solver test case... Solver test case generated successfully at /var/log/zypper.solverTestCase. Fibonacci:~ # a) Is it realy intended that --debug-solver does not perform the requested action, but stops after writing the testcase? b) What about a new key ('T') accepted by zyppers 'Continue?' and dependency problem prompt, that causes zypper to write out a testcase immediately. So one does not have to restart the whole action? Of course zypper should afterwards continue. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 10/02/2009 12:09 PM, Michael Andres wrote:
Hi.
Fibonacci:~ # zypper up libzypp Loading repository data... Reading installed packages... Resolving package dependencies... The following packages are going to be upgraded: libzypp satsolver-tools 2 packages to upgrade. Overall download size: 2.1 MiB. After the operation, 1.0 KiB will be freed. Continue? [y/n/?] (y): n Fibonacci:~ #
vs.
Fibonacci:~ # zypper up --debug-solver libzypp Loading repository data... Reading installed packages... Resolving package dependencies... Generating solver test case... Solver test case generated successfully at /var/log/zypper.solverTestCase. Fibonacci:~ #
a) Is it realy intended that --debug-solver does not perform the requested action, but stops after writing the testcase?
Yes. It's 'testcase only' action.
b) What about a new key ('T') accepted by zyppers 'Continue?' and dependency problem prompt, that causes zypper to write out a testcase immediately. So one does not have to restart the whole action? Of course zypper should afterwards continue.
Sure. Good idea :O) But after typing 't', it should IMO report that the testcase has been generated, and get back to 'Continue?'. Just in case you (or somebody else) wants to do it before i get to it, please note that the prompt option string is marked for translation and we're past the text freeze deadline, so please don't do it just now in the master branch. -- cheers, jano Ján Kupec YaST team ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz ---------------------------------------------------------(EOF)---
On Wednesday 14 October 2009 14:20:17 Jano Kupec wrote:
On 10/02/2009 12:09 PM, Michael Andres wrote:
b) What about a new key ('T') accepted by zyppers 'Continue?' and dependency problem prompt, that causes zypper to write out a testcase immediately. So one does not have to restart the whole action? Of course zypper should afterwards continue.
Sure. Good idea :O)
But after typing 't', it should IMO report that the testcase has been generated, and get back to 'Continue?'.
Yes, that's what I'd expect.
Just in case you (or somebody else) wants to do it before i get to it, please note that the prompt option string is marked for translation and we're past the text freeze deadline, so please don't do it just now in the master branch.
-- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Jano Kupec
-
Michael Andres