-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade-16 cherry-picks round 2 (#9625)
Rebase todo ``` # Branch fix-vow-include-vat-js-in-package-files-9607- label base-fix-vow-include-vat-js-in-package-files-9607- pick b6ffa6f fix(vow): include vat.js in package files label fix-vow-include-vat-js-in-package-files-9607- reset base-fix-vow-include-vat-js-in-package-files-9607- merge -C a3826e9 fix-vow-include-vat-js-in-package-files-9607- # fix(vow): include vat.js in package files (#9607) # Pull Request #9601 pick 6bc363b fix(cosmos): only allow snapshot export at latest height (#9601) # Branch Force-xsnap-rebuild-9618- label base-Force-xsnap-rebuild-9618- pick 467435a fix(xsnap): force rebuild if build config changes pick a22772e fix(agd): check xsnap was rebuilt pick 2b53896 feat(xsnap): force rebuild if binary version mismatch label Force-xsnap-rebuild-9618- reset base-Force-xsnap-rebuild-9618- merge -C 78b6fec Force-xsnap-rebuild-9618- # Force xsnap rebuild (#9618) # Branch agd-enforce-Node-js-version-9623- label base-agd-enforce-Node-js-version-9623- #pick 4b35caf revert fix: typescript-estree does not support Node.js LTS (#9619) pick 5f01bef fix(agd): force own node.js version check label agd-enforce-Node-js-version-9623- reset base-agd-enforce-Node-js-version-9623- merge -C 4f70e66 agd-enforce-Node-js-version-9623- # agd enforce Node.js version (#9623) # Branch gibson-9623-followup label base-gibson-9623-followup pick 6102eb9 fix: Disallow Node.js major version >20 label gibson-9623-followup reset base-gibson-9623-followup merge -C caaec05 gibson-9623-followup # (upstream/master) fix: Disallow Node.js major version >20 (#9630) ```
- Loading branch information
Showing
11 changed files
with
91 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ | |
"author": "Agoric", | ||
"license": "Apache-2.0", | ||
"files": [ | ||
"*.js", | ||
"src" | ||
], | ||
"publishConfig": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
build | ||
build.config.env | ||
dist | ||
test/fixture-snap-pool/ | ||
test/fixture-snap-shot.xss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
MODDABLE_URL=https://github.com/agoric-labs/moddable.git | ||
MODDABLE_COMMIT_HASH=f6c5951fc055e4ca592b9166b9ae3cbb9cca6bf0 | ||
XSNAP_NATIVE_URL=https://github.com/agoric-labs/xsnap-pub | ||
XSNAP_NATIVE_COMMIT_HASH=2d8ccb76b8508e490d9e03972bb4c64f402d5135 | ||
XSNAP_NATIVE_COMMIT_HASH=eef9b67da5517ed18ff9e0073b842db20924eae3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ueo pipefail | ||
|
||
# the xsnap binary lives in a platform-specific directory | ||
unameOut="$(uname -s)" | ||
case "${unameOut}" in | ||
Linux*) platform=lin ;; | ||
Darwin*) platform=mac ;; | ||
*) platform=win ;; | ||
esac | ||
|
||
# extract the xsnap package version from the long version printed by xsnap-worker | ||
"./xsnap-native/xsnap/build/bin/${platform}/release/xsnap-worker" -v | sed -e 's/^xsnap \([^ ]*\) (XS [^)]*)$/\1/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule xsnap-native
updated
5 files
+3 −0 | xsnap/makefiles/lin/xsnap-worker.mk | |
+3 −0 | xsnap/makefiles/mac/xsnap-worker.mk | |
+16 −4 | xsnap/sources/xsnap-worker.c | |
+3 −2 | xsnap/sources/xsnap.c | |
+6 −1 | xsnap/sources/xsnapPlatform.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,27 @@ | ||
#! /bin/sh | ||
# shellcheck disable=SC2034 | ||
NODEJS_VERSION=v16 | ||
NODEJS_VERSION=v20 | ||
GOLANG_VERSION=1.20.3 | ||
GOLANG_DIR=golang/cosmos | ||
GOLANG_DAEMON=$GOLANG_DIR/build/agd | ||
XSNAP_VERSION=agoric-upgrade-10 | ||
|
||
# Args are major, minor and patch version numbers | ||
golang_version_check() { | ||
{ | ||
[ "$1" -eq 1 ] && [ "$2" -eq 20 ] && [ "$3" -ge 2 ] && return 0 | ||
[ "$1" -eq 1 ] && [ "$2" -ge 21 ] && return 0 | ||
[ "$1" -ge 2 ] && return 0 | ||
} 2>/dev/null | ||
} 2> /dev/null | ||
echo 1>&2 "need go version 1.20.2+, 1.21+, or 2+" | ||
return 1 | ||
} | ||
|
||
# Args are major, minor and patch version numbers | ||
nodejs_version_check() { | ||
{ | ||
[ "$1" -eq 18 ] && [ "$2" -ge 12 ] && return 0 | ||
[ "$1" -eq 20 ] && [ "$2" -ge 9 ] && return 0 | ||
} 2> /dev/null | ||
echo 1>&2 "need Node.js LTS version ^18.12 or ^20.9, found $1.$2.$3" | ||
return 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters