lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 30/03/2009 16:40, Enrico Tassi wrote:
is anybody aware of any project working on a git binding/wrapper
for lua? search engines didnt reveal anything.

The sputnik wiki can use git as a backend. I believe it calls git
commands with os.execute, thus it may be not what you are looking for.

In any case I suggest to get in touch with sputnik guys, since it would
be a pity having "good" git bindings available and not sputnik using
them.

I was asking a similar question to myself, except that's for Bazaar, my SCM of choice (recent choice! yes, I was foolish enough to live without SCM for my little personal projects...)

I am not totally satisfied by current GUIs and since I don't know Python (yet - but I say that for years!) I was wondering if one could make a lightweight GUI with Lua (perhaps with tekUI? ;)). But since Bazaar is pure Python, I have no idea how to make a binding. I looked at the Eclipse plugin (ie. Java) code and from what I understood, they just issue command lines that they exec. Not my idea of good interface, but well, if it works...
I should look how TortoiseBzr does, perhaps.

Well, that is to say that os.execute isn't such a foolish idea, I suppose. But of course, Git being written in C, a better binding can be done, with some work.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --