github-gitea-mirror icon indicating copy to clipboard operation
github-gitea-mirror copied to clipboard

Like how to mirror the releases of github

Open okoling opened this issue 1 year ago • 0 comments

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?

okoling avatar Aug 12 '23 17:08 okoling