Re: [fossil-users] Versioning without files

2011-01-15 Thread Stephan Beal
On Sat, Jan 15, 2011 at 1:07 PM, David Bovill wrote: > Just a note to say if you are put off by the complex markup in the raw > returned JSON from WikiPedia articles - note that you can also get the api > to parse out the template tags. > > One way to provide this two step process within FOSSIL

Re: [fossil-users] Versioning without files

2011-01-15 Thread David Bovill
Just a note to say if you are put off by the complex markup in the raw returned JSON from WikiPedia articles - note that you can also get the api to parse out the template tags. - http://www.mediawiki.org/wiki/API:Parsing_wikitext One way to provide this two step process within FOSSIL would be

Re: [fossil-users] Versioning without files

2011-01-15 Thread David Bovill
On 15 January 2011 05:00, Stephan Beal wrote: > > If there is an outcry of support for exporting certain fossil data as JSON, > i would ask the group to propose JSON schemas for the relevant areas. (i'm > thinking: timeline, maybe wiki pages... what else?). > In terms of schemas - my starting po

Re: [fossil-users] Versioning without files

2011-01-14 Thread Stephan Beal
On Wed, Jan 12, 2011 at 11:57 AM, Stephan Beal wrote: > On Wed, Jan 12, 2011 at 8:54 AM, David Bovill wrote: > >> On 11 January 2011 21:45, Joerg Sonnenberger wrote: >> >>> There is libmj, which can be found in netpgp. It's less than 20KB in >>> size for both parser and writer. >>> >> ... >> > i

Re: [fossil-users] Versioning without files

2011-01-12 Thread Stephan Beal
On Wed, Jan 12, 2011 at 8:54 AM, David Bovill wrote: > On 11 January 2011 21:45, Joerg Sonnenberger wrote: > >> >> There is libmj, which can be found in netpgp. It's less than 20KB in >> size for both parser and writer. >> > > The parser would be useful as well for serialising multiple requests.

Re: [fossil-users] Versioning without files

2011-01-11 Thread David Bovill
On 11 January 2011 21:45, Joerg Sonnenberger wrote: > > There is libmj, which can be found in netpgp. It's less than 20KB in > size for both parser and writer. > The parser would be useful as well for serialising multiple requests. The web server could then create proper web services which could

Re: [fossil-users] Versioning without files

2011-01-11 Thread Joerg Sonnenberger
On Tue, Jan 11, 2011 at 10:29:59PM +0100, Stephan Beal wrote: > On Tue, Jan 11, 2011 at 9:50 PM, Stephan Beal wrote: > > > My (very) favored option would be an option generate results as JSON, with > > a well-specified grammar depending on the operation. > > > > i would be more than happy to add

Re: [fossil-users] Versioning without files

2011-01-11 Thread Stephan Beal
On Tue, Jan 11, 2011 at 9:50 PM, Stephan Beal wrote: > My (very) favored option would be an option generate results as JSON, with > a well-specified grammar depending on the operation. > i would be more than happy to add such features if we can find/write/agree on a useful JSON library for C (an

Re: [fossil-users] Versioning without files

2011-01-11 Thread Ingo Koch
> On Tue, Jan 11, 2011 at 2:29 PM, Ingo Koch wrote: > >> I'm working on a C# wrapper library around fossil >> and I encountered some commands which require user input. >> > Tell me about these commands when you encounter them and I'll add > command-line options to work around the user input. I

Re: [fossil-users] Versioning without files

2011-01-11 Thread David Bovill
Yeah - JSON would be great. Generally much more useful than XML. It will be the first cli I've seen to output JSON, but it makes a lot of sense. Simple csv is more common, but won't hack it for html chunks. On 11 January 2011 20:50, Stephan Beal wrote: > On Tue, Jan 11, 2011 at 9:26 PM, Richard

Re: [fossil-users] Versioning without files

2011-01-11 Thread Stephan Beal
On Tue, Jan 11, 2011 at 9:26 PM, Richard Hipp wrote: > On Tue, Jan 11, 2011 at 2:29 PM, Ingo Koch wrote: > >> I'm working on a C# wrapper library around fossil >> and I encountered some commands which require user input. >> > > Tell me about these commands when you encounter them and I'll add

Re: [fossil-users] Versioning without files

2011-01-11 Thread Richard Hipp
On Tue, Jan 11, 2011 at 2:29 PM, Ingo Koch wrote: > I'm working on a C# wrapper library around fossil > and I encountered some commands which require user input. > Tell me about these commands when you encounter them and I'll add command-line options to work around the user input. -- D. Ric

Re: [fossil-users] Versioning without files

2011-01-11 Thread Ingo Koch
Am 11.01.2011 18:45, schrieb Stephan Beal: > On Tue, Jan 11, 2011 at 1:44 PM, David Bovill wrote: > >> In my case I'd like to be able to keep track of script elements, handlers, >> functions, methods, classes etc and not the files they happen to be inin >> a db is much the same, but I am wande

Re: [fossil-users] Versioning without files

2011-01-11 Thread David Bovill
On 11 January 2011 17:45, Stephan Beal wrote: > On Tue, Jan 11, 2011 at 1:44 PM, David Bovill wrote: > >> In my case I'd like to be able to keep track of script elements, handlers, >> functions, methods, classes etc and not the files they happen to be inin >> a db is much the same, but I am

Re: [fossil-users] Versioning without files

2011-01-11 Thread Stephan Beal
On Tue, Jan 11, 2011 at 1:44 PM, David Bovill wrote: > In my case I'd like to be able to keep track of script elements, handlers, > functions, methods, classes etc and not the files they happen to be inin > a db is much the same, but I am wandering how I can use the db to store > metadata suc

[fossil-users] Versioning without files

2011-01-11 Thread David Bovill
A question related to my last post is how it may be possible to use / abuse fossil for elements which are essentially not file based - that is because the artefacts are in the db, rather than tied to files. In my case I'd like to be able to keep track of script elements, handlers, functions, metho