Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: OpenSUSE 13.1 Switching To Ruby-Based YaST

  1. #11
    Join Date
    Dec 2010
    Posts
    1,053

    Default

    Quote Originally Posted by zanny View Post
    It seems odd that the distro that is pretty much "the kde distro" is using Ruby to rewrite its control center in. I'd figure PySide or just actual C++ Qt (just without the KDE dependencies for their other DE spins) would have made more sense.
    YaST is written in C++. See https://github.com/yast/yast-core/tree/master/liby2/src
    In addition to C++ code YaST also has a scripting engine. The home-grown scripting engine is being replaced with Ruby. That's all.

  2. #12
    Join Date
    Dec 2008
    Location
    Creve Coeur, Missouri
    Posts
    394

    Default

    I just read the article and was left at, "OH GOD, WHY?!?"

  3. #13
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    2,393

    Default

    Interesting. That should make things easier to manage, I suppose.

    Quote Originally Posted by zanny View Post
    I wonder if it will have themeing that matches the rest of the DE now, though.
    The theming is due to special YaST theming packages. If you remove them, or just move the /usr/share/YaST2/theme/current symlink somewhere else, it will use the system styles (the root ones, which you can configure by doing a kdesu systemsettings if on KDE).

    Quote Originally Posted by DanL View Post
    opensuse doesn't want to be known as the "kde distro" because they feel it's too exclusive. I personally think they should play to their strength and embrace it.
    Half of the people on openSUSE use KDE. The other half uses GNOME. Roughly speaking, that is (always bound to be XFCE, E17, etc. users as well).

    Quote Originally Posted by zanny View Post
    I run 12.3 on some family PCs and it doesn't obey Qt theming or styling, so I'm pretty sure its not Qt based (yet, at least).
    It is Qt-based. Or GTK-based. Or ncurses-based. You can install either of the three packages, or all of them, and then choose one through the /etc/sysconfig editor.

    Quote Originally Posted by Awesomeness View Post
    A) YaST runs as root, so is would pick up whatever styles root has set.
    I really hope it stops running as root in the future: https://features.opensuse.org/314778

  4. #14
    Join Date
    Dec 2010
    Posts
    1,053

    Default

    Quote Originally Posted by GreatEmerald View Post
    I really hope it stops running as root in the future: https://features.opensuse.org/314778
    Maybe with the Ruby engine this will be easier to implement.

  5. #15
    Join Date
    Jun 2013
    Location
    Canada
    Posts
    24

    Default

    If they want a scripting language they should just do JavaScript... WAY faster than Ruby these days but a little less sane from the prototypical inheritance etc, a bit easier to read since its C-Style syntax, and I'd say millions more devs can use JS good or bad.
    But even if they didn't want to use V8 to run YaST most desktop environments use JS scripting features built-in already for extensions & applet functionality so integration to YaST could be tighter to the desktop for notifications etc.
    At least they went with Ruby and not Python :P

  6. #16
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    2,393

    Default

    Quote Originally Posted by Awesomeness View Post
    Maybe with the Ruby engine this will be easier to implement.
    Possibly. The plugins would have to support polkit as well, and it probably is easier to do so when using Ruby.

  7. #17
    Join Date
    Oct 2010
    Location
    Amsterdam
    Posts
    286

    Default

    Quote Originally Posted by peppercats View Post
    That's a shame, because everyone still(and will) refer to them as the "kde distro".
    I wonder if these people ever have installed openSUSE in the last few years.

    Since the first time I installed openSUSE, which was version 9.0, I was greeted with a screen, were I can pick kde or gnome.

  8. #18
    Join Date
    Mar 2010
    Location
    Cambridge, UK
    Posts
    55

    Default

    Quote Originally Posted by DanL View Post
    Anyway, I hope the rewrite makes yast faster. It was a nice tool, but too slow for my liking when I last tried suse
    I don't have much experience with ruby, but my daily encounter with Puppet makes me automatically assume everything will run very slowly and require 150MB of ram to do the most trivial things.

  9. #19
    Join Date
    Apr 2012
    Posts
    112

    Default

    Strange, I'd think they'd want to go with Python...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •