rhpds / gitea-operator

Gitea Operator to deploy to OpenShift 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[RFE] Migrate Repos

christianh814 opened this issue · comments

Add the ability to migrate over repos to use. Defaults noted in comments

giteaMigrateRepos:
  - name: "myapp"
    repo: https://github.com/wolfgang/servus-app
    description: "This is a greeting app" # default is empty string
    issues: false #migrate issues? - default is false
    milestones: false #migrate milestones? - default is false
    mirror: false #create mirror? - default false
    private: false #private or public? - default is false
    owner: "user1" #which account to migrate this to? - default is the admin user
  - name: "anotherapp"
    repo: https://github.com/wolfgang/tschuss-app
    description: "This is an app that says goodbye"
    owner: "user2"

Right now I'm doing this via a post sync hook, and would like to avoid using curl for all of this :)

@christianh814 this is a feature of the AgnosticD workload...

But for users not using AgnosticD, this would be a welcome feature!

@christianh814 Fair... but I'm afraid I have no cycles at the moment. One of these days...

@christianh814 v1.3.0 adds this capability. See the readme on how to use.