Skip to content

Commit

Permalink
update example and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperspencer committed Aug 17, 2023
1 parent 4fac811 commit 03bfdc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
4 changes: 2 additions & 2 deletions conf.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 03bfdc1

Please sign in to comment.