github-gitea-mirror
github-gitea-mirror copied to clipboard
Like how to mirror the releases of github
Like how to mirror the releases of github, I try to add
def giteaCreateRepo(data,isPrivate,isRepository):
if isPrivate:
data["auth_username"] = config['github']['username']
data["auth_password"] = "{0}".format(config['github']['accesstoken'])
if isRepository:
data["service"] = 'github'
data["wiki"] = True
data["releases"] = True
data["issues"] = True
data["labels"] = True
data["pull_requests"] = True
data["auth_token"] = "{0}".format(config['github']['accesstoken'])
can you tell me some way?