From 5cc6064e1146bf4f7b043697fc2bd88897891f15 Mon Sep 17 00:00:00 2001 From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com> Date: Sat, 28 Mar 2026 13:36:37 -0700 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20Dockerfile=20.git-commit=20COPY=20fa?= =?UTF-8?q?ils=20on=20legacy=20builder=20=E2=80=94=20use=20RUN=20default?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The glob trick COPY .git-commi[t] only works with BuildKit. manage.sh uses legacy docker build. Just create a default via RUN. Commit hash comes through --build-arg ldflags anyway. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 427a5d4f..9920a105 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,9 +34,9 @@ COPY --from=builder /meshcore-server /meshcore-ingestor /app/ COPY public/ ./public/ COPY config.example.json channel-rainbow.json ./ -# Bake git commit SHA (CI writes .git-commit before build; fallback for non-ldflags usage) -COPY .git-commi[t] ./ -RUN if [ ! -f .git-commit ]; then echo "unknown" > .git-commit; fi +# Bake git commit SHA — manage.sh and CI write .git-commit before build +# Default to "unknown" if not provided +RUN echo "unknown" > .git-commit # Supervisor + Mosquitto + Caddy config COPY docker/supervisord-go.conf /etc/supervisor/conf.d/supervisord.conf From 1453fb6492123f4b8c48b7f0609d368538f7da1d Mon Sep 17 00:00:00 2001 From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com> Date: Sat, 28 Mar 2026 13:51:41 -0700 Subject: [PATCH 2/2] docs: add CoreScope rename migration guide Documents what existing users need to update when the rename from MeshCore Analyzer to CoreScope lands: - Git remote URL update - Docker image/container name changes - Config branding.siteName (if customized) - CI/CD references (if applicable) - Confirms data dirs, MQTT, browser state unchanged Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/rename-migration.md | 101 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 docs/rename-migration.md diff --git a/docs/rename-migration.md b/docs/rename-migration.md new file mode 100644 index 00000000..15c031cf --- /dev/null +++ b/docs/rename-migration.md @@ -0,0 +1,101 @@ +# CoreScope Migration Guide + +MeshCore Analyzer has been renamed to **CoreScope**. This document covers what you need to update. + +## What Changed + +- **Repository name**: `meshcore-analyzer` → `corescope` +- **Docker image name**: `meshcore-analyzer:latest` → `corescope:latest` +- **Docker container prefixes**: `meshcore-*` → `corescope-*` +- **Default site name**: "MeshCore Analyzer" → "CoreScope" + +## What Did NOT Change + +- **Data directories** — `~/meshcore-data/` stays as-is +- **Database filename** — `meshcore.db` is unchanged +- **MQTT topics** — `meshcore/#` topics are protocol-level and unchanged +- **Browser state** — Favorites, localStorage keys, and settings are preserved +- **Config file format** — `config.json` structure is the same + +--- + +## 1. Git Remote Update + +Update your local clone to point to the new repository URL: + +```bash +git remote set-url origin https://github.com/Kpa-clawbot/corescope.git +git pull +``` + +## 2. Docker (manage.sh) Users + +Rebuild with the new image name: + +```bash +./manage.sh stop +git pull +./manage.sh setup +``` + +The new image is `corescope:latest`. You can clean up the old image: + +```bash +docker rmi meshcore-analyzer:latest +``` + +## 3. Docker Compose Users + +Rebuild containers with the new names: + +```bash +docker compose down +git pull +docker compose build +docker compose up -d +``` + +Container names change from `meshcore-*` to `corescope-*`. Old containers are removed by `docker compose down`. + +## 4. Data Directories + +**No action required.** The data directory `~/meshcore-data/` and database file `meshcore.db` are unchanged. Your existing data carries over automatically. + +## 5. Config + +If you customized `branding.siteName` in your `config.json`, update it to your preferred name. Otherwise the new default "CoreScope" applies automatically. + +No other config keys changed. + +## 6. MQTT + +**No action required.** MQTT topics (`meshcore/#`) are protocol-level and are not affected by the rename. + +## 7. Browser + +**No action required.** Bookmarks/favorites will continue to work at the same host and port. localStorage keys are unchanged, so your settings and preferences are preserved. + +## 8. CI/CD + +If you have custom CI/CD pipelines that reference: + +- The old repository URL (`meshcore-analyzer`) +- The old Docker image name (`meshcore-analyzer:latest`) +- Old container names (`meshcore-*`) + +Update those references to use the new names. + +--- + +## Summary Checklist + +| Item | Action Required? | What to Do | +|------|-----------------|------------| +| Git remote | ✅ Yes | `git remote set-url origin …corescope.git` | +| Docker image | ✅ Yes | Rebuild; optionally `docker rmi` old image | +| Docker Compose | ✅ Yes | `docker compose down && build && up` | +| Data directories | ❌ No | Unchanged | +| Config | ⚠️ Maybe | Only if you customized `branding.siteName` | +| MQTT | ❌ No | Topics unchanged | +| Browser | ❌ No | Settings preserved | +| CI/CD | ⚠️ Maybe | Update if referencing old repo/image names |