[yast-devel] about removal of yast2-python-bindings, yast2-cluster needs it.
hi,all I have SCR agent written by python in yast2-cluster module. It requires yast2-python-bindings 'import ycp', So what is the suggestion about this issue? Do you have any alternative python library to do this? Thanks a lot. Dongmao Zhang
Script 'mail_helper' called by ro
Hi dmzhang@suse.com, /mounts/work_src_done/SLE12/yast2-cluster was not checked in by ro for the following reasons: (submitrequest 33435 on https://build.suse.de)
yast2-python-bindings is deprecated and scheduled for removal this is "only old proof of concept" according to yast2 developers. please discuss this first with the yast2 maintainers.
your dist/autobuild team.
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Thu, 27 Feb 2014 14:28:06 +0800 Dongmao Zhang <dmzhang@suse.com> wrote:
hi,all I have SCR agent written by python in yast2-cluster module. It requires yast2-python-bindings 'import ycp', So what is the suggestion about this issue? Do you have any alternative python library to do this?
Thanks a lot.
Hi Dongmao, to make it clear. We only declare, that we do not maintain this bindings as we do not have enough man power and knowledge or python C bindings. So if you are willing to maintain it, you can use it. I check agent you mention and it already contain parser of ycp and serializer to ycp (communication language between agents and modules). So my suspicious is that it use python bindings to yast2 only for logging. So what I propose is to remove import ycp and at the first step comment out all y2 logging method and in the second step use own log file or write wrapper to write to y2log. Josef
Dongmao Zhang
Script 'mail_helper' called by ro
Hi dmzhang@suse.com, /mounts/work_src_done/SLE12/yast2-cluster was not checked in by ro for the following reasons: (submitrequest 33435 on https://build.suse.de)
yast2-python-bindings is deprecated and scheduled for removal this is "only old proof of concept" according to yast2 developers. please discuss this first with the yast2 maintainers.
your dist/autobuild team.
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
于 2014年02月27日 15:20, Josef Reidinger 写道:
On Thu, 27 Feb 2014 14:28:06 +0800 Dongmao Zhang<dmzhang@suse.com> wrote:
hi,all I have SCR agent written by python in yast2-cluster module. It requires yast2-python-bindings 'import ycp', So what is the suggestion about this issue? Do you have any alternative python library to do this?
Thanks a lot.
Hi Dongmao, to make it clear. We only declare, that we do not maintain this bindings as we do not have enough man power and knowledge or python C bindings. So if you are willing to maintain it, you can use it.
I check agent you mention and it already contain parser of ycp and serializer to ycp (communication language between agents and modules). So my suspicious is that it use python bindings to yast2 only for logging. So what I propose is to remove import ycp and at the first step comment out all y2 logging method and in the second step use own log file or write wrapper to write to y2log.
Josef
Thank you for your advice:) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (2)
-
Dongmao Zhang
-
Josef Reidinger