Skip to content

Commit c05bd41

Browse files
committed
allow dependent repositories to hook into the import update command
1 parent 6d2744b commit c05bd41

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,13 @@ def update_import_cmd(args):
865865
overlaytip = str(vc.tip(overlaydir)).strip()
866866
repos_updated.append(overlaydir)
867867

868+
# now allow dependent repos to hook into update
869+
for repo in repos:
870+
mx.run_mx([
871+
"%s-update-import" % os.path.basename(repo),
872+
"--overlaydir=%s" % overlaydir,
873+
], suite=repo, nonZeroIsFatal=False)
874+
868875
# update ci import in all our repos, commit the full update, and push verbosely
869876
prev_verbosity = mx._opts.very_verbose
870877
for repo in repos:

0 commit comments

Comments
 (0)