Skip to content
Snippets Groups Projects
Commit 14e8d59d authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Updates to run go mod tidy

parent 244f8d52
No related branches found
No related tags found
1 merge request!1Release
......@@ -55,6 +55,7 @@ def checkout(repo, branch):
['git', 'checkout', '-B', branch],
['git', 'branch', '--set-upstream-to=origin/{}'.format(branch), branch],
['git', 'pull'],
['git', 'push', '-u', 'origin', branch],
]
for cmd in cmds:
run(cmd)
......@@ -105,6 +106,7 @@ def update(repo, dependencies):
raise("Second update failure")
if not check_changes():
raise("bad repository state, will not update")
run(['go', 'mod', 'tidy'])
res = run(['git', 'commit', 'go.mod', 'go.sum', '-m',
'update deps'])
# 1 means nothing to commit, not an error
......
......@@ -30,40 +30,44 @@ proj_conf = {
'repo': 'git@gitlab.com:elixxir/crypto',
'dependencies': ['xxprimitives', 'xxcrypto', 'primitives'],
},
'ring': {
'repo': 'git@gitlab.com:xx_network/ring',
'dependencies': [],
},
'comms': {
'repo': 'git@gitlab.com:elixxir/comms',
'dependencies': ['xxprimitives', 'xxcrypto', 'xxcomms',
'primitives', 'crypto'],
'primitives', 'crypto', 'ring'],
},
'server': { # Note -- leaving out GPU, ekv, and others for now!
'repo': 'git@gitlab.com:elixxir/server',
'dependencies': ['xxprimitives', 'xxcrypto', 'xxcomms',
'primitives', 'crypto', 'comms'],
'primitives', 'crypto', 'ring', 'comms'],
},
'permissioning': {
'repo': 'git@gitlab.com:elixxir/registration',
'dependencies': ['xxprimitives', 'xxcrypto', 'xxcomms',
'primitives', 'crypto', 'comms'],
'primitives', 'crypto', 'ring', 'comms'],
},
'gateway': {
'repo': 'git@gitlab.com:elixxir/gateway',
'dependencies': ['xxprimitives', 'xxcrypto', 'xxcomms',
'primitives', 'crypto', 'comms'],
'primitives', 'crypto', 'ring', 'comms'],
},
'client': {
'repo': 'git@gitlab.com:elixxir/client',
'dependencies': ['xxprimitives', 'xxcrypto', 'xxcomms',
'primitives', 'crypto', 'comms'],
'primitives', 'crypto', 'ring', 'comms'],
},
'udb': {
'repo': 'git@gitlab.com:elixxir/user-discovery-bot',
'dependencies': ['xxprimitives', 'xxcrypto', 'xxcomms',
'primitives', 'crypto', 'comms', 'client'],
'primitives', 'crypto', 'ring', 'comms', 'client'],
},
'notifications-bot': {
'repo': 'git@gitlab.com:elixxir/notifications-bot',
'dependencies': ['xxprimitives', 'xxcrypto', 'xxcomms',
'primitives', 'crypto', 'comms'],
'primitives', 'crypto', 'ring', 'comms'],
},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment