mirror of
https://github.com/varunsridharan/github-gitea-mirror.git
synced 2025-02-24 22:23:45 +08:00
Updated
This commit is contained in:
parent
3d5310ffef
commit
7f5ebeb9b3
5 changed files with 25 additions and 7 deletions
|
@ -59,4 +59,7 @@ def gistsSource():
|
|||
topics.append('public-{0}-gist'.format(repo_owner))
|
||||
giteaSetRepoTopics(repo_owner,m["repo_name"],topics)
|
||||
|
||||
if status == 'failed':
|
||||
print(repo)
|
||||
|
||||
print(" ")
|
|
@ -59,4 +59,7 @@ def gistsStared():
|
|||
topics.append('public-{0}-gist'.format(repo_owner))
|
||||
giteaSetRepoTopics(repo_owner,m["repo_name"],topics)
|
||||
|
||||
if status == 'failed':
|
||||
print(repo)
|
||||
|
||||
print(" ")
|
|
@ -35,7 +35,11 @@ def repositoryForked():
|
|||
"uid" : gitea_uid,
|
||||
}
|
||||
|
||||
giteaCreateRepo(m,repo.private)
|
||||
status = giteaCreateRepo(m,repo.private)
|
||||
if status != 'failed':
|
||||
topics = repo.get_topics()
|
||||
giteaSetRepoTopics(repo_owner,repo_name,topics)
|
||||
print(" ")
|
||||
else:
|
||||
print(repo)
|
||||
|
||||
print(" ")
|
|
@ -35,7 +35,11 @@ def repositorySource():
|
|||
"uid" : gitea_uid,
|
||||
}
|
||||
|
||||
giteaCreateRepo(m,repo.private)
|
||||
status = giteaCreateRepo(m,repo.private)
|
||||
if status != 'failed':
|
||||
topics = repo.get_topics()
|
||||
giteaSetRepoTopics(repo_owner,repo_name,topics)
|
||||
print(" ")
|
||||
else:
|
||||
print(repo)
|
||||
|
||||
print(" ")
|
|
@ -34,7 +34,11 @@ def repositoryStared():
|
|||
"uid" : gitea_uid,
|
||||
}
|
||||
|
||||
giteaCreateRepo(m,repo.private)
|
||||
topics = repo.get_topics()
|
||||
giteaSetRepoTopics(repo_owner,repo_name,topics)
|
||||
status = giteaCreateRepo(m,repo.private)
|
||||
if status != 'failed':
|
||||
topics = repo.get_topics()
|
||||
giteaSetRepoTopics(repo_owner,repo_name,topics)
|
||||
else:
|
||||
print(repo)
|
||||
|
||||
print(" ")
|
Loading…
Reference in a new issue