Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 3:25 AM, Aaron W.Hsu arcf...@sacrideo.us wrote: I’ve so far managed to avoid using the feature myself, but I have been on teams where people tried to use this to some effect, and unfortunately, the interfaces always seemed to scale very poorly. That’s not to say that

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 4:30 AM, Joseph R. Justice jayare...@gmail.comwrote: ...Some random thoughts on Fossil v2 as a library (call it libfossil2) and as a default client / server binary which makes use of the library (call it fossil2client or fossil2scm, I seem to have used both names),

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread j. van den hoff
On Tue, 23 Jul 2013 10:29:36 +0200, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jul 23, 2013 at 3:25 AM, Aaron W.Hsu arcf...@sacrideo.us wrote: I’ve so far managed to avoid using the feature myself, but I have been on teams where people tried to use this to some effect, and

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Konstantin Khomoutov
On Tue, 23 Jul 2013 11:03:09 +0200 j. van den hoff veedeeh...@googlemail.com wrote: [...] While the Lua scripting enabled me to gain a level of sophistication and relative rigor in the process more than what I could get from normal UNIX plumbing, if my project wasn’t in Lua in the first

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread j. van den hoff
On Tue, 23 Jul 2013 11:29:32 +0200, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Tue, 23 Jul 2013 11:03:09 +0200 j. van den hoff veedeeh...@googlemail.com wrote: [...] While the Lua scripting enabled me to gain a level of sophistication and relative rigor in the process

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Laurens Van Houtven
Hi, Not aimed at anyone in particular, but if you are going to suggest a particular language, can you please point to an interpreter that is easily embeddable into fossil? That seems to be the problem with at least JS and Python, and seems to be Lua's strong point. There's no point in discussing

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 12:51 PM, Laurens Van Houtven _...@lvh.io wrote: Not aimed at anyone in particular, but if you are going to suggest a particular language, can you please point to an interpreter that is easily embeddable into fossil? That seems to be the problem with at least JS and

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Eduardo Morras
On Mon, 22 Jul 2013 13:36:37 +0200 Stephan Beal sgb...@googlemail.com wrote: On Mon, Jul 22, 2013 at 1:30 PM, Eduardo Morras emorr...@yahoo.es wrote: Xcb uses an async mechanism, it creates a cookie, sends it and data to the external code, keep working. External code calls xcb, sends the

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 1:04 PM, Eduardo Morras emorr...@yahoo.es wrote: Yes it is. There's a big difference between Project and Repository. There's the fossil project, only one, but there are lots of repositories and fossil project forks that aren't the main 'Fossil Project'. I don't want to

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Eduardo Morras
On Tue, 23 Jul 2013 13:17:47 +0200 Stephan Beal sgb...@googlemail.com wrote: On Tue, Jul 23, 2013 at 1:04 PM, Eduardo Morras emorr...@yahoo.es wrote: Yes it is. There's a big difference between Project and Repository. There's the fossil project, only one, but there are lots of repositories

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 7:57 PM, Aaron W.Hsu arcf...@sacrideo.us wrote: With regards to scripting and fossil as a separate library, I actually see these as separate things. Having Fossil as a separate library allows other programs to use fossil capabilities, while any scripting interface, such

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 8:20 PM, Stephan Beal sgb...@googlemail.com wrote: Yes, there has been some confusion about the whole which scripting language? topic. The fact is, once we have a library, anyone can tie any amendment... scripting, to me, is important mainly because it provides an

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Aaron W . Hsu
Dear Stephan: Thanks for the response. I think I’m a little confused about what the intended use cases for a scripting language are? When I think of scripting the Fossil SCM I’m envisioning like post and pre-commit hooks, or adding support for a different sort of Wiki format, or integrating a

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 8:28 PM, Aaron W.Hsu arcf...@sacrideo.us wrote: Thanks for the response. I think I’m a little confused about what the intended use cases for a scripting language are? Scriptability, more than anything, is simply a benchmark which says, this app is extensible.

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Aaron W . Hsu
Dear Stephan: Thanks for your explanation. I, of course, agree that there are plenty of interesting benefits that one gains from having a fossil(3) in addition to a fossil(1). On the other hand, my initial email and my comments have nothing to do with a fossil(3) interface. What I’ve been

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 9:07 PM, Aaron W.Hsu arcf...@sacrideo.us wrote: distinguish these use cases and the technical solutions that present themselves for these cases. Everything you’ve mentioned in your previous email related directly to how one might have access to fossil within another

Re: [fossil-users] Any objections to renaming /stats_report...

2013-07-23 Thread Stephan Beal
On Sun, Jul 21, 2013 at 7:49 PM, Richard Hipp d...@sqlite.org wrote: On Sun, Jul 21, 2013 at 11:42 AM, Stephan Beal sgb...@googlemail.comwrote: ... to /reports? the name /stats_report just seems cumbersome to me. I have no objections. I suggest you want a few days and if you get no

Re: [fossil-users] Any objections to renaming /stats_report...

2013-07-23 Thread B Harder
I personally have no objections, but as a matter of business and visibility, perhaps do final last call for objections/alternatives! on a business day. On Jul 23, 2013 12:59 PM, Stephan Beal sgb...@googlemail.com wrote: On Sun, Jul 21, 2013 at 7:49 PM, Richard Hipp d...@sqlite.org wrote: On

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Matt Welland
Here are a couple features that would make fossil a reasonable replacement for zim wiki and might be worth considering for fossil2.0. 1. Ability to Edit/save/commit files from the UI. 2. In wiki files square brackets at beginning of line parse into check box list (as is done in zim wiki). On

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Mark Janssen
Bit late to the party, but my 2 cents 1) Fossil as a library or API with the fossil executable as a single file built on top of it. One could even consider a SCGI/FCGI type of interface where the fossil binary serves JSON+BSON requests. 2) Ticket notifications by email (notification when merged

[fossil-users] mingw and default ssh command

2013-07-23 Thread Martin Gagnon
Hi all, I've notice that here: http://fossil-scm.org/index.html/artifact/111c393f1bb93a3585078d5ee23e0b3ecc1408fe?ln=97,101 the -e none argument to ssh is removed when __MINGW32__ is defined. Is there a reason for that ? On my windows setup, I have mingw and I use openssh that come with msys.

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Leo Razoumov
On Tue, Jul 23, 2013 at 5:29 AM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: [...] But please don't also miss out a first-hand experience of someone who implemented a well-visible program centered around Lua: [1], [2]. Personally, I find that minimality (of the runtime) is the

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Ron Wilson
On Tue, Jul 23, 2013 at 4:29 AM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jul 23, 2013 at 3:25 AM, Aaron W.Hsu arcf...@sacrideo.us wrote: When fossil runs, it can dynamically link in any of the shared objects that it finds there, and these can register additional functionality with

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread B Harder
I think these things support each other. Specifically, with respect to Tcl (and likely Guile, Lua), scripting support can come by embedding the Tcl interpreter inside the app (ie: the standalone fossil executable), by linking libtcl with fossil, and having fossil call into it appropriately.

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Aaron W . Hsu
Dear Stephan: Here’s my attempt to define and clearly distinguish the various parts of this discussion into a piece that might be useful for talking about these things in the future. In my opinion, there are a few mutually orthogonal things to think about: The fossil API itself, which is

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 10:35 PM, Matt Welland estifo...@gmail.com wrote: Here are a couple features that would make fossil a reasonable replacement for zim wiki and might be worth considering for fossil2.0. 1. Ability to Edit/save/commit files from the UI. That one's been on my TODO for a

Re: [fossil-users] Random thoughts on Fossil v2

2013-07-23 Thread Stephan Beal
On Tue, Jul 23, 2013 at 10:42 PM, Mark Janssen mpc.jans...@gmail.comwrote: Bit late to the party, but my 2 cents Not late at all - the ball's just getting rolling. 1) Fossil as a library or API with the fossil executable as a single file built on top of it. One could even consider a

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Wed, Jul 24, 2013 at 12:12 AM, Ron Wilson ronw.m...@gmail.com wrote: Seems to me it would act like a static binary unless requested to load one or more shared libraries, only calling whatever hook services are registered by the shared libraries. If no libraries are loaded, then the binary

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Wed, Jul 24, 2013 at 1:32 AM, B Harder brad.har...@gmail.com wrote: The first example would be Fossil with hooks, while the second would be full scripting environment drives the operation, with full access to fossil routines. I'm personally more interested in the second.To my senses, it's

Re: [fossil-users] mingw and default ssh command

2013-07-23 Thread Andy Bradford
Thus said Martin Gagnon on Tue, 23 Jul 2013 16:57:46 -0400: the -e none argument to ssh is removed when __MINGW32__ is defined. Is there a reason for that ? On my windows setup, I have mingw and I use openssh that come with msys. I'm not sure why it would be this way. If all versions of

Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Stephan Beal
On Wed, Jul 24, 2013 at 1:55 AM, Aaron W.Hsu arcf...@sacrideo.us wrote: against a fossil(3) library. This functionality can therefore be provided by the fossil(1) executable program as well as from a separate shared object against which the fossil(1) program links. Right - that's just a

[fossil-users] admin pages are empty and have bad titles

2013-07-23 Thread Eric Rubin-Smith
I've started a fossil repo by importing a git repo to my local laptop, and then cloning the repo over to my target production web server. For testing, I've exposed the fossil server like this: /usr/local/bin/fossil server /home/fossil/myrepo.fossil --th-trace -P 10080 --baseurl

Re: [fossil-users] admin pages are empty and have bad titles

2013-07-23 Thread Andy Bradford
Thus said Eric Rubin-Smith on Tue, 23 Jul 2013 22:02:11 -0400: /usr/local/bin/fossil server /home/fossil/myrepo.fossil --th-trace -P 10080 --baseurl http://localhost:10080/ Try removing the --baseurl option. It works for me when I do: fossil server /tmp/test.fossil ssh -L

Re: [fossil-users] admin pages are empty and have bad titles

2013-07-23 Thread Andy Bradford
Thus said Andy Bradford on 23 Jul 2013 20:22:37 -0600: fossil server /tmp/test.fossil Of course I meant: fossil server -P 10080 /tmp/test.fossil ssh -L 10080:localhost:10080 remote Cheers, Andy -- TAI64 timestamp: 400051ef3c17 ___

Re: [fossil-users] admin pages are empty and have bad titles

2013-07-23 Thread Eric Rubin-Smith
Yes, that works for the test case. But I think I'll need --baseurl for when I put fossil behind an SSL-terminating reverse proxy and want to access it using the company FQDN. On Tue, Jul 23, 2013 at 10:22 PM, Andy Bradford amb-sendok-1377224557.emjjjkijcgiknbipb...@bradfords.org wrote: Thus

[fossil-users] v2 hello, world app

2013-07-23 Thread Stephan Beal
i know you guys are probably sick of hearing about the hypothetical v2 by now, but i haven't slept and need an outlet ;). A brief demo of all [two] currently working v2 features can be seen here: http://fossil.wanderinghorse.net/repos/f2/index.cgi/wiki?name=home It can open _and_ close an