Re: Libification project (SoC)
- From
Petr Baudis <pasky@suse.cz>
- Date
- Mar 16, 2007, 14:08 UTC
- Message-ID
- <20070316140855.GE4489@pasky.or.cz>
- In-Reply-To
- <20070316104715.483df0d5@localhost>
On Fri, Mar 16, 2007 at 02:47:15PM CET, Luiz Fernando N. Capitulino wrote:
Show 5 quoted lines
> We could start by fixing the got-an-error-die behaivor and > define a _experimental_ API (just a few functions) just to get > data out of git. > > This would be enough to write the Perl binding I think?
Actually, well, I've already done this. :-)
The trouble begins when you want to access multiple repositories from the same process, etc. Without that, writing the Perl binding is trivial; there's already a hook the binding can use to catch dies, I've added it.
So, the main point of the work is to define a _good_ API and get rid of the static state, I guess.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Ever try. Ever fail. No matter. // Try again. Fail again. Fail better. -- Samuel Beckett