Files
Chronos/docs/requests/2026-10-23-chronos-gitea.md
T
Alby96andClaude Opus 5.5 5acdf146c7
CI / Build and test (push) Successful in 6m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 6s
CI / PostgreSQL 16 integration (push) Successful in 4m51s
CI / PostgreSQL 17 integration (push) Successful in 4m52s
CI / Docker image (push) Successful in 56s
Release / Build, test and publish (push) Successful in 11m38s
Release / Server image (push) Successful in 3m13s
docs: changelog and status for 0.1.0-rc.2 (#8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
2026-10-23 14:41:07 +02:00

53 lines
4.7 KiB
Markdown

# Chronos on Gitea (2026-10-23)
## Owner's text (verbatim, Italian)
> Ho cambiato il nome dell'applicazione da Titano a Chronos e la repository da Github a Gitea selfhosted per un
> maggiore controllo. Cambia quindi ogni riferimento a Titano con "Chronos" e ogni riferimento a Github con Gitea. Crea
> quindi Actions e la prima release automatica che crea sia il pacchetto server che l.exe Windows. Ci occuperemo poi
> successivamente delle modifiche
## Interpretation
| Id | Request | Working interpretation |
|---|---|---|
| R1 | Titano → Chronos | Every identifier, file and folder name, namespace, setting, environment variable (`CHRONOS_*`), data folder (`%LOCALAPPDATA%\Chronos`), file type (`.chronos`), sidecar folder, Docker image, string and document. Translations keep the name in Latin script; where a language declined it (Finnish, Estonian, Hungarian, Turkish, Scandinavian genitives, Slavic and Baltic cases), the forms are those of "Chronos". |
| R2 | GitHub → Gitea | The repository is `BalboSoft/Chronos` on `https://gitea.encke-hake.ts.net`. Workflows and scripts move to `.gitea/`; the update check, licence, issue and support links read the Gitea repository; images go to the Gitea container registry; issue forms follow Gitea's schema. GitHub stays only where something really is GitHub's (upstream links in `.gitignore`, GitHub token patterns the diagnostics scrub, the `GITHUB_*` variables Gitea Actions sets). |
| R3 | Actions and the first release | Gitea Actions workflows for CI, release, nightly image and performance gates that run on the owner's runner (act_runner, Docker mode, Linux). A tag builds the Windows programs (installers, portable and server zips) and the server image and publishes them as a Gitea release and a Gitea package. |
| — | "Ci occuperemo poi successivamente delle modifiche" | Functional changes come later: nothing else changes now. |
## What the runner allows (measured 2026-10-23 with a throw-away workflow on branch `ci-probe`)
- One runner, act_runner 0.6.1 in Docker mode, label `ubuntu-latest`, on the Linux host that also runs Gitea; one job at
a time; the host's Docker socket is mounted into the job containers.
- The .NET SDK image has git, curl, openssl and PowerShell but no Node.js: JavaScript actions cannot run in it, so jobs
check out with git. `job.services.<id>.id` and `job.container.network` are empty: a step cannot `docker exec` into a
service container. Service containers are reached by their name (`postgres`).
- The Windows programs cross-compile on Linux with their icon, version information and PerMonitorV2 manifest (checked by
reading the resources of the published executables); `pack-installer` runs on Linux.
- The workflow's own token (user `gitea-actions`) cannot sign in to the organisation's container registry: images need
the `REGISTRY_TOKEN` secret.
- The `BalboSoft` organisation is not visible to anonymous visitors.
## Questions for the owner
Nothing blocked the work; these need the owner because they are the owner's settings or credentials:
1. Create an access token with *package: read and write* and save it as the repository secret `REGISTRY_TOKEN`, so the
release and nightly workflows can push the server image (then re-run the release's *Server image* job).
2. Make the organisation (and its packages) public if other people must download releases, receive update notices and
pull the image; otherwise they need an account on the Gitea.
3. Optional: register an act_runner on a Windows PC (host mode) and set the repository variable `WINDOWS_RUNNER` to its
label, so CI also runs the Windows-only tests, the screenshots and the installer test.
4. Optional: a code-signing certificate (`SIGN_PFX_BASE64`, `SIGN_PASSWORD`). The Linux release signs with osslsigncode,
the counterpart of the Windows SDK's signtool, installed only when those secrets exist: veto it if build-time tools
other than the SDK's are not wanted.
## Delivery
| Phase | State | Commit | BRIEF | DECISIONS |
|---|---|---|---|---|
| R1 rename, R2 Gitea references, R3 workflows and tools | Done | `refactor!: rename Titano to Chronos and move CI and releases to Gitea` | §0.2, §3, §16, §18, §19, §20.2, §21, §22, §23, §24, Appendix A | rows dated 2026-10-23 |
| First release `v0.1.0-rc.1` | Published after the merge into `main`; the server image waits for `REGISTRY_TOKEN` | `refactor!: rename Titano to Chronos and move CI and releases to Gitea (#6)` | — | — |
| Update links, `v0.1.0-rc.2` | Published: the update check builds its links from `ChronosReleasesUrl` (Gitea's use its LAN ROOT_URL); the server image waits for `REGISTRY_TOKEN` | `fix(app): build update links from the releases repository address (#7)` | §18 | row dated 2026-10-23 (update links) |