v0.27.3
This commit is contained in:
1 parent
e84df445c6
commit
e87a382a7e
109 files changed
+1092
-2925
No files matched your search
@@ -18,7 +18,7 @@ if [[ $# -gt 0 ]]; then shift; fi
|
||||
case "$mode" in
|
||||
help|-h|--help)
|
||||
cat <<'HELP'
|
||||
RustProxy 0.27.2
|
||||
RustProxy 0.27.3
|
||||
./dev.sh Build and start proxy + local panel
|
||||
./dev.sh run [serve flags] Same, with extra server options
|
||||
./dev.sh admin setup-token Generate/print a one-time setup capability before first login
|
||||
@@ -66,7 +66,7 @@ HELP
|
||||
*) printf 'Unknown command: %s. Use ./dev.sh help\n' "$mode" >&2; exit 2 ;;
|
||||
esac
|
||||
if [[ "$mode" == "backup" ]]; then
|
||||
exec python3 scripts/backup.py --data-dir "${RUST_PROXY_DATA_DIR:-$ROOT/data}" "$@"
|
||||
exec python3 tools/legacy/backup.py --data-dir "${RUST_PROXY_DATA_DIR:-$ROOT/data}" "$@"
|
||||
fi
|
||||
if ! command -v python3 >/dev/null 2>&1; then
|
||||
printf 'Python 3.10+ is required for source preflight and upgrade safety checks.\n' >&2
|
||||
@@ -74,7 +74,7 @@ if ! command -v python3 >/dev/null 2>&1; then
|
||||
fi
|
||||
python3 -c 'import sys; sys.exit(0 if sys.version_info >= (3, 10) else "Python 3.10+ is required.")'
|
||||
if [[ "$mode" == "doctor" ]]; then
|
||||
python3 scripts/preflight.py
|
||||
python3 tools/checks/preflight.py
|
||||
printf 'Source layout: OK\n'
|
||||
for tool in cargo rustc cc python3; do
|
||||
printf '%s: ' "$tool"
|
||||
@@ -82,27 +82,27 @@ if [[ "$mode" == "doctor" ]]; then
|
||||
done
|
||||
exit 0
|
||||
fi
|
||||
if [[ "$mode" == "acme" ]]; then exec python3 scripts/acme_provider.py "$@"; fi
|
||||
if [[ "$mode" == "mock-auth" ]]; then exec python3 scripts/mock_auth.py "$@"; fi
|
||||
if [[ "$mode" == "mock" ]]; then exec python3 scripts/mock_server.py "$@"; fi
|
||||
python3 scripts/preflight.py --repair-known
|
||||
if [[ "$mode" == "acme" ]]; then exec python3 scripts/runtime/acme_provider.py "$@"; fi
|
||||
if [[ "$mode" == "mock-auth" ]]; then exec python3 tools/dev/mock_auth.py "$@"; fi
|
||||
if [[ "$mode" == "mock" ]]; then exec python3 tools/dev/mock_server.py "$@"; fi
|
||||
python3 tools/checks/preflight.py --repair-known
|
||||
if [[ "$mode" == "repair" ]]; then printf 'Source preflight: OK\n'; exit 0; fi
|
||||
if [[ "$mode" == "test" ]]; then
|
||||
python3 scripts/rust_module_contracts.py
|
||||
python3 scripts/source_module_contracts.py
|
||||
python3 scripts/check_source.py
|
||||
python3 scripts/release_smoke.py
|
||||
python3 scripts/memory_contracts.py
|
||||
python3 scripts/web_server_contracts.py
|
||||
python3 scripts/security_contracts.py
|
||||
python3 scripts/security_dependency_contracts.py
|
||||
python3 tools/checks/rust_module_contracts.py
|
||||
python3 tools/checks/source_module_contracts.py
|
||||
python3 tools/checks/check_source.py
|
||||
python3 tools/checks/release_smoke.py
|
||||
python3 tools/checks/memory_contracts.py
|
||||
python3 tools/checks/web_server_contracts.py
|
||||
python3 tools/checks/security_contracts.py
|
||||
python3 tools/checks/security_dependency_contracts.py
|
||||
if command -v node >/dev/null 2>&1; then
|
||||
node scripts/web_service_ui_test.mjs
|
||||
node tools/checks/web_service_ui_test.mjs
|
||||
else
|
||||
printf 'Node.js not found; skipping Web Service UI behavior test.\n' >&2
|
||||
fi
|
||||
python3 scripts/docs_check.py
|
||||
python3 scripts/langs_check.py
|
||||
python3 tools/checks/docs_check.py
|
||||
python3 tools/checks/langs_check.py
|
||||
fi
|
||||
if ! command -v cargo >/dev/null 2>&1; then
|
||||
cat >&2 <<'MISSING'
|
||||
@@ -139,7 +139,7 @@ if [[ "$mode" == "test" ]]; then
|
||||
printf 'Checking all Rust targets before tests...\n' >&2
|
||||
cargo check --locked --all-targets
|
||||
fi
|
||||
printf 'Building RustProxy 0.27.2...\n' >&2
|
||||
printf 'Building RustProxy 0.27.3...\n' >&2
|
||||
cargo build --locked
|
||||
BIN="$CARGO_TARGET_DIR/debug/rust-proxy"
|
||||
case "$mode" in
|
||||
|
||||
Reference in new issue
Block a user