From 03bfdc197d7f8602d5dd42c121bfc1a442595379 Mon Sep 17 00:00:00 2001 From: Andreas Wachter Date: Thu, 17 Aug 2023 08:32:45 +0200 Subject: [PATCH] update example and readme --- README.md | 3 +++ conf.example.yml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc26d2d..1b38fef 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,12 @@ You can clone/mirror repositories from: - Any You can clone/mirror them to: +- Github - Gitlab - Gitea - Gogs +- OneDev +- Sourcehut - Local [Official Documentation](https://cooperspencer.github.io/gickup-documentation/) diff --git a/conf.example.yml b/conf.example.yml index e8c6a95..6fed981 100644 --- a/conf.example.yml +++ b/conf.example.yml @@ -164,7 +164,7 @@ source: lastactivity: 1y # only clone repos which had activity during the last year excludeforks: true # exclude forked repositories sourcehut: - - token: some-token + - token: some-token # as of now only the legacy api works, use the legacy token # token_file: token.txt # alternatively, specify token in a file user: some-user # the user you want to clone the repositories from. url: http(s)://url-to-sourcehut # if empty, it uses https://git.sr.ht @@ -224,7 +224,7 @@ destination: # token_file: token.txt # alternatively, specify token in a file url: http(s)://url-to-onedev sourcehut: - - token: some-token + - token: some-token # as of now only the legacy api works, use the legacy token # token_file: token.txt # alternatively, specify token in a file user: some-name # can be a user or an organization, it must exist on the system sshkey: /path/to/key # if empty, it uses your home directories' .ssh/id_rsa, sourcehut needs ssh to push to the repository