Use Gitea as explorer primary and harden wallet metadata
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -1,7 +1,7 @@
|
||||
[submodule "explorer-monorepo"]
|
||||
path = explorer-monorepo
|
||||
url = https://github.com/Order-of-Hospitallers/chain-138-explorer.git
|
||||
# Note: If remote repository doesn't exist, this is a local-only submodule
|
||||
url = https://gitea.d-bis.org/d-bis/explorer-monorepo.git
|
||||
# Primary integration remote is Gitea; use GitHub only as an optional mirror when available.
|
||||
[submodule "mcp-proxmox"]
|
||||
path = mcp-proxmox
|
||||
url = https://github.com/gilby125/mcp-proxmox.git
|
||||
|
||||
@@ -31,12 +31,13 @@ Stricter than `git status -sb` (fails on any porcelain output). Use after large
|
||||
|
||||
---
|
||||
|
||||
## explorer-monorepo: Gitea vs GitHub
|
||||
## explorer-monorepo: Gitea primary, GitHub optional mirror
|
||||
|
||||
- **Parent `.gitmodules` URL:** `https://github.com/Order-of-Hospitallers/chain-138-explorer.git` (canonical clone source for fresh submodules).
|
||||
- **Day-to-day pushes** may go to **Gitea** (`gitea` remote → `https://gitea.d-bis.org/d-bis/explorer-monorepo.git`) when that is the integration remote.
|
||||
- **Parent `.gitmodules` URL:** `https://gitea.d-bis.org/d-bis/explorer-monorepo.git` (primary clone and integration source).
|
||||
- **Primary pushes** should go to **Gitea** (`origin` or `gitea` remote → `https://gitea.d-bis.org/d-bis/explorer-monorepo.git`).
|
||||
- **GitHub** is optional as a mirror only when that repository exists and your team still needs it.
|
||||
|
||||
**Keep GitHub in sync** if your team pulls from GitHub only: after pushing to Gitea, push the same branch to `origin` on GitHub (or set up mirroring). If `git push origin master` returns **repository not found**, the GitHub repo may be private under another org/name, or may not exist yet — use **`gitea`** as the integration remote until GitHub access is fixed.
|
||||
If `git push` to a GitHub mirror returns **repository not found**, treat that as a mirror problem, not the primary integration path. Continue using **Gitea** as the source of truth until a valid GitHub mirror URL is confirmed.
|
||||
|
||||
**Do not store credentials in remote URLs.** Use SSH (`git@github.com:...`) or HTTPS with a credential helper. If you see a remote whose name or URL embeds a token, remove it and re-add a clean remote:
|
||||
|
||||
@@ -44,7 +45,7 @@ Stricter than `git status -sb` (fails on any porcelain output). Use after large
|
||||
cd explorer-monorepo
|
||||
git remote -v
|
||||
# git remote remove '<bad-remote-name>'
|
||||
git remote add origin https://github.com/Order-of-Hospitallers/chain-138-explorer.git
|
||||
git remote add origin https://gitea.d-bis.org/d-bis/explorer-monorepo.git
|
||||
```
|
||||
|
||||
**Rotate** any token that was ever embedded in a saved URL.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Explorer Monorepo — Gitea Push
|
||||
|
||||
**Last Updated:** 2026-02-10
|
||||
**Status:** Explorer monorepo is pushed to Gitea. **virtual-banker** is not part of and not referenced by explorer-monorepo; it lives as a separate repo in the projects directory (`/home/intlc/projects/virtual-banker`) and on Gitea as [d-bis/virtual-banker](https://gitea.d-bis.org/d-bis/virtual-banker).
|
||||
**Status:** Explorer monorepo uses Gitea as its primary integration remote. **virtual-banker** is not part of and not referenced by explorer-monorepo; it lives as a separate repo in the projects directory (`/home/intlc/projects/virtual-banker`) and on Gitea as [d-bis/virtual-banker](https://gitea.d-bis.org/d-bis/virtual-banker).
|
||||
|
||||
---
|
||||
|
||||
@@ -23,7 +23,7 @@ bash scripts/dev-vm/push-all-projects-to-gitea.sh
|
||||
|
||||
## Why explorer-monorepo isn’t pushed by the usual script
|
||||
|
||||
- **explorer-monorepo** is a **submodule** of the proxmox repo (`explorer-monorepo` → `https://github.com/Order-of-Hospitallers/chain-138-explorer.git`).
|
||||
- **explorer-monorepo** is a **submodule** of the proxmox repo (`explorer-monorepo` → `https://gitea.d-bis.org/d-bis/explorer-monorepo.git`).
|
||||
- **push-all-projects-to-gitea.sh** only considers **direct children** of `PROJECTS_DIR` (default `/home/intlc/projects`), i.e. sibling repos like `proxmox`, `dbis_core`, not subdirectories/submodules inside proxmox.
|
||||
- So explorer-monorepo is never discovered or pushed by that script.
|
||||
|
||||
@@ -72,4 +72,4 @@ If the repo is large and the push fails with **HTTP 413**, follow [GITEA_LARGE_P
|
||||
## After pushing
|
||||
|
||||
- In Gitea, add labels per [GITEA_ORG_STRUCTURE.md](GITEA_ORG_STRUCTURE.md): e.g. `project/explorer`, `domain/blockchain` / `domain/web` as appropriate.
|
||||
- To make the proxmox repo point at Gitea for this submodule (optional): update `.gitmodules` and submodule remote to `https://gitea.d-bis.org/d-bis/explorer-monorepo.git` and run `git submodule sync`.
|
||||
- The proxmox repo now points at Gitea for this submodule by default. After cloning or after remote changes, run `git submodule sync explorer-monorepo` so local submodule config follows `.gitmodules`.
|
||||
|
||||
Submodule explorer-monorepo updated: 1e3a3f00ef...a2555b4149
Reference in New Issue
Block a user