Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Key the cached scan on every setting it uses
Two cgitrc files sharing a cache-root read one list, so strict-export
and trust-scan-config set in one applied to the other, and a changed
setting stayed stale until the list expired. The first request after
an upgrade scans again, and the files under the old names are never
read.
Diffstat (limited to 'MANUAL.txt')
| -rw-r--r-- | MANUAL.txt | 8 |
1 file changed, 5 insertions, 3 deletions
@@ -466,9 +466,11 @@ scan-hidden-path:: scan-path:: A path which is scanned for repositories. If caching is enabled, the - result is cached as a cgitrc include-file in the cache directory. If - project-list has been defined prior to scan-path, scan-path loads only - the directories listed in the file pointed to by project-list. A + result is cached as a cgitrc include-file in the cache directory, under + a name drawn from the path and every setting the scan depends on, so + configs that would scan differently never share one. If project-list + has been defined prior to scan-path, scan-path loads only the + directories listed in the file pointed to by project-list. A repository containing a file named "noweb" is skipped, the reverse of what "strict-export" checks. Only the global settings taken before the scan-path directive apply to each repository. That holds for every |
