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

30 lines
832 B
Python
Raw Normal View History

2020-10-12 12:43:37 +00:00
#!/usr/bin/env python
from helper import getConfig
2020-10-12 13:18:03 +00:00
from gistsSource import gistsSource
from gistsStared import gistsStared
2020-10-12 12:43:37 +00:00
from repositorySource import repositorySource
from repositoryStared import repositoryStared
from repositoryForked import repositoryForked
config = getConfig()
2020-10-12 13:18:03 +00:00
if config['gistsSource']:
print('Setting Up Mirror For Source Github Gists')
2020-10-13 02:18:18 +00:00
#gistsSource()
2020-10-12 13:18:03 +00:00
if config['gistsStared']:
print('Setting Up Mirror For Stared Github Gists')
2020-10-12 13:55:11 +00:00
gistsStared()
2020-10-12 12:43:37 +00:00
if config['repositorySource']:
print('Setting Up Mirror For Source Github Repository')
2020-10-13 02:18:18 +00:00
#repositorySource()
2020-10-12 12:43:37 +00:00
if config['repositoryStared']:
print('Setting Up Mirror For Stared Github Repository')
2020-10-13 02:18:18 +00:00
#repositoryStared()
2020-10-12 12:43:37 +00:00
if config['repositoryForked']:
print('Setting Up Mirror For Forked Github Repository')
2020-10-13 02:18:18 +00:00
#repositoryForked()