Re: [fossil-users] C API

2012-01-08 Thread Stephan Beal
On Sun, Jan 8, 2012 at 6:55 PM, Jeremy Cowgar wrote: > Does the JSON interface work via the command line? It'd be a bummer for a > user wanting to simply script fossil to have to run a server just to do > some local scripting. > It can run in CLI or server modes, "mostly" identically. In CLI mod

Re: [fossil-users] C API

2012-01-08 Thread Jeremy Cowgar
Does the JSON interface work via the command line? It'd be a bummer for a user wanting to simply script fossil to have to run a server just to do some local scripting. Jeremy On Jan 8, 2012, at 12:32 PM, Chad Perrin wrote: > On Sun, Jan 08, 2012 at 12:36:58PM +0800, Michael Richter wrote: >>

Re: [fossil-users] C API

2012-01-08 Thread Chad Perrin
On Sun, Jan 08, 2012 at 12:36:58PM +0800, Michael Richter wrote: > > And Ruby has no JSON tools? (Hint: yes it does.) Thank you for your sarcasm. That's very helpful. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] ___ foss

Re: [fossil-users] C API

2012-01-07 Thread Michael Richter
On 8 January 2012 10:41, Chad Perrin wrote: > On Sat, Jan 07, 2012 at 03:45:55PM -0500, Richard Hipp wrote: > > What were you hoping to do with a C- or Ruby-API, assuming one existed? > > Well . . . for my current purposes, a C API would give me an easy basis > for building a Ruby API. > > A Ruby

Re: [fossil-users] C API

2012-01-07 Thread Chad Perrin
On Sat, Jan 07, 2012 at 03:45:55PM -0500, Richard Hipp wrote: > What were you hoping to do with a C- or Ruby-API, assuming one existed? Well . . . for my current purposes, a C API would give me an easy basis for building a Ruby API. A Ruby API would allow easier integration with some Ruby-based t

Re: [fossil-users] C API

2012-01-07 Thread sky5walk
Ha, I barely have enough time with my own code. :( Yes, no Stored Procedures, but that's still how I think of fossil and SQLite together without diving under the hood. ;) I should have said "SQLite db with lots of C procedures." Thanks for the edification. On Sat, Jan 7, 2012 at 7:11 PM, Stephan B

Re: [fossil-users] C API

2012-01-07 Thread Stephan Beal
On Sun, Jan 8, 2012 at 12:53 AM, wrote: > Maybe I am being overly simplistic, but I think of fossil as a SQLite > database that has stored procedures. > Wouldn't it be easier to extend fossil's command set to SQLite's? > Yes, that's being over-simplistic :). sqlite3 doesn't support stored proced

Re: [fossil-users] C API

2012-01-07 Thread sky5walk
Maybe I am being overly simplistic, but I think of fossil as a SQLite database that has stored procedures. Wouldn't it be easier to extend fossil's command set to SQLite's? I'm sure the "fossil ui" feature would be a winner in SQLite ;) On Sat, Jan 7, 2012 at 6:41 PM, Stephan Beal wrote: > On Sat

Re: [fossil-users] C API

2012-01-07 Thread Stephan Beal
On Sat, Jan 7, 2012 at 11:55 PM, Chad Perrin wrote: > On Sat, Jan 07, 2012 at 06:50:22PM +0100, Stephan Beal wrote: > ... > > Search the archives for this group for many very long threads on this > > topic. Management Summary: it can't be done without what amounts to a > > complete rewrite, which

Re: [fossil-users] C API

2012-01-07 Thread Chad Perrin
On Sat, Jan 07, 2012 at 06:50:22PM +0100, Stephan Beal wrote: > On Sat, Jan 7, 2012 at 6:43 PM, wrote: > > > > I would love an API or fossil.dll. > > Search the archives for this group for many very long threads on this > topic. Management Summary: it can't be done without what amounts to a > com

Re: [fossil-users] C API

2012-01-07 Thread MIchael L. Barrow
On Sat, 7 Jan 2012 17:20:03 -0500, sky5w...@gmail.com wrote: Yes, I have been reading about the JSON work, but I prefer not to go that route. I'm confused. What would a csv output version offer that the JSON currently does not? -- Michael Barrow michael at barrow dot me +1 (408) 782-4249 ___

Re: [fossil-users] C API

2012-01-07 Thread sky5walk
Yes, I have been reading about the JSON work, but I prefer not to go that route. Personally, I want to automate only the steps I use for my projects. Check in/Check out, Merge, Compare, Commit, Inspect Leaves, etc. I have no desire to make a grandiose do everything GUI and I tire of using/rememberi

Re: [fossil-users] C API

2012-01-07 Thread Richard Hipp
What were you hoping to do with a C- or Ruby-API, assuming one existed? On Fri, Jan 6, 2012 at 6:20 PM, Chad Perrin wrote: > On Fri, Jan 06, 2012 at 11:52:51PM +0100, Stephan Beal wrote: > > On Fri, Jan 6, 2012 at 11:50 PM, Chad Perrin wrote: > > > > > Is there a C API for Fossil? I haven't fo

Re: [fossil-users] C API

2012-01-07 Thread Thomas Stover
How about a SOAP or "REST" full api in the web interface? ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] C API

2012-01-07 Thread Stephan Beal
On Sat, Jan 7, 2012 at 6:43 PM, wrote: > I would love an API or fossil.dll. > Search the archives for this group for many very long threads on this topic. Management Summary: it can't be done without what amounts to a complete rewrite, which would be a huge amount of work requiring a good deal o

Re: [fossil-users] C API

2012-01-07 Thread sky5walk
I would love an API or fossil.dll. It's been mentioned many times that fossil.exe outputs are not standardized and require text parsing to differentiate the results. On Fri, Jan 6, 2012 at 6:20 PM, Chad Perrin wrote: > On Fri, Jan 06, 2012 at 11:52:51PM +0100, Stephan Beal wrote: >> On Fri, Jan

Re: [fossil-users] C API

2012-01-06 Thread Chad Perrin
On Fri, Jan 06, 2012 at 11:52:51PM +0100, Stephan Beal wrote: > On Fri, Jan 6, 2012 at 11:50 PM, Chad Perrin wrote: > > > Is there a C API for Fossil? I haven't found one yet. . . . > > > There's no library-level API, no - it's a monolithic application. What is > it you're trying/wanting to do

Re: [fossil-users] C API

2012-01-06 Thread Stephan Beal
On Fri, Jan 6, 2012 at 11:50 PM, Chad Perrin wrote: > Is there a C API for Fossil? I haven't found one yet. . . . There's no library-level API, no - it's a monolithic application. What is it you're trying/wanting to do, and maybe we can suggest an approach? -- - stephan beal http://wande