Skip to content

Commit

Permalink
Revert "[anza migration] rename crates (solana-labs#10)"
Browse files Browse the repository at this point in the history
This reverts commit 3f9a7a5.
  • Loading branch information
willhickey authored and stevenbooke committed Mar 18, 2024
1 parent 05e6bb3 commit 55b31e4
Show file tree
Hide file tree
Showing 73 changed files with 568 additions and 290 deletions.
3 changes: 0 additions & 3 deletions .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ if semverGT "$project_used_solana_version" "$SOLANA_VER"; then
fi

./patch.crates-io.sh "$SOLANA_DIR"

# anza migration stopgap. can be removed when agave is fully recommended for public usage.
sed -i 's/solana-geyser-plugin-interface/agave-geyser-plugin-interface/g' ./Cargo.toml
2 changes: 1 addition & 1 deletion .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
mkdir -p "windows-release/$FOLDER_NAME"
cp -v "solana-release-x86_64-pc-windows-msvc.tar.bz2" "windows-release/$FOLDER_NAME/"
cp -v "solana-release-x86_64-pc-windows-msvc.yml" "windows-release/$FOLDER_NAME/"
cp -v "agave-install-init-x86_64-pc-windows-msvc"* "windows-release/$FOLDER_NAME"
cp -v "solana-install-init-x86_64-pc-windows-msvc"* "windows-release/$FOLDER_NAME"
- name: Upload Artifacts
if: ${{ steps.build.outputs.channel != '' || steps.build.outputs.tag != '' }}
Expand Down
213 changes: 212 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cargo-registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "agave-cargo-registry"
name = "solana-cargo-registry"
description = "Solana cargo registry"
documentation = "https://docs.rs/agave-cargo-registry"
documentation = "https://docs.rs/solana-cargo-registry"
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions ci/localnet-sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ killNodes() {
# Try to use the RPC exit API to cleanly exit the first two nodes
# (dynamic nodes, -x, are just killed)
echo "--- RPC exit"
$agave_validator --ledger "$SOLANA_CONFIG_DIR"/bootstrap-validator exit --force || true
$agave_validator --ledger "$SOLANA_CONFIG_DIR"/validator exit --force || true
$solana_validator --ledger "$SOLANA_CONFIG_DIR"/bootstrap-validator exit --force || true
$solana_validator --ledger "$SOLANA_CONFIG_DIR"/validator exit --force || true

# Give the nodes a splash of time to cleanly exit before killing them
sleep 2
Expand Down
2 changes: 1 addition & 1 deletion ci/publish-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SOLANA_RELEASE=$CHANNEL_OR_TAG
SOLANA_INSTALL_INIT_ARGS=$CHANNEL_OR_TAG
SOLANA_DOWNLOAD_ROOT=https://release.anza.xyz
EOF
cat install/agave-install-init.sh >>release.anza.xyz-install
cat install/solana-install-init.sh >>release.anza.xyz-install

echo --- GCS: "install"
upload-gcs-artifact "/solana/release.anza.xyz-install" "gs://anza-release/$CHANNEL_OR_TAG/install"
Expand Down
4 changes: 2 additions & 2 deletions ci/publish-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ echo --- Creating release tarball

tar cvf "${TARBALL_BASENAME}"-$TARGET.tar "${RELEASE_BASENAME}"
bzip2 "${TARBALL_BASENAME}"-$TARGET.tar
cp "${RELEASE_BASENAME}"/bin/agave-install-init agave-install-init-$TARGET
cp "${RELEASE_BASENAME}"/bin/solana-install-init solana-install-init-$TARGET
cp "${RELEASE_BASENAME}"/version.yml "${TARBALL_BASENAME}"-$TARGET.yml
)

Expand All @@ -110,7 +110,7 @@ fi

source ci/upload-ci-artifact.sh

for file in "${TARBALL_BASENAME}"-$TARGET.tar.bz2 "${TARBALL_BASENAME}"-$TARGET.yml agave-install-init-"$TARGET"* $MAYBE_TARBALLS; do
for file in "${TARBALL_BASENAME}"-$TARGET.tar.bz2 "${TARBALL_BASENAME}"-$TARGET.yml solana-install-init-"$TARGET"* $MAYBE_TARBALLS; do
if [[ -n $DO_NOT_PUBLISH_TAR ]]; then
upload-ci-artifact "$file"
echo "Skipped $file due to DO_NOT_PUBLISH_TAR"
Expand Down
2 changes: 1 addition & 1 deletion ci/run-sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ while [[ $latest_slot -le $((snapshot_slot + 1)) ]]; do
latest_slot=$($solana_cli --url http://localhost:8899 slot --commitment processed)
done

$agave_validator --ledger config/ledger exit --force || true
$solana_validator --ledger config/ledger exit --force || true

wait $pid

Expand Down
2 changes: 1 addition & 1 deletion docs/src/backwards-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Major releases:
- [`solana-program`](https://docs.rs/solana-program/) - Rust SDK for writing programs
- [`solana-client`](https://docs.rs/solana-client/) - Rust client for connecting to RPC API
- [`solana-cli-config`](https://docs.rs/solana-cli-config/) - Rust client for managing Solana CLI config files
- [`agave-geyser-plugin-interface`](https://docs.rs/agave-geyser-plugin-interface/) - Rust interface for developing Solana Geyser plugins.
- [`solana-geyser-plugin-interface`](https://docs.rs/solana-geyser-plugin-interface/) - Rust interface for developing Solana Geyser plugins.

Patch releases:

Expand Down
12 changes: 6 additions & 6 deletions docs/src/cli/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Please update your PATH environment variable to include the solana programs:
solana --version
```

- After a successful install, `agave-install update` may be used to easily
- After a successful install, `solana-install update` may be used to easily
update the Solana software to a newer version at any time.

---
Expand All @@ -74,15 +74,15 @@ solana --version
installer into a temporary directory:

```bash
cmd /c "curl https://release.solana.com/LATEST_SOLANA_RELEASE_VERSION/agave-install-init-x86_64-pc-windows-msvc.exe --output C:\agave-install-tmp\agave-install-init.exe --create-dirs"
cmd /c "curl https://release.solana.com/LATEST_SOLANA_RELEASE_VERSION/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs"
```

- Copy and paste the following command, then press Enter to install the latest
version of Solana. If you see a security pop-up by your system, please select
to allow the program to run.

```bash
C:\agave-install-tmp\agave-install-init.exe LATEST_SOLANA_RELEASE_VERSION
C:\solana-install-tmp\solana-install-init.exe LATEST_SOLANA_RELEASE_VERSION
```

- When the installer is finished, press Enter.
Expand All @@ -97,12 +97,12 @@ C:\agave-install-tmp\agave-install-init.exe LATEST_SOLANA_RELEASE_VERSION
solana --version
```

- After a successful install, `agave-install update` may be used to easily
- After a successful install, `solana-install update` may be used to easily
update the Solana software to a newer version at any time.

## Download Prebuilt Binaries

If you would rather not use `agave-install` to manage the install, you can
If you would rather not use `solana-install` to manage the install, you can
manually download and install the binaries.

### Linux
Expand Down Expand Up @@ -255,7 +255,7 @@ You can then run the following command to obtain the same result as with
prebuilt binaries:

```bash
agave-install init
solana-install init
```

## Use Homebrew
Expand Down
Loading

0 comments on commit 55b31e4

Please sign in to comment.