aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-12 16:27:03 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-12 16:27:03 +0200
commit135fd601662c85463911ecda1be90d94c141b940 (patch)
tree8cf68bfeceafe4c9b9d344e9e29bbe4a7d7e2864
parentons 12 okt 2022 15:25:05 CEST (diff)
downloadwiki-public-135fd601662c85463911ecda1be90d94c141b940.tar.gz
wiki-public-135fd601662c85463911ecda1be90d94c141b940.tar.xz
ons 12 okt 2022 16:27:03 CEST
-rw-r--r--.vimwiki_tags4
-rw-r--r--GitServer.wiki33
2 files changed, 35 insertions, 2 deletions
diff --git a/.vimwiki_tags b/.vimwiki_tags
index fc053d4..dde8012 100644
--- a/.vimwiki_tags
+++ b/.vimwiki_tags
@@ -5,5 +5,5 @@
!_TAG_PROGRAM_NAME Vimwiki Tags
!_TAG_PROGRAM_URL https://github.com/vimwiki/vimwiki
!_TAG_PROGRAM_VERSION 2.5
-TODO GitServer.wiki 49;" vimwiki:GitServer\tGitServer#Git Server#Autentisering#Autentisering SSH#Problem
-TODO GitServer.wiki 92;" vimwiki:GitServer\tGitServer#Taggning#Cleanup
+TODO GitServer.wiki 53;" vimwiki:GitServer\tGitServer#Git Server#Autentisering#Autentisering SSH#Problem
+TODO GitServer.wiki 96;" vimwiki:GitServer\tGitServer#Taggning#Cleanup
diff --git a/GitServer.wiki b/GitServer.wiki
index c150e6c..c170fbc 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 ?