a782829b5f
Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
2.0 KiB
Markdown
23 lines
2.0 KiB
Markdown
# MEMORY — tinqs-git
|
|
|
|
Prune past ~30 lines. Old entries archived in git history.
|
|
|
|
## Facts
|
|
|
|
- Fork of Gitea v1.26.1 (MIT license). Go module: `code.gitea.io/gitea`.
|
|
- Binary name: `tinqs-git`. Product name: `tinqs-git`.
|
|
- Deployment: **No separate deploy.** `git.arikigame.com` remains the single Git instance. tinqs-git tested locally against live DB clone. `git.tinqs.com` reserved for future productization.
|
|
- DB: SQLite (`gitea.db`), compiled into binary via CGo `sqlite` tag.
|
|
- LFS: S3 backend (`tinqs-gitea-lfs` bucket), `SERVE_DIRECT = true`.
|
|
- Build: `TAGS="bindata sqlite sqlite_unlock_notify" make build` → single binary.
|
|
- CI: Gitea Actions on `lightsail-v2-host` runner (label: `host`).
|
|
- Upstream sync: quarterly rebase onto upstream main + cherry-pick CVEs.
|
|
- Live instance: AWS Lightsail `gitea-tinqs` (46.51.144.31), Ubuntu 24.04.
|
|
- Platform integration: OAuth2 SSO between tinqs-git ↔ `platform.tinqs.com` (future).
|
|
|
|
## Recent
|
|
|
|
- **2026-05-20 — No separate deploy. git.arikigame.com stays.** Removed deploy.yml. All testing against live DB clone locally. `git.arikigame.com` is the single Git instance — repos can contain repos (tinqs-git lives in `tinqs-ltd/tinqs-git`). Cutover to tinqs-git on the same instance when ready.
|
|
- **2026-05-20 — HTML preview: single file + diff views.** Added `IsHTMLFile` flag and `handleFileViewRenderHTML` to `view_file.go`. Single file view now renders `.html` files in an iframe with source/code toggle. Added `html_diff.tmpl` for PR/diff views — before/after iframes side-by-side with source/diff toggle. Toggle controls follow existing image/CSV pattern (`HasSourceRenderedToggle`). Supports both `.html` and `.htm` extensions.
|
|
- **2026-05-20 — Repo created, agent infrastructure set up.** Forked Gitea v1.26.1 into `tinqs-ltd/tinqs-git`. Branch `tinqs/main` for our customizations. Full `.cursor/` agent infrastructure (SOUL, MEMORY, AGENTS, rules), CI pipeline (`.gitea/workflows/build.yml`), EPIC.md, README.md. Epic in docs: `tinqs-ltd/docs/.cursor/plans/tinqs-git-fork.plan.md`.
|