From 8e7e0e9a84d12653f704ce7e203af27400c40634 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 30 Mar 2021 18:46:33 +0000 Subject: [PATCH] README: mention 'LOHR_CONFIG' --- README.org | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 8231f47..ce868c4 100644 --- a/README.org +++ b/README.org @@ -73,8 +73,9 @@ variable. **** Extra remote configuration -=lohr= looks for a =lohr-config.yaml= file in its =LOHR_HOME= directory. This -file takes the following format: +=lohr= looks for a =lohr-config.yaml= file in its =LOHR_HOME= directory. The +=LOHR_CONFIG= variable takes precedence over looking into the state directory. +This file takes the following format: #+begin_src yaml default_remotes: @@ -83,12 +84,18 @@ default_remotes: additional_remotes: - "git@git.sr.ht:~user" + +blacklist: + - "private-.*" #+end_src - ~default_remotes~ is a list of remotes to use if no ~.lohr~ file is found in a repository. - ~additional_remotes~ is a list of remotes to add in any case, whether the original set of remotes is set via ~default_remotes~ or via a =.lohr= file. +- ~blacklist~ is a list of regular expressions to match against the full + repository names. Any that matches will not be mirrored, even if it contains a + `.lohr` file. Both settings take as input a list of "stems", i.e. incomplete remote addresses, to which the repo's name will be appended (so for example, if my