diff options
Diffstat (limited to '')
-rw-r--r-- | GitServer.wiki | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/GitServer.wiki b/GitServer.wiki index d4fe3fb..165fd9d 100644 --- a/GitServer.wiki +++ b/GitServer.wiki @@ -23,6 +23,10 @@ - [[#Hooks#Sample run of post-receive#Default config#reddit-parenthesis-bot|reddit-parenthesis-bot]] - [[#Hooks#Sample run of post-receive#Default config#cgit|cgit]] - [[#Hooks#Sample run of post-receive#Default config#guile-cairo|guile-cairo]] + - [[#Hooks#Publish|Publish]] + - [[#Hooks#Publish#in repo, for `/.githooks/${hookname}.d}/*.publish`|in repo, for `/.githooks/${hookname}.d}/*.publish`]] + - [[#Hooks#Publish#config|config]] + - [[#Hooks#Publish#publish|publish]] = Git Server = https://git.hornquist.se @@ -188,3 +192,32 @@ DBUS_SESSION_BUS_ADDRESS 'unix:path=/run/user/1001/bus' [remote "upstream"] url = git://git.savannah.nongnu.org/guile-cairo.git fetch = `+refs/heads/*:refs/remotes/upstream/*` + +== Publish == + +githooks.hornquist.se? + +https://git.hornquist.se/githooks/ +⇒ https://githooks.hornquist.se/githooks/ + +/githooks/commit/?id=<hash> +/calp/tag/?h=v0.5.9 + +=== in repo, for `/.githooks/${hookname}.d}/*.publish` === +Setup containerized environment? + + +=== config === +if `githooks.checkout = true` +end + + +env +GIT_SOURCE_URL=https://git.hornquist.se/githooks/tree/${filename} +GIT_REPO_DIR=${repo_dir} +TARGET_DIRECTORY=${target_directory} +PUBLISH=${target_directory}/file-to-publish + +=== publish === +{{{ +find -t file ? |