summaryrefslogtreecommitdiff
path: root/man/github-mirror.conf.5
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2025-06-12 02:00:41 -0700
committerGravatar GitHub <noreply@github.com> 2025-06-12 02:00:41 -0700
commit3d622e45b0556a9976ed2cf767135e5a83c3cf36 (patch)
tree62e0c0d8332be6fa109046145c1bea540ab18093 /man/github-mirror.conf.5
parentc9adb09abc626cdcc35c345a635ad8c163fcff3e (diff)
parent4f61f53db302d7c9526fb4a28c4fc4f961c81560 (diff)
downloadgithub-mirror-3d622e45b0556a9976ed2cf767135e5a83c3cf36.tar.gz
github-mirror-3d622e45b0556a9976ed2cf767135e5a83c3cf36.tar.zst
github-mirror-3d622e45b0556a9976ed2cf767135e5a83c3cf36.zip
Merge pull request #3 from ansg191/srht
Diffstat (limited to 'man/github-mirror.conf.5')
-rw-r--r--man/github-mirror.conf.523
1 files changed, 23 insertions, 0 deletions
diff --git a/man/github-mirror.conf.5 b/man/github-mirror.conf.5
index 9900ab9..f610857 100644
--- a/man/github-mirror.conf.5
+++ b/man/github-mirror.conf.5
@@ -65,6 +65,29 @@ The default is false.
.El
.Pp
+The options in the srht section (repeatable) are:
+.Bl -tag -width -indent
+
+.It Cm endpoint
+The SourceHut GraphQL API endpoint to use. The default is
+.Lk https://git.sr.ht/graphql
+
+.It Cm token
+The SourceHut API token to use. Required.
+
+This can either be a literal token or a path to a file containing the token.
+
+.It Cm user_agent
+The User-Agent string to use. The default is
+.Dq Cm github-mirror/VERSION
+where VERSION is the version of the program.
+
+.It Cm owner
+The owner of the repository to mirror. Required.
+
+.El
+
+.Pp
The options in the git section (not repeatable) are:
.Bl -tag -width -indent