Re: [libvirt] Here they

Hi there, Arnaud, where did you get latest source of my C# binding? Because my svn server doesn't work a couple of months, so maybe you used old one. I attached latest one in this mail. I am so sorry that I discontinued work of my bindings for libivirt, but I discovered Ruby language and I felt love in it and I ported my web interface for libvirt - now is built on Chris's ruby-libvirt. Arnaud I noticed that you didn't used my classes which "envelops" bare libvirt functions, am I right? Good work anyway, I'm glad that part of my job wont be lose :) Regards, Jaromír Červenka Official openSUSE community member Web: http://www.cervajz.com/ Jabber: cervajz@cervajz.com MSN: jara.cervenka@seznam.cz Tel.: +420 607 592 687 Alt. e-mails: jaromir.cervenka@opensuse.org, jaromir.cervenka@speel.cz Dne 24. září 2010 17:47 <arnaud.champion@devatom.fr> napsal(a):
I'm very away from a licence expert :) but I think that should be similar to libvirt, so LGPL 2 or later seems good for me.
A lot of code comes from Jaromír, I have changed these things : - improve pinning and marshaling of struct, methods for using with C# and windows libvirt binaries - Add delegate to handle callbacks, this include pinnings and marshaling also (I have to work little on the pinning/marshaling of the delegate virConnectAuthCallback, because it seems that I have some trouble around packing structure virConnectCredential)
I have also added some XML auto documentation descriptors.
-------------------------------------------------- From: "Daniel Veillard" <veillard@redhat.com> Sent: Friday, September 24, 2010 2:15 PM To: <arnaud.champion@devatom.fr> Cc: "Jaromír Červenka" <cervajz@cervajz.com> Subject: Re: Here they
On Fri, Sep 24, 2010 at 11:29:51AM +0200, arnaud.champion@devatom.frwrote:
Hi,
Bonjour,
As I have said, here are the libvirt C# bindings that I have modified.
For info, I use them in a project (DAVIM) and they work find, I will make a doc to explain what is covered and what is not...
Let me know if you have any question.
yes at least two:
- what is the Licence for the code in that ZIP ? I would assume LGPL version 2 or later, to be similar to libvirt itself - how much of that code is coming from Jaromír ?
thanks !
PS : Sorry for my poor english. FYI, DAVIM, is a tool to create / manage
Libvirt/KVM it is free to download at www.Devatom.fr the tol is in english or french but the website is in french only. Let me know if you want I send you the tool if you want to test it.
Pas de probleme ! A priori je n'ai pas de C# ni de machine Windows donc pas tres utile pour moi, mais merci ...
Daniel
-- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Hi Jaromír, It's right I haven't used your classes which envelops libvirt function, I have written my own wrapper which I use in my tool DAVIM. Anyway, thanks for the updated bindings I will take a look because I have taken theses sources there's four or five month, I'm working on DAVIM (my libvirt / KVM windows management tool) since 6 month ago so... At the bindings levels here's what I manage to do : a.. Write bindings for some unbinded method (virStream... and so on) b.. Check the gap between current libvirt API and my C# bindings (my bindings were primarly build upon libvirt 0.7.4, but it works well with 0.8.4) c.. I have my own web site with my own SVN (the SVN is private currently) at www.Devatom.fr, maybe I will open SVN for bindings, I don't know d.. Write some sample code for using libivirt with csharp What I will not do : a.. Check bindings compatibility with Mono (except if a mono expert can help me) You Jaromir have made a great job which help me a lot in my project which is quite usable now. Best regards, Arnaud From: Jaromír Červenka Sent: Friday, September 24, 2010 3:11 PM To: arnaud.champion@devatom.fr Cc: veillard@redhat.com ; libvir-list Subject: Re: Here they Hi there, Arnaud, where did you get latest source of my C# binding? Because my svn server doesn't work a couple of months, so maybe you used old one. I attached latest one in this mail. I am so sorry that I discontinued work of my bindings for libivirt, but I discovered Ruby language and I felt love in it and I ported my web interface for libvirt - now is built on Chris's ruby-libvirt. Arnaud I noticed that you didn't used my classes which "envelops" bare libvirt functions, am I right? Good work anyway, I'm glad that part of my job wont be lose :) Regards, Jaromír Červenka Official openSUSE community member Web: http://www.cervajz.com/ Jabber: cervajz@cervajz.com MSN: jara.cervenka@seznam.cz Tel.: +420 607 592 687 Alt. e-mails: jaromir.cervenka@opensuse.org, jaromir.cervenka@speel.cz Dne 24. září 2010 17:47 <arnaud.champion@devatom.fr> napsal(a): I'm very away from a licence expert :) but I think that should be similar to libvirt, so LGPL 2 or later seems good for me. A lot of code comes from Jaromír, I have changed these things : - improve pinning and marshaling of struct, methods for using with C# and windows libvirt binaries - Add delegate to handle callbacks, this include pinnings and marshaling also (I have to work little on the pinning/marshaling of the delegate virConnectAuthCallback, because it seems that I have some trouble around packing structure virConnectCredential) I have also added some XML auto documentation descriptors. -------------------------------------------------- From: "Daniel Veillard" <veillard@redhat.com> Sent: Friday, September 24, 2010 2:15 PM To: <arnaud.champion@devatom.fr> Cc: "Jaromír Červenka" <cervajz@cervajz.com> Subject: Re: Here they On Fri, Sep 24, 2010 at 11:29:51AM +0200, arnaud.champion@devatom.fr wrote: Hi, Bonjour, As I have said, here are the libvirt C# bindings that I have modified. For info, I use them in a project (DAVIM) and they work find, I will make a doc to explain what is covered and what is not... Let me know if you have any question. yes at least two: - what is the Licence for the code in that ZIP ? I would assume LGPL version 2 or later, to be similar to libvirt itself - how much of that code is coming from Jaromír ? thanks ! PS : Sorry for my poor english. FYI, DAVIM, is a tool to create / manage Libvirt/KVM it is free to download at www.Devatom.fr the tol is in english or french but the website is in french only. Let me know if you want I send you the tool if you want to test it. Pas de probleme ! A priori je n'ai pas de C# ni de machine Windows donc pas tres utile pour moi, mais merci ... Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On Fri, Sep 24, 2010 at 03:51:17PM +0200, arnaud.champion@devatom.fr wrote:
Hi Jaromír,
It's right I haven't used your classes which envelops libvirt function, I have written my own wrapper which I use in my tool DAVIM. Anyway, thanks for the updated bindings I will take a look because I have taken theses sources there's four or five month, I'm working on DAVIM (my libvirt / KVM windows management tool) since 6 month ago so...
At the bindings levels here's what I manage to do : a.. Write bindings for some unbinded method (virStream... and so on) b.. Check the gap between current libvirt API and my C# bindings (my bindings were primarly build upon libvirt 0.7.4, but it works well with 0.8.4) c.. I have my own web site with my own SVN (the SVN is private currently) at www.Devatom.fr, maybe I will open SVN for bindings, I don't know d.. Write some sample code for using libivirt with csharp What I will not do : a.. Check bindings compatibility with Mono (except if a mono expert can help me)
You Jaromir have made a great job which help me a lot in my project which is quite usable now.
Hum, it would be good if this could be cleaned up a bit :-) Arnaud, rather than keeping your own SVN, I think it would be good for the long term if the bindings could be kept on libvirt.org , ideally in git because we don't have SVN installed there yet (but I'm not sure how familiar you're with this). I could create the git with Jaromír latest version so there is a clear attribution, I would add Licence informations and maybe scripts or makefiles to generate a distribution. Then either you or I could diff your version against the old one, and try to merge your changes back. what do you think ? Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Well, I have used git a little but never under windows :) I think I will be able to use it. Yes, I know I have to clean up the code, I'm on it, and I am also making a file to see the gap of thing to do to fully bind libvirt v0.8.4. I'm OK to use git on libvirt, but I must keep my SVN, because binding project is a part of a full visual studio solution which is controlled by my SVN. Anyway, I can update libvirt git regulary. -------------------------------------------------- From: "Daniel Veillard" <veillard@redhat.com> Sent: Friday, September 24, 2010 5:48 PM To: <arnaud.champion@devatom.fr> Cc: "Jaromír Červenka" <cervajz@cervajz.com>; "libvir-list" <libvir-list@redhat.com> Subject: Re: Here they
On Fri, Sep 24, 2010 at 03:51:17PM +0200, arnaud.champion@devatom.fr wrote:
Hi Jaromír,
It's right I haven't used your classes which envelops libvirt function, I have written my own wrapper which I use in my tool DAVIM. Anyway, thanks for the updated bindings I will take a look because I have taken theses sources there's four or five month, I'm working on DAVIM (my libvirt / KVM windows management tool) since 6 month ago so...
At the bindings levels here's what I manage to do : a.. Write bindings for some unbinded method (virStream... and so on) b.. Check the gap between current libvirt API and my C# bindings (my bindings were primarly build upon libvirt 0.7.4, but it works well with 0.8.4) c.. I have my own web site with my own SVN (the SVN is private currently) at www.Devatom.fr, maybe I will open SVN for bindings, I don't know d.. Write some sample code for using libivirt with csharp What I will not do : a.. Check bindings compatibility with Mono (except if a mono expert can help me)
You Jaromir have made a great job which help me a lot in my project which is quite usable now.
Hum, it would be good if this could be cleaned up a bit :-) Arnaud, rather than keeping your own SVN, I think it would be good for the long term if the bindings could be kept on libvirt.org , ideally in git because we don't have SVN installed there yet (but I'm not sure how familiar you're with this). I could create the git with Jaromír latest version so there is a clear attribution, I would add Licence informations and maybe scripts or makefiles to generate a distribution. Then either you or I could diff your version against the old one, and try to merge your changes back.
what do you think ?
Daniel
-- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On 09/25/2010 02:09 AM, arnaud.champion@devatom.fr wrote:
Well,
I have used git a little but never under windows :) I think I will be able to use it. Yes, I know I have to clean up the code, I'm on it, and I am also making a file to see the gap of thing to do to fully bind libvirt v0.8.4.
I'm OK to use git on libvirt, but I must keep my SVN, because binding project is a part of a full visual studio solution which is controlled by my SVN. Anyway, I can update libvirt git regulary.
Hi Arnaud, How's this progressing? Thinking we should probably create the git repository for you, so you can put stuff in it. Something like this maybe? http://libvirt.org/git/?p=libvirt-csharp.git Note, I haven't looked at your code. I don't C# at all. Just wanting to make sure you're going ok. :) Regards and best wishes, Justin Clift

Hi, I think I can use the git to put sources. Daniel says that I have to put some licences mentions on code these kind of thing, I have also to clean up some code. I have made an excel file to see what is done. I will try to make first check in in git this week. Best regards, ARnaud -------------------------------------------------- From: "Justin Clift" <jclift@redhat.com> Sent: Monday, October 04, 2010 6:53 AM To: <arnaud.champion@devatom.fr> Cc: "libvir-list" <libvir-list@redhat.com> Subject: Re: [libvirt] Here they
On 09/25/2010 02:09 AM, arnaud.champion@devatom.fr wrote:
Well,
I have used git a little but never under windows :) I think I will be able to use it. Yes, I know I have to clean up the code, I'm on it, and I am also making a file to see the gap of thing to do to fully bind libvirt v0.8.4.
I'm OK to use git on libvirt, but I must keep my SVN, because binding project is a part of a full visual studio solution which is controlled by my SVN. Anyway, I can update libvirt git regulary.
Hi Arnaud,
How's this progressing?
Thinking we should probably create the git repository for you, so you can put stuff in it.
Something like this maybe?
http://libvirt.org/git/?p=libvirt-csharp.git
Note, I haven't looked at your code. I don't C# at all. Just wanting to make sure you're going ok. :)
Regards and best wishes,
Justin Clift

On 10/04/2010 05:15 PM, arnaud.champion@devatom.fr wrote:
Hi,
I think I can use the git to put sources. Daniel says that I have to put some licences mentions on code these kind of thing, I have also to clean up some code.
No worries. Daniel speaks French, so that might be useful to know if you are struggling with English at time. :)
I have made an excel file to see what is done.
That's very good. When you have the source code placed in git, we can convert this to HTML and put it on the libvirt website so people know where it is up to. :)
I will try to make first check in in git this week.
Cool. :) Regards and best wishes, Justin Clift
Best regards,
ARnaud

Hi Justin, can you confirm that I can start to use the git ? Arnaud -------------------------------------------------- From: "Justin Clift" <jclift@redhat.com> Sent: Monday, October 04, 2010 8:22 AM To: <arnaud.champion@devatom.fr> Cc: <veillard@redhat.com>; "libvir-list" <libvir-list@redhat.com> Subject: Re: [libvirt] Here they
On 10/04/2010 05:15 PM, arnaud.champion@devatom.fr wrote:
Hi,
I think I can use the git to put sources. Daniel says that I have to put some licences mentions on code these kind of thing, I have also to clean up some code.
No worries. Daniel speaks French, so that might be useful to know if you are struggling with English at time. :)
I have made an excel file to see what is done.
That's very good. When you have the source code placed in git, we can convert this to HTML and put it on the libvirt website so people know where it is up to. :)
I will try to make first check in in git this week.
Cool. :)
Regards and best wishes,
Justin Clift
Best regards,
ARnaud
participants (4)
-
arnaud.champion@devatom.fr
-
Daniel Veillard
-
Jaromír Červenka
-
Justin Clift