Mailinglist Archive: yast-devel (91 mails)

< Previous Next >
[yast-devel] new classes in Yast2 - Execute and TargetFile
I happily announce that today was merged two new features to yast2.rpm.

The first one is Execute class. It is basically wrapper around Cheetah
library with all its features[1]. What wrapper did is basically
1) set yast logger
2) in on_target varient operate on chroot specified by destdir option
( can change in future to parse real chroot specified in WFM call )
3) open report popup if command failed

for implementation see [2] and for example usage see [3].

The second one is TargetFile which is mainly useful with new CFA gem.
It adds default file handler to CFA that respect changed root ( so if
something need to be done really locally it have to specify default
file handler to ::File ).[4]

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages