From 0db31256012e797650792141f5f61bbe4a555fe2 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 29 Mar 2021 23:10:52 +0200 Subject: [PATCH 1/2] README: adjust indentation --- README.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 6d38988..627a52b 100644 --- a/README.org +++ b/README.org @@ -9,19 +9,19 @@ GitLab, for backup and visibility purposes. GitLab has a mirroring setting, but it doesn't allow for multiple mirrors, as far as I know. I also wanted my instance to be the single source of truth. -* How it works +** How it works Gitea is setup to send webhooks to my =lohr= server on every push update. When =lohr= receives a push, it clones the concerned repository, or updates it if already cloned. Then it pushes the update to *all remotes listed* in the [[file:.lohr][.lohr]] file at the repo root. -** Destructive +*** Destructive This is a very destructive process: anything removed from the single source of truth is effectively removed from any mirror as well. -* Why lohr? +** Why lohr? I was looking for a cool name, and thought about the Magic Mirror in Snow White. Some *[[https://en.wikipedia.org/wiki/Magic_Mirror_(Snow_White)][furious wikipedia searching]]* later, I found that the Magic Mirror was From 9b8668138a0b50cd6260983956704bd833d092a2 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 29 Mar 2021 23:11:13 +0200 Subject: [PATCH 2/2] README: add contributing guidelines --- README.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.org b/README.org index 627a52b..eda3e36 100644 --- a/README.org +++ b/README.org @@ -21,6 +21,11 @@ file at the repo root. This is a very destructive process: anything removed from the single source of truth is effectively removed from any mirror as well. +** Contributing + +I accept patches anywhere! Feel free to [[https://github.com/alarsyo/lohr/pulls][open a GitHub Pull Request]], [[https://gitlab.com/alarsyo/lohr/-/merge_requests][a GitLab +Merge Request]], or [[https://lists.sr.ht/~alarsyo/lohr-dev][send me a patch by email]]! + ** Why lohr? I was looking for a cool name, and thought about the Magic Mirror in Snow White.