Bug 386381

Summary: yast2 sw_single function "Prepare y2logs.tgz tar archive to attach to Bugzilla?" to be added to help or similar
Product: [openSUSE] openSUSE 11.0 Reporter: Casual J. Programmer <casualprogrammer>
Component: YaST2Assignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot of yast2 help message box

Description Casual J. Programmer 2008-05-03 09:47:00 UTC
yast2 sw_single offers a function "Prepare y2logs.tgz tar archive to attach to Bugzilla?", alas it's hidden behind "Extras/Generate Dependency Resolver Test Case" and only offered after performing the latter.

I suggest that this function be made available at the yast2 Menu Bar top level or at least under Help, as this is compulsory for yast2 bug reporting.

Also the default filename "y2logs.tgz" should be expanded by a timestamp per default.

Notebook: Fujitsu Siemens Amilo Si 1520
Graphics: Fujitsu Siemens Mobile 945GM/GMS/GME, 943/940GML Express
Monitor:  QUANTADISPLAY LCD Monitor 1280x800@60Hz
Wireless: Intel PRO/Wireless 3945ABG Network Connection
Sound:    82801G (ICH7 Family) High Definition Audio Controller
Desktop:  package gnome2-SuSE is not installed
YaST GUI: yast2-qt-2.16.44-2
OS:       openSUSE 11.0 (i586) Beta2 VERSION = 11.0
Kernel:   2.6.25-24-pae

rpm -qa | grep yast2 | sort

yast2-2.16.60-2
Comment 1 Ladislav Slezák 2008-05-06 07:18:00 UTC
The solver testcase is a different functionality from saving the logs.

You can save the logs by pressing Shift+F8. Adding a time stamp to the file name seems to be good idea I think.
Comment 2 Casual J. Programmer 2008-05-06 07:35:06 UTC
Now this is neat! 

It's been sitting there all the time. It shouldn't be a big problem then to add a menu entry for it, for the more mouse oriented users.

Adding a remark to the help message box couldn't hurt either.

Future requests for y2logs in bnc should probably also contain a hint to Shift+F8 rather than to a website detailing the procedure for producing the copy manually.

Comment 3 Casual J. Programmer 2008-05-06 07:35:42 UTC
Created attachment 212544 [details]
Screenshot of yast2 help message box
Comment 4 Stefan Hundhammer 2008-05-06 11:26:48 UTC
(In reply to comment #2 from Casual J. Programmer)
> Future requests for y2logs in bnc should probably also contain a hint to
> Shift+F8 rather than to a website detailing the procedure for producing the
> copy manually.

It's all there:

http://en.opensuse.org/Bugs/YaST#I_reported_a_YaST2_bug.2C_and_now_I_am_asked_to_.22attach_y2logs.22._What_does_that_mean.2C_and_how_do_I_do_that.3F

"...
From SUSE Linux 9.3 or SLES-9 SP1 on, press Shift-F8 in the Qt UI (the graphical mode). You will be prompted for a file name to save the logs to.
..."
Comment 5 Stefan Hundhammer 2008-05-06 11:33:44 UTC
When we need y2logs, we request them. We don't want to clutter the menus (much less the "Help" menu) with stuff that is not meaningful to most users. The resolver test case is very exceptional here, and frankly I am not too happy with it at that place, either.

Those community members who are knowledgeable enough to write useful bug reports IMHO know how to do that. Casual users who would need a lot of explaining would be very much overwhelmed with all the details. For those who want to take that learning curve, it's all documented on the openSUSE web pages, including how to save y2logs.

Adding that to sw_single only does not make any sense IMHO - why there and not everywhere else? sw_single is just a very small part of YaST2.

Bottom line: Part of this request is already there (-> FIXED), another part is not desirable (-> INVALID).