El vie, 17-04-2020 a las 10:34 +0200, aplanas escribió:
On 2020-04-17 09:51, Imobach González Sosa wrote:
El vie, 17-04-2020 a las 09:28 +0200, Rodion Iafarov escribió:
Hi Imo, As for the future, I have 2 ideas in mind. As yomi is out there (https://github.com/openSUSE/yomi), maybe we should look into developing that solution further to replace autoyast.
Sure, that's what I would expect to happen in the future. But as AutoYaST relies in YaST (and its proposals during installation), there might be some valid uses cases for AutoYaST even in the future.
That is true. I want to comment random ideas here.
Most of the complains about AutoYaST in relation with the management of the XML profile. Those are resolved in Yomi indirectly by having a template engine. This engine is part of Salt (sort of), and can be used for the states but also for the pillars (that is the equivalent of the XML profile). So I wonder if adding ERB templates in the profile and a way to access to the public API of YaST can help here.
That's interesting. Actually, there is an ongoing discussion about our XML parser[1][2]. I have been thinking even about some features that our documentation team uses (like conditional rendering depending on the attribute values).
Another comment is that Yomi have a very early prototype that translate the XML profile into the YAML pillar (https://github.com/openSUSE/yomi/blob/master/autoyast2yomi). There are clear limitations, basically because YaST is doing a *lot* more things.
I sounds interesting, I will have a look.
One last comment, and call me crazy : D, is that lately I am thinking more about the ownership of Yomi as an openSUSE project. With YaST supporting Salt formulas and AutoYaST integration with Salt, I am wondering if the natural living place of Yomi is as a YaST subproject. Like a SaltYaST, or AutoYaST-Salt or something.
Well, I am not sure. At this point, I consider them as separate projects (using different approaches, constraints, etc.) but I see a lot of space for collaborating and sharing ideas. Thanks a lot for your feedback, Alberto! Regards, Imo [1] https://lists.opensuse.org/yast-devel/2020-03/msg00036.html [2] https://lists.opensuse.org/yast-devel/2020-04/msg00002.html -- Imobach González Sosa YaST Team at SUSE LLC https://imobachgs.github.io/