Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353447

Summary: Missing exported rpmstubby package
Product: z_Archived Reporter: minoo ziaei <minoo.ziaei>
Component: LinuxToolsAssignee: Packaging Tools Inbox <linux.packagingtools-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: akurtakov, arobinso, minoo.ziaei, sgehwolf
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
rpmstubby export patch
none
rpmstubby and rpm.ui.editor patch akurtakov: iplog+

Description minoo ziaei CLA 2011-07-29 17:03:04 EDT
Build Identifier: I20110613-1736

One of the features in the new local project of fedorapackagerFOReclipse is to populate the project using rpmstubby.
For this, we are just missing the rpmstubby package to be exported.

Will attach the patch..
Thanks,

Reproducible: Always
Comment 1 minoo ziaei CLA 2011-07-29 17:03:53 EDT
Created attachment 200616 [details]
rpmstubby export patch
Comment 2 minoo ziaei CLA 2011-08-08 11:40:34 EDT
Created attachment 201086 [details]
rpmstubby and rpm.ui.editor patch

This patch contains:
 - changes to rpmstubby (export the plugin),
 - changes to rpm.ui.editor.wizard (export the plugin)
 - also some getter methods to ui.editor.wizard to be able to control the spec  file template from local fedora packager wizard (the page four of this wizard extends SpecFileNewWizard), the main reason behind this is that at this point that we are calling this template, there is no project created so user can not select any project because it doesn't exist. So, I manually added the string for project name to the 'projectText' and disabled it so that user doesn't change it.
Also we needed to have some text-modify-listeners to enforce calling extended dialogChanged() method to set the container and project related error messages to null and set the page to complete.

I'm just hoping this would not violate any thought behind the concept of SpecFileWizard.

Thanks,
Comment 3 Alexander Kurtakov CLA 2011-08-09 16:35:42 EDT
In the future please keep patches to different subprojects in separate bugs.
The rpmstubby part was done in an entirely different way while the specfile editor patch is applied in a slightly modified way.
And thanks for the patch, keep'em coming.