Skip to content

python3-gitflic - python library to use the GitFlic API v3 + gitswitch - a tool for transferring repositories from GitHub to GitFlic rpm packages

License

Notifications You must be signed in to change notification settings

AKotov-dev/GitFlic-RPM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitFlic-RPM

python3-gitflic - python library to use the GitFlic API v3 + gitswitch - a tool for transferring repositories from GitHub to GitFlic rpm packages for Mageia-8/9.

Installation: The package python3-gitflic is installed first, then gitswitch.

> gitswitch --help

Options:
--gf_token TEXT        Your GitFlic token.  [required]
--gh_token TEXT        Your GitHub token.  [required]
--clone_folder PATH    Directory where to download repositories.
--apply_private        Need to copy private repositories?
--apply_organisations  Need to copy organisations repositories?
--use_ssh              Use SSH mode to upload repositories.
--help                 Show this message and exit.

Get GitHub token from: https://github.com/settings/tokens
Get GitFlic token from: https://gitflic.ru/settings/oauth/token

If you are using 2AF into GitFlic select ssh connection using the key: --use_ssh

The script will copy all the necessary repositories to ./cloned-repos/<login>/<repo_name>, then push it to GitFlic

gitflic: https://pypi.org/project/gitflic/
GitSwitch: https://gitflic.ru/project/dbi471/git-switch

About

python3-gitflic - python library to use the GitFlic API v3 + gitswitch - a tool for transferring repositories from GitHub to GitFlic rpm packages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages