aboutsummaryrefslogtreecommitdiff
path: root/GitServer.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-17 01:18:18 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-17 01:18:18 +0200
commit8b5fa7aba9865983e5a2961e37990bb3a6cd4a73 (patch)
tree2f7013a21393c9d646d01c948d5b0fe1563fced5 /GitServer.wiki
parentmån 17 okt 2022 01:18:15 CEST (diff)
parentsön 16 okt 2022 00:52:55 CEST (diff)
downloadwiki-public-8b5fa7aba9865983e5a2961e37990bb3a6cd4a73.tar.gz
wiki-public-8b5fa7aba9865983e5a2961e37990bb3a6cd4a73.tar.xz
Merge branch 'master' of git.hornquist.se:git/wiki-public
Diffstat (limited to 'GitServer.wiki')
-rw-r--r--GitServer.wiki33
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 ?