Remove Settings and Setup pages along with their tests and related API services
- Deleted Settings.tsx and Setup.tsx pages, which included functionality for changing passwords and setting up an admin account. - Removed associated test files for Setup page. - Eliminated API service definitions related to proxy hosts, remote servers, import functionality, and health checks. - Cleaned up mock data and test setup files. - Removed configuration files for TypeScript, Vite, and Tailwind CSS. - Deleted scripts for testing coverage, release management, Dockerfile validation, and Python compilation checks. - Removed Sourcery pre-commit wrapper script.
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Wrapper for Sourcery pre-commit hook.
|
||||
# Run Sourcery if the CLI is available or a token is provided.
|
||||
# This supports both interactive `sourcery login` and token-based CI usage.
|
||||
|
||||
if command -v sourcery >/dev/null 2>&1; then
|
||||
exec sourcery "$@"
|
||||
fi
|
||||
|
||||
# Try python -m sourcery as a fallback
|
||||
if python -m sourcery --version >/dev/null 2>&1; then
|
||||
exec python -m sourcery "$@"
|
||||
fi
|
||||
|
||||
# If CLI not found but token env var present, try to run via 'sourcery' anyway
|
||||
if [ -n "${SOURCERY_TOKEN:-}" ] || [ -n "${SOURCERY_API_TOKEN:-}" ] || [ -n "${SOURCERY_API_KEY:-}" ]; then
|
||||
if command -v sourcery >/dev/null 2>&1; then
|
||||
exec sourcery "$@"
|
||||
fi
|
||||
if python -m sourcery --version >/dev/null 2>&1; then
|
||||
exec python -m sourcery "$@"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Sourcery CLI not available and no token detected; skipping sourcery pre-commit check."
|
||||
exit 0
|
||||
Reference in New Issue
Block a user