[zypp-devel] libzypp-bindings - examples out-of date ?
Hi! The examples for the libzypp-bindings seem broken, or not up-to-date with the current implementation. Could please someone look at it ? For external devs its more or less the first entry-point! Best regards Jan-Simon -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Thu, Aug 07, Jan-Simon M?ller wrote:
https://bugzilla.novell.com/show_bug.cgi?id=413895 You're right, the bindings urgently need more maintenance. Esp. a testsuite, so we see what's broken even if it compiles. But maybe even the bindings approach to simply wrap the libzypp classes is wrong. Maybe they should provide a more application oriented API. I guess they don't want to deal with all apects of how to refresh and load repos, but simply some init_with/without_refresh and start working. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Am Donnerstag 07 August 2008 10:46:06 schrieb Michael Andres:
I'm willing to contribute to the examples, but i need to get it running first atm ;). My use-case would be: * fetch repodata from a local BS-Instance's output repository * display a list of available packages for selection my app is written in python using libyui-python. So i would need a way to add/refresh repos on a temp-dir. best regards jan-simon -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
* Jan-Simon Möller <dl9pf@gmx.de> [Aug 07. 2008 11:09]:
I'm willing to contribute to the examples, but i need to get it running first atm ;).
libzypp-bindings compile (and load) against svn:head now.
Best approach for 'good' swig bindings is starting to code in the target language and tweak swig accordingly. I have now started to populate http://svn.opensuse.org/svn/zypp/trunk/libzypp-bindings/swig/{python,ruby,perl5}/tests/ and will add tests as time allows. Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Thu, Aug 07, Klaus Kaempf wrote:
Thank you gentlemen. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
* Jan-Simon Möller <dl9pf@gmx.de> [Aug 07. 2008 07:17]:
For simple things, you might as well try one level below and use the sat-solver bindings. Thanks to Pavol Rusnak they have seen some substantial improvements for Python over the last couple of days. Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Am Donnerstag 07 August 2008 11:08:14 schrieb Klaus Kaempf:
Hi ! Sounds great, but i suppose i need a helping hand on the first steps/some small examples. Best regards Jan-Simon -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
* Jan-Simon Möller <dl9pf@gmx.de> [Aug 07. 2008 11:11]:
http://svn.opensuse.org/svn/zypp/trunk/sat-solver/doc/* http://svn.opensuse.org/svn/zypp/trunk/sat-solver/bindings/python/tests/*.py ;-) Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (3)
-
Jan-Simon Möller
-
Klaus Kaempf
-
Michael Andres