On Sun, 1 Sep 2013 19:37:11 +0530 Kshitij Gupta <kgupta8592@gmail.com> wrote:
Hello,
I started working on developing profile management tools for AppArmor a few weeks ago, the tools should also have a GUI based on YaST. The tools were decided to be developed in Python3 which as I learnt had no bindings with YaST (Python2 does, however I'm told they may have rough edges).
So my project mentor (its a GSoC project) cboltz and the devs at AppArmor came up with an idea to develop a Ruby tool for UI based on YaST which would interact with our Python (core) tools via JSON. The idea seemed feasible to us.
So, I'd like to know if there's some template or existing code-base we can build upon or use?
Any other help/tips/things-to-keep-in-mind would be helpful too.
Thanks.
Regards,
Kshitij Gupta
Hi Kshitij, at first I think that I need to mention that there is already apparmor plugin for yast[1], but it is not in good shape. Its advantage is that it was written by apparmor developers, so it contains quite good functionality. Existing code-base for yast in ruby is currently almost all ruby plugins living in [2]. Template is not yet ready and also documentation lacking, but yast ruby API is documented quite well[3] (of course there is also some gaps, so if you find anything just write me or create issue on github). My tip for you is to use code review on github, feel free to create pull request and add me there so I can review it. Another tip is to write good tests as it can really help you with debugging and longer live of your code. Feel free to ask more questions that comes to your mind. Josef [1] https://github.com/yast/yast-apparmor [2] https://github.com/yast/ [3] http://rubydoc.info/github/yast/yast-ruby-bindings -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org