On 2012-06-13 19:07, Ron Wilson wrote:
On Thu, Jun 7, 2012 at 5:54 PM, John Found <[email protected]> wrote:
I have one central repository, that I use as an archive for a web site. The web site root directory is actually checkout of the trunk
branch of the repository.
I am using lighttpd server on Linux and fossil as a CGI script in very standard manner. So, I need when I make a push (or commit with autosync) from a remote computer to the central repository, some script  to make "fossil update" to the checkout directory and this way to update the content of the web site.

Is it possible at all? Any Ideas?

Last I knew, the closest Fossil has to hooks is an RSS feed. You can
run a RSS monitor that looks for events of interest, then triggers
actions based on those events.
_______________________________________________
fossil-users mailing list
[email protected]

http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
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 you can save your work from location 1.
Go to location 2 finalize the work and publish then.


--
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to