|
43 | 43 | regex_git_commit = r'[0-9a-f]{40}'
|
44 | 44 | regex_git_tag = r'([0-9]+\.[0-9]+\.[0-9]+)'
|
45 | 45 |
|
46 |
| -vaticle = 'vaticle' |
| 46 | +typedb = 'typedb' |
47 | 47 | github_connection = github.Github(GITHUB_TOKEN)
|
48 |
| -github_org = github_connection.get_organization(vaticle) |
| 48 | +github_org = github_connection.get_organization(typedb) |
49 | 49 |
|
50 | 50 |
|
51 | 51 | def is_building_upstream():
|
52 | 52 | """ Returns False is running in a forked repo"""
|
53 | 53 | if IS_CIRCLECI:
|
54 |
| - return vaticle in os.getenv('CIRCLE_REPOSITORY_URL', '') |
| 54 | + return typedb in os.getenv('CIRCLE_REPOSITORY_URL', '') |
55 | 55 | elif IS_FACTORY:
|
56 |
| - return vaticle == os.getenv('FACTORY_OWNER') |
| 56 | + return typedb == os.getenv('FACTORY_OWNER') |
57 | 57 | else:
|
58 | 58 | return False
|
59 | 59 |
|
@@ -99,11 +99,11 @@ def main():
|
99 | 99 |
|
100 | 100 | # TODO: Check that the commit author is @typedb-bot
|
101 | 101 | 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) |
103 | 103 | else:
|
104 | 104 | sync_message = source_message
|
105 | 105 |
|
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)) |
107 | 107 |
|
108 | 108 | print('Constructing request payload:')
|
109 | 109 | sync_data = {
|
|
0 commit comments