Re: [fossil-users] Running script on push

2014-06-12 Thread Abilio Marques
Ran it like this: fossil test-th-eval "set th1-uri-regexp \.\* ; http https://localhost:8085"; still nothing... 2014-06-12 8:45 GMT-04:30 Jan Nijtmans : > 2014-06-12 14:56 GMT+02:00 Abilio Marques : > > About the regexp setting, tried: > > > > set th1-uri-regexp ".*" > > http -asynchronous http

Re: [fossil-users] Running script on push

2014-06-12 Thread Jan Nijtmans
2014-06-12 14:56 GMT+02:00 Abilio Marques : > About the regexp setting, tried: > > set th1-uri-regexp ".*" > http -asynchronous http://localhost:8085 > fossil settings th1-uri-regexp \.\*(on UNIX) or fossil settings th1-uri-regexp ;.*(on Windows) (the ';' on Windows is just

Re: [fossil-users] Running script on push

2014-06-12 Thread Abilio Marques
About the regexp setting, tried: set th1-uri-regexp ".*" http -asynchronous http://localhost:8085 With and without quote marks, didn't work. I ran it from the command line, and it still says: url not allowed... hints? 2014-06-12 8:12 GMT-04:30 Abilio Marques : > While looking for hooks history

Re: [fossil-users] Running script on push

2014-06-12 Thread Abilio Marques
While looking for hooks history in Fossil (as Ron Wilson said I wasn't the first) I came into this: http://lists.fossil-scm.org:8080/pipermail/fossil-users/2011-January/003921.html Where D. Richard Hipp said that: ...But in order to implement this different mechanism, I need example C code for l

Re: [fossil-users] Running script on push

2014-06-12 Thread Jan Nijtmans
2014-06-12 13:32 GMT+02:00 Abilio Marques : > trying to run this from command line: > > fossil test-th-eval 'http "http://localhost:8085/test?a=1"; > fossil test-th-eval 'http "http://localhost:8085/test"; > fossil test-th-eval 'http "http://localhost:8085/"; > fossil test-th-eval 'http "http://www

Re: [fossil-users] Running script on push

2014-06-12 Thread Abilio Marques
trying to run this from command line: fossil test-th-eval 'http "http://localhost:8085/test?a=1"; fossil test-th-eval 'http "http://localhost:8085/test"; fossil test-th-eval 'http "http://localhost:8085/"; fossil test-th-eval 'http "http://www.google.com"; While on the other side I keep a nc -klv

Re: [fossil-users] Running script on push

2014-05-28 Thread Ron Wilson
On Tue, May 27, 2014 at 8:34 AM, Abilio Marques wrote: > I was looking for an easier path. My set of tests can be run from command > line, and I really like shell scripting, so I was wondering, does fossil > has a trigger mechanism (on commit / push) run this command? > > Do you see any utility on

Re: [fossil-users] Running script on push

2014-05-27 Thread Andy Bradford
Thus said Abilio Marques on Tue, 27 May 2014 08:45:08 -0430: > I see there is a way to run a TH1 script. But as far as I see the th1 > documentation, I can't find a way to invoke a shell script out of it. > Any ideas??? Not sure if this is the best way, but while I was poking around in the TH

Re: [fossil-users] Running script on push

2014-05-27 Thread Abilio Marques
I see there is a way to run a TH1 script. But as far as I see the th1 documentation, I can't find a way to invoke a shell script out of it. Any ideas??? 2014-05-27 8:04 GMT-04:30 Abilio Marques : > Hi, > > Nowadays tools like Jenkins can run tests on triggers (or hooks), and it > works wonderful

[fossil-users] Running script on push

2014-05-27 Thread Abilio Marques
Hi, Nowadays tools like Jenkins can run tests on triggers (or hooks), and it works wonderful. But Jenkins is overkilling (Java based :s) to be a match to the tiny but powerful and agile fossil. Even when this fellow ronperrela did a nice job integrating Jenkins: http://ronperrella.blogspot.com/20