Gitea
config
destination:
gitea:
- token: some-token
token_file: token.txt
user: some-name
url: http(s)://url-to-gitea
createorg: true
lfs: true
mirror:
mirrorinterval: 8h
enabled: false
visibility:
repositories: private
organizations: private
force: true
token: your gitea token.token_file: alternatively, specify the token in a file, relative to current working directory when executed.url: if empty, https://gitea.com is used.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.lfs: enable lfs on the mirror repository.
tip
if user is empty and createorg is set to true, it creates organizations based on the original author.
mirror: handle the mirror functionalitymirrorinterval: resync interval for gitea. It only works ifenabledis set tofalse.enabled: if set tofalsegitea will handle the mirror process itself, if set totruegickup will clone the repo locally and push it to gitea.
tipespecially useful for codeberg because they disabled the mirror feature.
visibility: set the visibility of created organizations and repositoriesrepositories: can beprivateorpublic, default isprivateorganizations: can beprivate,limitedorpublic, default isprivate
force: enable force push.