From a782829b5f483a006d60b3726f2c33e1c0eda7f6 Mon Sep 17 00:00:00 2001 From: tinqs-limited Date: Wed, 20 May 2026 06:59:35 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20update=20MEMORY=20=E2=80=94=20no=20sep?= =?UTF-8?q?arate=20deploy,=20git.arikigame.com=20stays?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .cursor/MEMORY.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.cursor/MEMORY.md b/.cursor/MEMORY.md index de35dde4a4..93a1e21fb1 100644 --- a/.cursor/MEMORY.md +++ b/.cursor/MEMORY.md @@ -6,16 +6,17 @@ Prune past ~30 lines. Old entries archived in git history. - Fork of Gitea v1.26.1 (MIT license). Go module: `code.gitea.io/gitea`. - Binary name: `tinqs-git`. Product name: `tinqs-git`. -- Domain: `git.tinqs.com` (dev) → eventually replaces `git.arikigame.com` on cutover. +- 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. +- 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 `git.tinqs.com` ↔ `platform.tinqs.com`. +- 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`.