1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
+
|
<h1>Fossil Cookbook</h1>
The <cite>Fossil</cite> Cookbook is a collection of task-oriented instructions for intermediate users who wish to do more than basic operations with their <cite>Fossil</cite> repositories. The [Tutorial|tutorial] is a more suitable place for newcomers trying to learn the basic concepts to go first before tackling these recipes.
<h2>Index</h2>
<ul>
<li> Server recipes:
<ul>
<li> <a href="#CGI">Using <cite>Fossil</cite>'s Built-In CGI</a>
</ul>
<li> <a href="#env">Using Environment variables</a>
<li> <a href="#css">Example CSS</a>
<li> <a href="#source-hilight">Source highlighting</a>
<li> <a href="#win32dev">Fossil Win32 Development Machine setup</a>
</ul>
<h2><a name="CGI">Using <cite>Fossil</cite>'s Built-In CGI</a></h2>
<h3>Motivation</h3>
* You want to share a repository through your existing web infrastructure.
* You want to share more than one repository at the same time.
|
502
503
504
505
506
507
508
|
503
504
505
506
507
508
509
510
511
512
513
514
515
516
|
+
+
+
+
+
+
+
|
@ </pre>
</pre>
</p>
<h3>Discussion</h3>
The Javascript solution requires a minimum to be fully supported by Fossil. Of course my litte change only applies for C/C++ files. But only little more work needs to be done to get the extension of the file a guess the file type.
The pipe solution would also be nice but would probably need some more work than this little patch.
<h3> <a name="win32dev">How to prepare your Windows XP Fossil development Environment</h3>
<h4>Setup MinGW</h4>
<h4>Getting NSIS Windows packaging tool </h4>
<h4>Getting Fossil source code</h4>
<h4>Build the code with Makefile.win32 </h4>
|