Bug 902680

Summary: Provide yast2-printer and yast2-scanner from SLE12 in openSUSE 13.2
Product: [openSUSE] openSUSE Distribution Reporter: Johannes Meixner <jsmeix>
Component: YaST2Assignee: Josef Reidinger <jreidinger>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: dieter.jurzitza, forgotten_A9YPvv3rEp, jsmeix, maintenance, mgriessmeier
Version: 13.2 RC 1   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johannes Meixner 2014-10-27 09:48:47 UTC
The newest yast2-printer and yast2-scanner are only in SLE12.

They should be also provided for openSUSE 13.2.

In OBS the sources are in
SUSE:SLE-12:GA/yast2-printer
and
SUSE:SLE-12:GA/yast2-scanner

Because YaST:Head does not accept submitrequests
I cannot submit them to YaST:Head as usual.

I think a YaST upstream developer should do it "in the right way"
because I am not involved in YaST upstream development.

I wished there was a real OBS devel project for YaST
that behaves as usual OBS devel projects do
i.e. where branch and submitrequest works.

FYI:
What I get when I try to do a submitrequest to YaST:Head:
-----------------------------------------------------------------------------
$ osc submitrequest SUSE:SLE-12:GA yast2-scanner YaST:Head yast2-scanner

Server returned an error: HTTP Error 403: Forbidden
The target project YaST:Head is not accepting requests because: &#13;
The YaST packages are developed at Github (https://github.com/yast or
https://github.com/libyui) and are automatically submitted to YaST:Head
OBS project by Jenkins CI (http://ci.opensuse.org/view/Yast/)
after each Git commit (if the testsuite passes).&#13;&#13;
See "CONTRIBUTING.md" file at the respective Github repository for more details.&#13;&#13;
You can also contact Yast developers at #yast irc.freenode.org or
yast-devel@opensuse.org (http://lists.opensuse.org/yast-devel/)
mailing list.
-----------------------------------------------------------------------------
Comment 1 Johannes Meixner 2014-10-27 09:49:52 UTC
*** Bug 902649 has been marked as a duplicate of this bug. ***
Comment 2 Josef Reidinger 2014-10-29 08:02:35 UTC
Johannes - yast team automatic submit the latest version in git to factory. If something should be included in os13.2 and coolo do not pick it, then you should discuss it with him.

see https://ci.opensuse.org/view/Yast/job/yast-printer-master/ latest version submitted is 3.1.1 and there is no version change, so it is not forwarded to factory.
Comment 3 Johannes Meixner 2014-11-03 11:59:10 UTC
Only FYI:
Currently I have no time (other issues with higher priority)...
Comment 4 Johannes Meixner 2014-11-13 16:05:59 UTC
*** Bug 888782 has been marked as a duplicate of this bug. ***
Comment 5 Johannes Meixner 2014-11-28 11:37:30 UTC
*** Bug 907451 has been marked as a duplicate of this bug. ***
Comment 6 Johannes Meixner 2014-12-05 12:14:18 UTC
Only FYI:
Pending GitHub pull request for yast2-scanner
https://github.com/yast/yast-scanner/pull/3
Comment 7 Johannes Meixner 2015-01-14 09:25:12 UTC
Only FYI:

Tried YaST GitHub pull request (comment#6)
but failed to "fix mergebility".

Currently I have no time for further fighting with YaST GitHub
(other issues have higher priority).

I wished there was a real OBS devel project for YaST
that behaves as usual OBS devel projects do
i.e. where branch and submitrequest "just works".
Comment 8 Josef Reidinger 2015-01-15 09:32:29 UTC
I will fix it.
Comment 9 Josef Reidinger 2015-01-15 09:38:14 UTC
Johannes I check git branch and SLE 12 branch do not contain anything that is not in opensuse or master. Do you have own secret source for SLE_12???

Reason why we have this setup is that we generate all stuff automatic from git repository, so as long as git repo on github in yast organization is up-todate, then also packages in BS is up-todate.
Comment 10 Johannes Meixner 2015-01-15 13:22:13 UTC
I never found the time to make myself familiar
with the YaST development on Github.

I know I should have done it but there never was time for it
because fixing this or that stuff always has higher priority.

Therefore I did the changes that I neeed to do for SLE12
in a "quick and dirty" way in the source packages of our
internal build service via usual branch and submitrequest.

Accordingly the original "secret source for SLE_12"
are our official source packages for SLE12.

After SLE12 was rereased I made those sources
public accessible in the openSUSE build service:

yast2-printer at
home:jsmeix yast2-printer-sle12
and
Printing yast2-printer-SLE12

yast2-scanner only at
home:jsmeix yast2-scanner-sle12
Comment 12 Johannes Meixner 2015-01-15 13:29:16 UTC
Same sources are also in
SUSE:SLE-12:GA/yast2-printer
and
SUSE:SLE-12:GA/yast2-scanner
(see comment#0).
Comment 13 Josef Reidinger 2015-01-15 14:21:50 UTC
Johannes - OK, thanks for pointers. I will try to make it in sync.
If you want quickly get familiar with yast development on github it is easy. Just create pull request as you did and after merge to master it will go to opensuse. For other branches, you need to call `rake osc:sr` to create maintenance request. We do not do it automatic as it overload maintenance team.
Comment 14 Josef Reidinger 2015-01-16 16:51:55 UTC
I create pull requests to apply patches to git:

https://github.com/yast/yast-printer/pull/4
https://github.com/yast/yast-scanner/pull/4

After review it will be merged and then I merge it to opensuse 13.2 and master branch. And then I probably create maintenance request for these two modules for opensuse 13.2
Comment 15 Josef Reidinger 2015-01-19 13:54:52 UTC
maintenance team - can I send fixes from SLE-12 for yast2-scanner and yast2-printer to opensuse 13.2? I think it much improve user experience.
Comment 16 Josef Reidinger 2015-01-19 13:55:30 UTC
pr for opensuse 13.2 branch
https://github.com/yast/yast-scanner/pull/5
https://github.com/yast/yast-printer/pull/5
Comment 17 Josef Reidinger 2015-01-19 15:44:02 UTC
and ones for master 
https://github.com/yast/yast-scanner/pull/6
https://github.com/yast/yast-printer/pull/6

after merge to master it will be automatically in TW and factory
Comment 18 Josef Reidinger 2015-01-27 16:28:02 UTC
maintenance - still waiting for response
Comment 19 Matthias Griessmeier 2015-01-28 06:43:18 UTC
Sorry for late response...

Feel free to submit an update
Comment 20 Josef Reidinger 2015-01-28 08:35:51 UTC
scanner: created request id Request: #283076
printer: created request id Request: #283077