Rebrand Pinscope to Periscope across product and codebase.
Rename the core package to periscopex, update UI/docs/Docker/deploy defaults to periscope.michelebigi.it, and keep legacy version/storage key aliases so existing projects keep working. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -49,7 +49,7 @@ def main():
|
||||
print("No patterns found — nothing to deduplicate")
|
||||
return
|
||||
|
||||
from backend.pinscopex.resolve_passives import resolve_mpn
|
||||
from backend.periscopex.resolve_passives import resolve_mpn
|
||||
|
||||
# List all library datasheet PDFs
|
||||
all_ds_keys = storage.list_recursive("library/datasheets/")
|
||||
|
||||
@@ -45,8 +45,8 @@ def _check_model_defaults() -> list[str]:
|
||||
|
||||
|
||||
def _check_simple_project_offline() -> list[str]:
|
||||
from backend.pinscopex.models import DesignGraph
|
||||
from backend.pinscopex.validation_tools import shortest_path
|
||||
from backend.periscopex.models import DesignGraph
|
||||
from backend.periscopex.validation_tools import shortest_path
|
||||
|
||||
errs: list[str] = []
|
||||
graph_path = SIMPLE / "design_graph.json"
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Rebuild and restart the Pinscope stack on the production host
|
||||
# (pinscope.michelebigi.it). Run from anywhere:
|
||||
# Rebuild and restart the Periscope stack on the production host
|
||||
# (periscope.michelebigi.it). Run from anywhere:
|
||||
#
|
||||
# ./scripts/update-pinscope.sh
|
||||
# ./scripts/update-periscope.sh
|
||||
#
|
||||
# Optional:
|
||||
# SITE=https://pinscope.michelebigi.it ./scripts/update-pinscope.sh
|
||||
# ./scripts/update-pinscope.sh --no-pull
|
||||
# SITE=https://periscope.michelebigi.it ./scripts/update-periscope.sh
|
||||
# ./scripts/update-periscope.sh --no-pull
|
||||
#
|
||||
# Does not touch ./data (projects + component library).
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SITE="${SITE:-https://pinscope.michelebigi.it}"
|
||||
SITE="${SITE:-https://periscope.michelebigi.it}"
|
||||
DO_PULL=1
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
@@ -40,7 +40,7 @@ if [[ "${ENVIRONMENT:-}" == "production" ]]; then
|
||||
fi
|
||||
|
||||
if [[ ! -f docker-compose.yml ]]; then
|
||||
die "docker-compose.yml not found in $ROOT — run this from the Pinscope checkout."
|
||||
die "docker-compose.yml not found in $ROOT — run this from the Periscope checkout."
|
||||
fi
|
||||
|
||||
compose() {
|
||||
Reference in New Issue
Block a user