Re: [fossil-users] Submitting edits breaks ticket report?

2012-06-14 Thread Chen, Zon
Hi, I've figured out my problem. It was a simple error on my part, my assigned to list has unassigned in lower case, but my new ticket code (and the report) has it as Unassigned with a capital. Once a ticket is edited, the uppercase version is replaced with the lowercase one, and thus it

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Stephan Beal
On Thu, Jun 14, 2012 at 6:27 AM, John Found johnfo...@evrocom.net wrote: - HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 HTTP_HOST=asm32.hopto.org SERVER_PORT=80 removed for

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Richard Hipp
On Thu, Jun 14, 2012 at 12:27 AM, John Found johnfo...@evrocom.net wrote: On Wed, 13 Jun 2012 22:47:26 +0200 Rene renew...@xs4all.nl wrote: You could make a second cgi script that will do a checkout. and after a commit do http://yoursever/checkout.cgi It has the added benefit that

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Stephan Beal
On Thu, Jun 14, 2012 at 12:42 PM, John Found johnfo...@evrocom.net wrote: The script work, in its current state can be seen on: http://asm32.hopto.org/update.cgi What happens if you remove the 'env' line? Also, just for kicks, please try: export GATEWAY_INTERFACE SCRIPT_FILENAME REQUEST_URI

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread John Found
On Thu, 14 Jun 2012 13:14:03 +0200 Stephan Beal sgb...@googlemail.com wrote: What happens if you remove the 'env' line? Also, just for kicks, please try: export GATEWAY_INTERFACE SCRIPT_FILENAME REQUEST_URI HTTP_USER_AGENT REQUEST_METHOD before calling fossil. i don't know off-hand

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Stephan Beal
On Thu, Jun 14, 2012 at 1:42 PM, John Found johnfo...@evrocom.net wrote: The script returns empty (but valid) web page (containing only the echoed HTML tags) in both variants, with or without export command. I made another script for this variant: http://asm32.hopto.org/update_short.cgi

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread John Found
On Thu, 14 Jun 2012 14:49:42 +0200 Stephan Beal sgb...@googlemail.com wrote: And here's a dumb question, but i've had this problem before: on my hoster HTML pages are served as some www-user but CGI apps are run as my account. My point is, the user is not always who we expect and this has

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Stephan Beal
On Thu, Jun 14, 2012 at 3:31 PM, John Found johnfo...@evrocom.net wrote: But I guessed to redirect STDERR to STDOUT and got fossil: not within an open checkout. But PWD returns the proper directory where is the checkout, so the problem is with bash. How to set fossil to run in the current

[fossil-users] Compile Fossil with FTS support

2012-06-14 Thread Baruch Burstein
I tried getting FTS support in the SQLite shell of Fossil. I added the -DSQLITE_ENABLE_FTS3 and -DSQLITE_ENABLE_FTS3_PARENTHESIS flags to the compilation of sqlite3.c in the makefile, but I got an error the 'no such module fts3 '. I then tried adding the flags also to the compilation of shell.c,

Re: [fossil-users] Compile Fossil with FTS support

2012-06-14 Thread Richard Hipp
On Thu, Jun 14, 2012 at 1:41 PM, Baruch Burstein bmburst...@gmail.comwrote: I tried getting FTS support in the SQLite shell of Fossil. I added the -DSQLITE_ENABLE_FTS3 and -DSQLITE_ENABLE_FTS3_PARENTHESIS flags to the compilation of sqlite3.c in the makefile, but I got an error the 'no such

Re: [fossil-users] Compile Fossil with FTS support

2012-06-14 Thread Richard Hipp
On Thu, Jun 14, 2012 at 1:55 PM, Baruch Burstein bmburst...@gmail.comwrote: On Thu, Jun 14, 2012 at 8:48 PM, Richard Hipp d...@sqlite.org wrote: On Thu, Jun 14, 2012 at 1:41 PM, Baruch Burstein bmburst...@gmail.comwrote: I tried getting FTS support in the SQLite shell of Fossil. I added

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Stephan Beal
On Thu, Jun 14, 2012 at 9:42 PM, John Found johnfo...@evrocom.net wrote: On Thu, 14 Jun 2012 20:36:23 +0200 Stephan Beal sgb...@googlemail.com wrote: Looking at your last script, everything looks fine to me. i'm out of ideas :/. And what is really weird, the equivalent windows .cmd file

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Brian Smith
On Thu, Jun 14, 2012 at 12:46 PM, Stephan Beal sgb...@googlemail.comwrote: On Thu, Jun 14, 2012 at 9:42 PM, John Found johnfo...@evrocom.net wrote: On Thu, 14 Jun 2012 20:36:23 +0200 Stephan Beal sgb...@googlemail.com wrote: Looking at your last script, everything looks fine to me. i'm out

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Brian Smith
On Thu, Jun 14, 2012 at 1:55 PM, John Found johnfo...@evrocom.net wrote: On Thu, 14 Jun 2012 13:01:23 -0700 Brian Smith br...@linuxfood.net wrote: If I may chime in - if you do not need the updates to be _instantaneous_ upon push... A cronjob scheduled to run once a minute and simply run

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread John Found
On Thu, 14 Jun 2012 14:42:48 -0700 Brian Smith br...@linuxfood.net wrote: I had success with this line to execute fossil: /usr/bin/env -i HOME=$(pwd) /usr/local/bin/fossil ls 21 It runs fossil with the same success as the simple fossil ls --nocgi - not within an open checkout 4) env -i

[fossil-users] URL recognition fails with unknown protocols?

2012-06-14 Thread Julian Fagir
Hi, a friend just tried to edit a wiki page, and add a link to an IRC server (most recent browsers can handle this). This means, the URL specified was irc://servername.tld. But then, if you try [irc://servername.tld|#channel] as a link in the wiki, this will be treated as a wiki subpage, i.e.

Re: [fossil-users] Update of checkout after push operations.

2012-06-14 Thread Brian Smith
On Thu, Jun 14, 2012 at 3:06 PM, John Found johnfo...@evrocom.net wrote: On Thu, 14 Jun 2012 14:42:48 -0700 Brian Smith br...@linuxfood.net wrote: I had success with this line to execute fossil: /usr/bin/env -i HOME=$(pwd) /usr/local/bin/fossil ls 21 It runs fossil with the same success

Re: [fossil-users] SOLVED Update of checkout after push operations.

2012-06-14 Thread John Found
On Thu, 14 Jun 2012 15:43:52 -0700 Brian Smith br...@linuxfood.net wrote: - What does `whoami` report?  Can that user read/write everything necessary? That is: _FOSSIL_, the checkout directory, all the files in that directory, the directory containing the actual repository (usually named