Skip to content

Commit 8fc4ce9

Browse files
committed
Update org name to 'typedb' in //tool/sync/dependencies.py
1 parent 39cec65 commit 8fc4ce9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tool/sync/dependencies.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@
4343
regex_git_commit = r'[0-9a-f]{40}'
4444
regex_git_tag = r'([0-9]+\.[0-9]+\.[0-9]+)'
4545

46-
vaticle = 'vaticle'
46+
typedb = 'typedb'
4747
github_connection = github.Github(GITHUB_TOKEN)
48-
github_org = github_connection.get_organization(vaticle)
48+
github_org = github_connection.get_organization(typedb)
4949

5050

5151
def is_building_upstream():
5252
""" Returns False is running in a forked repo"""
5353
if IS_CIRCLECI:
54-
return vaticle in os.getenv('CIRCLE_REPOSITORY_URL', '')
54+
return typedb in os.getenv('CIRCLE_REPOSITORY_URL', '')
5555
elif IS_FACTORY:
56-
return vaticle == os.getenv('FACTORY_OWNER')
56+
return typedb == os.getenv('FACTORY_OWNER')
5757
else:
5858
return False
5959

@@ -99,11 +99,11 @@ def main():
9999

100100
# TODO: Check that the commit author is @typedb-bot
101101
if not source_message.startswith(COMMIT_SUBJECT_PREFIX):
102-
sync_message = '{0} {1}/{2}@{3}'.format(COMMIT_SUBJECT_PREFIX, vaticle, source_repo, source_ref_short)
102+
sync_message = '{0} {1}/{2}@{3}'.format(COMMIT_SUBJECT_PREFIX, typedb, source_repo, source_ref_short)
103103
else:
104104
sync_message = source_message
105105

106-
print('Requesting the synchronisation of dependency to {0}/{1}@{2}'.format(vaticle, source_repo, source_ref_short))
106+
print('Requesting the synchronisation of dependency to {0}/{1}@{2}'.format(typedb, source_repo, source_ref_short))
107107

108108
print('Constructing request payload:')
109109
sync_data = {

0 commit comments

Comments
 (0)