Mirror GitHub single repos/users/orgas/starred repos to a Gitea or Forgejo instance.
Find a file
Maximilian Kratz ae66245305 Major extensions of the mirror script + adds a script for orga deletion
Smaller doc corrections
More code-style corrections
Some progress to fetch organization repos
First basic orga mirroring is working now
Parameter parsing + robustness if orga already exists
Clean up
New argument parsing + configurable visibility for orga creation
Snapshot: Possibility to generate private mirrors from orgas
Adds functionality to allow the mirroring of one private/public repo
Doc + pretty print
Fixes a return code check + code style
Adds a script to completely delete a Gitea organization
Fixes a var underflow
Mirror a complete GitHub user
Also include private repos of the user
Fixes a loop bug in repos_to_migration
Typo
2023-01-15 12:49:58 +01:00
delete_gitea_org Major extensions of the mirror script + adds a script for orga deletion 2023-01-15 12:49:58 +01:00
github2gitea-mirror Major extensions of the mirror script + adds a script for orga deletion 2023-01-15 12:49:58 +01:00
README.org Initial import 2020-06-20 15:04:04 +02:00

Mirror your starred Github repos to a Gitea organization

Inspiration for this script

Proposal: Mirror an entire github organization into gitea organization

I wanted to mirror my starred repos instead. Mirroring an organization is on the TODOs list.

Usage

Using GitHub user juergenhoetzel and Gitea organization githubmirror

  export ACCESS_TOKEN=3a765a661619136db92aa267d90c457573x98812
  export GITEA_URL=http://gitea.fritz.box:3000
  github2gitea-mirror  juergenhoetzel githubmirror

TODOs

  • Mirror github organization
  • Mirror private repos