Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353447 - Missing exported rpmstubby package
Summary: Missing exported rpmstubby package
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Packaging Tools Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 17:03 EDT by minoo ziaei CLA
Modified: 2022-01-13 14:51 EST (History)
4 users (show)

See Also:


Attachments
rpmstubby export patch (582 bytes, patch)
2011-07-29 17:03 EDT, minoo ziaei CLA
no flags Details | Diff
rpmstubby and rpm.ui.editor patch (2.56 KB, patch)
2011-08-08 11:40 EDT, minoo ziaei CLA
akurtakov: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.