[opensuse-factory] YaST in Ruby integrated into Factory
Hi, we are proud to announce that we just reached the main goal of the YCP Killer project [1]: we did the final conversion of YaST codebase from YCP to Ruby and integrated the result into Factory (which means YaST in Ruby will be part of openSUSE 13.1 M4). At the same time, YaST version was officially increased to 3.0.0. This concludes 6 months of effort and opens many new possibilities for further YaST development. The translation itself was done automatically using Y2R [2] -- a YCP to Ruby transpiler. The amount of converted code is quite impressive: * 4204 files * 594680 lines of YCP deleted * 724687 lines of Ruby added The change of the implementation language should not bring any noticeable change in the appearance or behavior of YaST or the openSUSE installer. If you spot any difference, it is a bug and please report it via regular channels (primarily Bugzilla). At this point we are not aware of any user-visible problems. Thanks to everybody who participated on this huge effort. [1] https://github.com/yast/ycp-killer [2] https://github.com/yast/y2r -- David Majda SUSE Studio developer http://susestudio.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Nice! big congrats and thanks for all your hard work :) Cheers the noo, Graham -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
That sounds fantastic. I assume conversion is a one time thing. If so, is it officially done and future YaST work is to be done in the ruby modules? Greg -- Greg Freemyer On Thu, Aug 1, 2013 at 10:13 AM, David Majda <dmajda@suse.cz> wrote:
Hi,
we are proud to announce that we just reached the main goal of the YCP Killer project [1]: we did the final conversion of YaST codebase from YCP to Ruby and integrated the result into Factory (which means YaST in Ruby will be part of openSUSE 13.1 M4). At the same time, YaST version was officially increased to 3.0.0.
This concludes 6 months of effort and opens many new possibilities for further YaST development.
The translation itself was done automatically using Y2R [2] -- a YCP to Ruby transpiler. The amount of converted code is quite impressive:
* 4204 files * 594680 lines of YCP deleted * 724687 lines of Ruby added
The change of the implementation language should not bring any noticeable change in the appearance or behavior of YaST or the openSUSE installer. If you spot any difference, it is a bug and please report it via regular channels (primarily Bugzilla). At this point we are not aware of any user-visible problems.
Thanks to everybody who participated on this huge effort.
[1] https://github.com/yast/ycp-killer [2] https://github.com/yast/y2r
-- David Majda SUSE Studio developer http://susestudio.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 01/08/13 11:41, Greg Freemyer escribió:
That sounds fantastic.
I assume conversion is a one time thing. If so, is it officially done and future YaST work is to be done in the ruby modules?
Well.. yeah.. otherwise this massive effort will not have been done in the first place don't you think? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Aug 1, 2013 at 5:33 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 01/08/13 11:41, Greg Freemyer escribió:
That sounds fantastic.
I assume conversion is a one time thing. If so, is it officially done and future YaST work is to be done in the ruby modules?
Well.. yeah.. otherwise this massive effort will not have been done in the first place don't you think?
I've been involved in a number of conversions. It is not unusual at all to start using the product of the conversion, but still be tweaking the conversion process. In that temporary mode you are running the converted code, but it is still considered throwaway code because you might have to recreate it next week.. I just wanted clarification that the converters weren't still being run as bugs are found and fixed in the converter. Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Dne 2.8.2013 02:48, Greg Freemyer napsal(a):
On Thu, Aug 1, 2013 at 5:33 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 01/08/13 11:41, Greg Freemyer escribió:
That sounds fantastic.
I assume conversion is a one time thing. If so, is it officially done and future YaST work is to be done in the ruby modules?
Well.. yeah.. otherwise this massive effort will not have been done in the first place don't you think?
I've been involved in a number of conversions. It is not unusual at all to start using the product of the conversion, but still be tweaking the conversion process. In that temporary mode you are running the converted code, but it is still considered throwaway code because you might have to recreate it next week..
That's exactly what we did with M2 and M3.
I just wanted clarification that the converters weren't still being run as bugs are found and fixed in the converter.
The conversion is final. If we find a significant bug in the converter now, our plan is: 1. Fix the converter. 2. Re-run the conversion on the snapshot of YaST code we did before the official final conversion. 3. Take a diff against the original converted code. 4. Apply that diff on current YaST code (as a regular patch). Of course, this will be possible only for some time, because YaST code will evolve. But this is OK. BTW we tested *a lot*, so we expect the number of bugs to be low. -- David Majda SUSE Studio developer http://susestudio.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 8/1/13 10:13 AM, David Majda wrote:
Hi,
we are proud to announce that we just reached the main goal of the YCP Killer project [1]: we did the final conversion of YaST codebase from YCP to Ruby and integrated the result into Factory (which means YaST in Ruby will be part of openSUSE 13.1 M4). At the same time, YaST version was officially increased to 3.0.0.
This concludes 6 months of effort and opens many new possibilities for further YaST development.
The translation itself was done automatically using Y2R [2] -- a YCP to Ruby transpiler. The amount of converted code is quite impressive:
* 4204 files * 594680 lines of YCP deleted * 724687 lines of Ruby added
The change of the implementation language should not bring any noticeable change in the appearance or behavior of YaST or the openSUSE installer. If you spot any difference, it is a bug and please report it via regular channels (primarily Bugzilla). At this point we are not aware of any user-visible problems.
Thanks to everybody who participated on this huge effort.
[1] https://github.com/yast/ycp-killer [2] https://github.com/yast/y2r
This is awesome. I'm sure I'm not the only one who's pleased to see YCP be retired. Congratulations and great job to everyone who put in a ton of work on this! -Jeff -- Jeff Mahoney SUSE Labs
On Fri 02 Aug 2013 08:30:07 AM EDT, Jeff Mahoney wrote:
On 8/1/13 10:13 AM, David Majda wrote:
Hi,
we are proud to announce that we just reached the main goal of the YCP Killer project [1]: we did the final conversion of YaST codebase from YCP to Ruby and integrated the result into Factory (which means YaST in Ruby will be part of openSUSE 13.1 M4). At the same time, YaST version was officially increased to 3.0.0.
This concludes 6 months of effort and opens many new possibilities for further YaST development.
The translation itself was done automatically using Y2R [2] -- a YCP to Ruby transpiler. The amount of converted code is quite impressive:
* 4204 files * 594680 lines of YCP deleted * 724687 lines of Ruby added
The change of the implementation language should not bring any noticeable change in the appearance or behavior of YaST or the openSUSE installer. If you spot any difference, it is a bug and please report it via regular channels (primarily Bugzilla). At this point we are not aware of any user-visible problems.
Thanks to everybody who participated on this huge effort.
[1] https://github.com/yast/ycp-killer [2] https://github.com/yast/y2r
This is awesome. I'm sure I'm not the only one who's pleased to see YCP be retired.
Congratulations and great job to everyone who put in a ton of work on this!
-Jeff
Awesome job David and all contributors. We as users appreciate your contribution to the future of openSUSE. Ruby is an easier language to read and understand. Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I've installed most of 3.0.0 on 13.1-M3 but yast2-core keeps throwing up the following conflict: Nothing provides libowcrypt.so.1()(64bit) needed by yast2-core-3.0.0.-2.3x86_64 The repo I've used is http://download.opensuse.org/repositories/YaST:/Head/openSUSE_Factory/ -- Graham Davis, Bracknell, Berks. openSUSE 13.1 M3 (64-bit); KDE 4.10.97; AMD Phenom II X2 550 Processor; Kernel: 3.10.0; Video: nVidia GeForce 210 (using nouveau driver); Sound: ATI SBx00 Azalia (Intel HDA); Wireless: BCM4306 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Cristian Rodríguez
-
David Majda
-
Graham Anderson
-
Graham P Davis
-
Greg Freemyer
-
Jeff Mahoney
-
Roman Bysh