Skip to content

Like how to mirror the releases of github #11

@okoling

Description

@okoling

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions