commit e3da4e15dfa82d1ee06bcda61c6cf8f777c99215 from: Flan Hacker date: Thu Feb 19 12:15:31 2026 UTC Update examples to use new example repositories commit - 8a3bec876f7ac9265b1a706b2c507fa8e4d0a7f1 commit + e3da4e15dfa82d1ee06bcda61c6cf8f777c99215 blob - 8c6639c6de1f189a08992fe74056df8671749ff5 blob + a6f983fd2c87c891b212f3f82f99a1fb4aeac6bb --- index.html +++ index.html @@ -93,27 +93,34 @@ repositories:

-    repository "public_repo_a" {
+    repository "vmm_clock" {
       permit rw flan_hacker
+      head master
     }
-    repository "public_repo_b" {
+    repository "virtio_vmmci" {
       permit rw flan_hacker
       permit ro anonymous
+      head master
     }
-    repository "private_repo_c" {
+    repository "private_repo" {
       permit rw flan_hacker
     }
     

Just like with the gotsys repository, three new repositories are declared that can be read and written to by the flan_hacker user. - The repository public_repo_b also allows the anonymous + The repository virtio_vmmci also allows the anonymous user to clone it, but not to send new changes to it, as it is declared with the ro mode (read-only). Repositories that are readable by the anonymous user will include a clone url in the summary of the repository when browsing it with a web browser.

+ The head directive is used for both public repos to point the + repository's symbolic HEAD reference at the master branch, which + would otherwise point to the default main branch. +

+

It is worth noting that there is currently no way to rename or delete repositories via gotsys.conf(5). @@ -231,10 +238,10 @@ site owner "Vmm Hacker" permit anonymous hide repositories on - repository "public_repo_a" { + repository "vmm_clock" { hide repository off } - repository "public_repo_b" { + repository "virtio_vmmci" { hide repository off } } @@ -248,7 +255,7 @@ site owner "Vmm Hacker" permit anonymous hide repositories off - repository "private_repo_c" { + repository "private_repo" { hide repository on } }