Files
Chronos/docs/requests/2026-10-23-chronos-gitea.md
T
Alby96andClaude Opus 5.5 5f27a86406
CI / Build and test (pull_request) Failing after 2m3s
CI / PostgreSQL 16 integration (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Skipped
CI / Docker image (pull_request) Skipped
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 4s
refactor!: rename Titano to Chronos and move CI and releases to Gitea
The owner renamed the product and moved the repository to the self-hosted
Gitea (https://gitea.encke-hake.ts.net/BalboSoft/Chronos) for more control,
and asked for Actions and a first automatic release with the server package
and the Windows exe (docs/requests/2026-10-23-chronos-gitea.md).

- Chronos everywhere: a byte-exact rename of contents and paths, then a
  per-language review of the forms the old name's ending had dictated.
- Gitea instead of GitHub: the update check, licence, issue and support
  links read ChronosReleasesUrl; the update check takes the highest stable
  version, offers a pre-release build its final release and reports a
  repository it cannot see as a failed check. EULA, security policy and
  Gitea issue forms live at the repository root.
- Gitea Actions for the Linux act_runner (.gitea/workflows): CI, release,
  nightly image and performance gates in the .NET SDK container with git
  checkout. The release cross-compiles the Windows programs, checks their
  icon, version and DPI manifest, packs installers and zips, publishes the
  Gitea release and pushes the server image (REGISTRY_TOKEN). Windows-only
  tests run in an opt-in job on a Windows runner (WINDOWS_RUNNER).
- New Chronos.Tools commands: zip, gitea-release, postgres-ci (replaces the
  docker-exec script, which Gitea's service containers do not allow) and
  pe-check.

BREAKING CHANGE: programs, settings, data folders, file types, environment
variables and the Docker image use the new name; nothing is migrated from
Titano, which never had a release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 11:34:48 +02:00

4.3 KiB

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 Tagged after the merge into main; the server image waits for REGISTRY_TOKEN — — —