From 135fd601662c85463911ecda1be90d94c141b940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 12 Oct 2022 16:27:03 +0200 Subject: ons 12 okt 2022 16:27:03 CEST --- .vimwiki_tags | 4 ++-- GitServer.wiki | 33 +++++++++++++++++++++++++++++++++ 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= +/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 ? -- cgit v1.2.3