diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-07 19:13:34 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-07 19:13:34 -0800 |
commit | 81f98f7c6328fbb557f46904211f57fbfd374845 (patch) | |
tree | a8ff2e3a3f439c185dc6e17aa86c5dbf8c561c52 /tools | |
parent | ref(gerrit): delete modules/docs/configs for gerrit/buildkite (diff) | |
download | world-81f98f7c6328fbb557f46904211f57fbfd374845.tar.gz |
fix(tools/import-gh-to-gitea): README + remove unused import
Diffstat (limited to 'tools')
-rw-r--r-- | tools/import-gh-to-gitea/README.org | 12 | ||||
-rwxr-xr-x | tools/import-gh-to-gitea/archive-projects.py | 1 |
2 files changed, 12 insertions, 1 deletions
diff --git a/tools/import-gh-to-gitea/README.org b/tools/import-gh-to-gitea/README.org new file mode 100644 index 0000000..2e26b88 --- /dev/null +++ b/tools/import-gh-to-gitea/README.org @@ -0,0 +1,12 @@ +#+TITLE: Import GitHub repositories to gitea + +Scripts to move my repositories from GitHub to my instance of [[https://git.fcuny.net][gitea]]. + +* import repositories +#+begin_src sh +python3.10 import-gh-to-gitea.py -g (pass api/github/terraform|psub) -G (pass api/git.fcuny.net/gh-import|psub) +#+end_src +* archiving repositories +#+begin_src sh +python3.10 archive-projects.py -t (pass api/git.fcuny.net/gh-import|psub) +#+end_src diff --git a/tools/import-gh-to-gitea/archive-projects.py b/tools/import-gh-to-gitea/archive-projects.py index a940bd2..41bd898 100755 --- a/tools/import-gh-to-gitea/archive-projects.py +++ b/tools/import-gh-to-gitea/archive-projects.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import argparse -import sys import requests |