Revert "chore: use hermit in goose" (#2759)

This commit is contained in:
Lifei Zhou 2025-06-03 09:50:01 +10:00 committed by GitHub
parent a89fa18502
commit e56354603f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 114 additions and 148 deletions

View file

@ -1 +0,0 @@
hermit

View file

@ -1 +0,0 @@
hermit

View file

@ -1 +0,0 @@
hermit

View file

@ -1,7 +0,0 @@
# Hermit environment
This is a [Hermit](https://github.com/cashapp/hermit) bin directory.
The symlinks in this directory are managed by Hermit and will automatically
download and install Hermit itself as well as packages. These packages are
local to this environment.

View file

@ -1,21 +0,0 @@
#!/bin/bash
# This file must be used with "source bin/activate-hermit" from bash or zsh.
# You cannot run it directly
#
# THIS FILE IS GENERATED; DO NOT MODIFY
if [ "${BASH_SOURCE-}" = "$0" ]; then
echo "You must source this script: \$ source $0" >&2
exit 33
fi
BIN_DIR="$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")"
if "${BIN_DIR}/hermit" noop > /dev/null; then
eval "$("${BIN_DIR}/hermit" activate "${BIN_DIR}/..")"
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ]; then
hash -r 2>/dev/null
fi
echo "Hermit environment $("${HERMIT_ENV}"/bin/hermit env HERMIT_ENV) activated"
fi

View file

@ -1,24 +0,0 @@
#!/usr/bin/env fish
# This file must be sourced with "source bin/activate-hermit.fish" from Fish shell.
# You cannot run it directly.
#
# THIS FILE IS GENERATED; DO NOT MODIFY
if status is-interactive
set BIN_DIR (dirname (status --current-filename))
if "$BIN_DIR/hermit" noop > /dev/null
# Source the activation script generated by Hermit
"$BIN_DIR/hermit" activate "$BIN_DIR/.." | source
# Clear the command cache if applicable
functions -c > /dev/null 2>&1
# Display activation message
echo "Hermit environment $($HERMIT_ENV/bin/hermit env HERMIT_ENV) activated"
end
else
echo "You must source this script: source $argv[0]" >&2
exit 33
end

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.node-22.9.0.pkg

View file

@ -1,43 +0,0 @@
#!/bin/bash
#
# THIS FILE IS GENERATED; DO NOT MODIFY
set -eo pipefail
export HERMIT_USER_HOME=~
if [ -z "${HERMIT_STATE_DIR}" ]; then
case "$(uname -s)" in
Darwin)
export HERMIT_STATE_DIR="${HERMIT_USER_HOME}/Library/Caches/hermit"
;;
Linux)
export HERMIT_STATE_DIR="${XDG_CACHE_HOME:-${HERMIT_USER_HOME}/.cache}/hermit"
;;
esac
fi
export HERMIT_DIST_URL="${HERMIT_DIST_URL:-https://github.com/cashapp/hermit/releases/download/stable}"
HERMIT_CHANNEL="$(basename "${HERMIT_DIST_URL}")"
export HERMIT_CHANNEL
export HERMIT_EXE=${HERMIT_EXE:-${HERMIT_STATE_DIR}/pkg/hermit@${HERMIT_CHANNEL}/hermit}
if [ ! -x "${HERMIT_EXE}" ]; then
echo "Bootstrapping ${HERMIT_EXE} from ${HERMIT_DIST_URL}" 1>&2
INSTALL_SCRIPT="$(mktemp)"
# This value must match that of the install script
INSTALL_SCRIPT_SHA256="09ed936378857886fd4a7a4878c0f0c7e3d839883f39ca8b4f2f242e3126e1c6"
if [ "${INSTALL_SCRIPT_SHA256}" = "BYPASS" ]; then
curl -fsSL "${HERMIT_DIST_URL}/install.sh" -o "${INSTALL_SCRIPT}"
else
# Install script is versioned by its sha256sum value
curl -fsSL "${HERMIT_DIST_URL}/install-${INSTALL_SCRIPT_SHA256}.sh" -o "${INSTALL_SCRIPT}"
# Verify install script's sha256sum
openssl dgst -sha256 "${INSTALL_SCRIPT}" | \
awk -v EXPECTED="$INSTALL_SCRIPT_SHA256" \
'$2!=EXPECTED {print "Install script sha256 " $2 " does not match " EXPECTED; exit 1}'
fi
/bin/bash "${INSTALL_SCRIPT}" 1>&2
fi
exec "${HERMIT_EXE}" --level=fatal exec "$0" -- "$@"

View file

@ -1,4 +0,0 @@
manage-git = false
github-token-auth {
}

View file

@ -1 +0,0 @@
.node-22.9.0.pkg

View file

@ -1 +0,0 @@
.node-22.9.0.pkg

View file

@ -1 +0,0 @@
.node-22.9.0.pkg

View file

@ -1 +0,0 @@
.protoc-31.1.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg

View file

@ -1 +0,0 @@
.rustup-1.25.2.pkg