Fossil

Check-in [1f184d0e82]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:In the Windows server document, provide a command to get the temporary path location as used by Fossil.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1f184d0e82da4c56b5e5f475346dd4f07994895e3cb83fc74e344fddb9497672
User & Date: danield 2023-03-10 23:06:10.840
Context
2023-03-11
11:05
Add a 'Max' field to the forum thread list, analog to the one in /timeline, and remember that value as part of the display prefs cookie. Per request in [forum:113ee6f241b84403|forum post 113ee6f241b84403]. check-in: 2ee93fc0c5 user: stephan tags: trunk
2023-03-10
23:06
In the Windows server document, provide a command to get the temporary path location as used by Fossil. check-in: 1f184d0e82 user: danield tags: trunk
19:48
Revise "Fossil as a Windows Service" page to provide tip on avoiding poor interaction with virsus scanning. check-in: 6b43913e67 user: larrybr tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/file.c.
57
58
59
60
61
62
63

64
65
66
67
68
69
70
**                the target pathname of the symbolic link.
**
**   RepoFILE     Like SymFILE if allow-symlinks is true, or like
**                ExtFILE if allow-symlinks is false.  In other words,
**                symbolic links are only recognized as something different
**                from files or directories if allow-symlinks is true.
*/

#define ExtFILE    0  /* Always follow symlinks */
#define RepoFILE   1  /* Follow symlinks if and only if allow-symlinks is OFF */
#define SymFILE    2  /* Never follow symlinks */

#include <dirent.h>
#if defined(_WIN32)
# define DIR _WDIR







>







57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
**                the target pathname of the symbolic link.
**
**   RepoFILE     Like SymFILE if allow-symlinks is true, or like
**                ExtFILE if allow-symlinks is false.  In other words,
**                symbolic links are only recognized as something different
**                from files or directories if allow-symlinks is true.
*/
#include <stdlib.h>
#define ExtFILE    0  /* Always follow symlinks */
#define RepoFILE   1  /* Follow symlinks if and only if allow-symlinks is OFF */
#define SymFILE    2  /* Never follow symlinks */

#include <dirent.h>
#if defined(_WIN32)
# define DIR _WDIR
Changes to www/server/windows/service.md.
50
51
52
53
54
55
56
57

58
59
60
61
62
63
64
65
66

### Choice of Directory Considerations

When the Fossil server will be used at times that files may be locked
during virus scanning, it is prudent to arrange that its directory used
for temporary files is exempted from such scanning. Ordinarily, this
will be a subdirectory named "fossil" in the temporary directory given
by the Windows GetTempDir(...) API. Excluding this subdirectory will

avoid certain rare failures where the fossil.exe process is unable to
use the directory normally during a scan.

### <a id='PowerShell'></a>Advanced service installation using PowerShell

As great as `fossil winsrv` is, it does not have one to one reflection of all of
the `fossil server` [options](/help?cmd=server).  When you need to use some of
the more advanced options, such as `--https`, `--skin`, or `--extroot`, you will
need to use PowerShell to configure and install the Windows service.







|
>
|
|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

### Choice of Directory Considerations

When the Fossil server will be used at times that files may be locked
during virus scanning, it is prudent to arrange that its directory used
for temporary files is exempted from such scanning. Ordinarily, this
will be a subdirectory named "fossil" in the temporary directory given
by the Windows GetTempPath(...) API - you can find its value, for example,
by executing `[System.IO.Path]::GetTempPath()` in a Powershell console.
Excluding this subdirectory will avoid certain rare failures where the
fossil.exe process is unable to use the directory normally during a scan.

### <a id='PowerShell'></a>Advanced service installation using PowerShell

As great as `fossil winsrv` is, it does not have one to one reflection of all of
the `fossil server` [options](/help?cmd=server).  When you need to use some of
the more advanced options, such as `--https`, `--skin`, or `--extroot`, you will
need to use PowerShell to configure and install the Windows service.