chore: rework references for repo rename deploy-felhom-compose -> felhom-controller
Repo renamed on Gitea (admin/deploy-felhom-compose -> admin/felhom-controller). Updates clone URLs, clone dirs, the customer bootstrap URL, build.sh, BUILDING.md, README.md, CLAUDE.md, CONTEXT.md and TASK.md to the new name. No functional change: Go module path and Docker image path (both already 'felhom-controller') untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
## Repository layout
|
||||
|
||||
Source lives in the `controller/` subfolder of the deploy-felhom-compose repo:
|
||||
Source lives in the `controller/` subfolder of the felhom-controller repo:
|
||||
|
||||
```
|
||||
https://gitea.dooplex.hu/admin/deploy-felhom-compose
|
||||
https://gitea.dooplex.hu/admin/felhom-controller
|
||||
└── controller/
|
||||
├── cmd/controller/main.go
|
||||
├── internal/
|
||||
@@ -26,7 +26,7 @@ are flat in `controller/`, run the restructure script first (see Step 0).
|
||||
|
||||
## Build setup
|
||||
|
||||
Git repo: `/home/kisfenyo/git/deploy-felhom-compose`
|
||||
Git repo: `/home/kisfenyo/git/felhom-controller`
|
||||
Build dir: `/home/kisfenyo/build/felhom-controller/` (outside the repo — keeps it clean)
|
||||
|
||||
```bash
|
||||
@@ -41,7 +41,7 @@ chmod +x ~/build/felhom-controller/build.sh
|
||||
If all `.go` files are in `controller/` without subdirectories:
|
||||
|
||||
```bash
|
||||
cd ~/git/deploy-felhom-compose/controller
|
||||
cd ~/git/felhom-controller/controller
|
||||
bash restructure.sh
|
||||
# Verify it compiles
|
||||
go mod tidy && go build ./cmd/controller/
|
||||
@@ -107,7 +107,7 @@ Build artifacts live in `~/build/felhom-controller/workspace/` — your git repo
|
||||
Edit the top of `build.sh` if your paths differ:
|
||||
|
||||
```bash
|
||||
REPO_DIR="/home/kisfenyo/git/deploy-felhom-compose"
|
||||
REPO_DIR="/home/kisfenyo/git/felhom-controller"
|
||||
CONTROLLER_SRC="${REPO_DIR}/controller"
|
||||
WEBSITE_ASSETS_DIR="/home/kisfenyo/git/felhom.eu/website/assets"
|
||||
```
|
||||
@@ -183,7 +183,7 @@ curl -v https://gitea.dooplex.hu/v2/
|
||||
### Structure check fails
|
||||
```bash
|
||||
# The build script verifies package dirs exist. If it fails:
|
||||
cd ~/git/deploy-felhom-compose/controller
|
||||
cd ~/git/felhom-controller/controller
|
||||
ls -la cmd/controller/ internal/config/ internal/stacks/ internal/api/ internal/web/
|
||||
# If these don't exist, run restructure.sh first
|
||||
```
|
||||
|
||||
@@ -1730,7 +1730,7 @@ Response format: `{"ok": true/false, "data": ..., "error": "...", "message": "..
|
||||
```bash
|
||||
# On build server (192.168.0.180)
|
||||
cd ~/build/felhom-controller
|
||||
git -C ~/git/deploy-felhom-compose pull
|
||||
git -C ~/git/felhom-controller pull
|
||||
./build.sh v0.20.0 --push
|
||||
```
|
||||
|
||||
@@ -1828,6 +1828,6 @@ See `docker-compose.yml` for the full volume configuration.
|
||||
|
||||
| Repository | Purpose |
|
||||
|------------|---------|
|
||||
| [deploy-felhom-compose](https://gitea.dooplex.hu/admin/deploy-felhom-compose) | This repo — controller + deploy scripts |
|
||||
| [felhom-controller](https://gitea.dooplex.hu/admin/felhom-controller) | This repo — controller + deploy scripts |
|
||||
| [app-catalog-felhom.eu](https://gitea.dooplex.hu/admin/app-catalog-felhom.eu) | Docker Compose templates + .felhom.yml metadata |
|
||||
| [felhom.eu](https://gitea.dooplex.hu/admin/felhom.eu) | Website + app assets + felhom-hub service |
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
# --- Configuration (edit these if your paths differ) ---
|
||||
REPO_DIR="/home/kisfenyo/git/deploy-felhom-compose"
|
||||
REPO_DIR="/home/kisfenyo/git/felhom-controller"
|
||||
CONTROLLER_SRC="${REPO_DIR}/controller"
|
||||
WEBSITE_ASSETS_DIR="/home/kisfenyo/git/felhom.eu/website/assets"
|
||||
REGISTRY="gitea.dooplex.hu/admin"
|
||||
@@ -40,7 +40,7 @@ step() { echo -e "${CYAN}[STEP]${NC} $*"; }
|
||||
# --- Pre-flight checks ---
|
||||
if [[ ! -d "${CONTROLLER_SRC}" ]]; then
|
||||
error "Controller source not found: ${CONTROLLER_SRC}"
|
||||
error "Clone the repo first: git clone https://gitea.dooplex.hu/admin/deploy-felhom-compose.git ${REPO_DIR}"
|
||||
error "Clone the repo first: git clone https://gitea.dooplex.hu/admin/felhom-controller.git ${REPO_DIR}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user