19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
+
+
+
+
+
+
+
+
+
+
+
|
Controls the icon and description shown on the landing page. Two lines — emoji icon, then description:
```bash
printf '🚀\nShort description of the project' > /var/fossil/repos/<name>.meta
```
If no `.meta` file exists, the repo will appear with a `📦` icon and no description.
Optional lines 3 and 4 set the public access policy: line 3 is the Fossil capability string for `nobody` (not logged in), line 4 for `anonymous` (defaults to line 3). The default is `jh` (wiki read only). Example for a repo with a public, moderated forum:
```
🪨
Fossil's formats and sync protocol, reimplemented in Zig
ghoj2
ghoj23
```
`2` lets visitors read the forum, `3` lets anonymous users post with their posts held for moderation. The `.meta` files are versioned in the fossil-skin repo under `repos/`; edit them there and deploy, rather than only on the server.
## 4. Run apply.py
Skins the repo, sets public access policy (wiki-only), and regenerates the landing page:
```bash
python3 /var/fossil/skin/apply.py
|