mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 15:26:09 +00:00
chore: add phase 0 spike scripts and results
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
5f54fb88f8
6 files changed
+99
No files matched your search
@@ -0,0 +1,4 @@
|
||||
# Decisions
|
||||
|
||||
1. Custom refs on Gitea/Forgejo: supported on Forgejo 11, no fallback needed (see `phase0-spike.md`). Real instance pending.
|
||||
2-5. Open.
|
||||
@@ -0,0 +1,23 @@
|
||||
# Phase 0 spike: custom refs on Gitea/Forgejo
|
||||
|
||||
Scripts: `spikes/forgejo-up.sh` (throwaway Forgejo 11 via Podman), `spikes/snapshot.sh`
|
||||
(plumbing-only snapshot), `spikes/phase0.sh` (end-to-end checks).
|
||||
|
||||
## Results (Forgejo 11, local, 2026-11-16)
|
||||
|
||||
| Question | Result |
|
||||
|---|---|
|
||||
| Push `refs/sync/<machine>/<branch>` (force) | Accepted |
|
||||
| Appears as a branch (API `/branches`) | No, only `main` |
|
||||
| Visible via API `/git/refs` | Yes (so not fully hidden; UI not checked visually) |
|
||||
| Fetchable from another clone (`+refs/sync/*:refs/sync/*`) | Yes; tree contains tracked, staged and untracked files, excludes ignored |
|
||||
| Snapshot leaves branch, index and history untouched | Yes (temp `GIT_INDEX_FILE`) |
|
||||
| Included by push mirror | No, mirror received only `refs/heads/main` (+HEAD) |
|
||||
|
||||
Conclusion: **no fallback needed** for Forgejo. Section 7.1 design holds.
|
||||
|
||||
## Caveats / pending
|
||||
- Verified on Forgejo 11 only. The real instance at git.zenvairo.es (Gitea or Forgejo, version unknown) still has to be checked; needs a throwaway repo there (external effect, awaiting approval).
|
||||
- UI visibility not verified visually.
|
||||
- Push mirrors to a local target need `migrations.ALLOW_LOCALNETWORKS`; irrelevant for real targets.
|
||||
- GitHub as a direct target of `refs/sync/*` is not tested (design never pushes them there).
|
||||
Reference in new issue
Block a user