mirror of
https://github.com/varunsridharan/github-gitea-mirror.git
synced 2024-09-11 17:56:39 +03:00
Updated
This commit is contained in:
parent
3d5310ffef
commit
7f5ebeb9b3
@ -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 New Issue
Block a user