This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
github-gitea-mirror/mirror.py
2020-10-12 18:48:03 +05:30

30 lines
832 B
Python

#!/usr/bin/env python
from helper import getConfig
from gistsSource import gistsSource
from gistsStared import gistsStared
from repositorySource import repositorySource
from repositoryStared import repositoryStared
from repositoryForked import repositoryForked
config = getConfig()
if config['gistsSource']:
print('Setting Up Mirror For Source Github Gists')
gistsSource()
if config['gistsStared']:
print('Setting Up Mirror For Stared Github Gists')
#gistsStared()
if config['repositorySource']:
print('Setting Up Mirror For Source Github Repository')
#repositorySource()
if config['repositoryStared']:
print('Setting Up Mirror For Stared Github Repository')
#repositoryStared()
if config['repositoryForked']:
print('Setting Up Mirror For Forked Github Repository')
#repositoryForked()