Gogs
config
destination:
gogs:
- token: some-token
token_file: token.txt
user: some-name
url: http(s)://url-to-gogs
createorg: true
mirror:
enabled: false
visibility:
repositories: private
force: true
token: your gogs token.token_file: alternatively, specify the token in a file, relative to current working directory when executed.url: there is no default value.user: the user/org you want to mirror the repositories to.createorg: if activated, it will create the value in user as organization if it doesn't exist on the system.
tip
if user is empty and createorg is set to true, it creates organizations based on the original author.
mirror: handle the mirror functionalityenabled: if set tofalsegogs will handle the mirror process itself, if set totruegickup will clone the repo locally and push it to gogs.
visibility: set the visibility of created repositoriesrepositories: can beprivateorpublic, default isprivate
force: enable force push.