Serve /.well-known/source #79

Merged
jcoffey-dev merged 1 commits from feat/well-known-source into main 2026-10-29 05:31:13 +00:00
Owner

Serves /.well-known/source (https://coffeylabs.org/specs/well-known-source/) from the webmail's server: name, version, license, SOURCE_URL as the repository, and the commit the build was made from. At the host's root whatever BASE_PATH is.

  • The commit comes from INBUXA_REVISION (a build arg, like IHASMAIL_VERSION), else git's HEAD in a checkout with nothing uncommitted. Otherwise there's no document and the address is a 404.
  • Both image builds and deploy.example.sh pass the commit.
  • Checked: new tests (document, routing at root and under a base path, 404 without a commit); typecheck, full tests (1572 web, 287 server), release-version test and build; the image built with a revision serves it (GET/HEAD 200).
Serves `/.well-known/source` (https://coffeylabs.org/specs/well-known-source/) from the webmail's server: name, version, license, `SOURCE_URL` as the repository, and the commit the build was made from. At the host's root whatever `BASE_PATH` is. - The commit comes from `INBUXA_REVISION` (a build arg, like `IHASMAIL_VERSION`), else git's HEAD in a checkout with nothing uncommitted. Otherwise there's no document and the address is a 404. - Both image builds and `deploy.example.sh` pass the commit. - Checked: new tests (document, routing at root and under a base path, 404 without a commit); typecheck, full tests (1572 web, 287 server), release-version test and build; the image built with a revision serves it (GET/HEAD 200).
jcoffey-dev added 1 commit 2026-10-29 04:58:03 +00:00
Serve /.well-known/source
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m17s
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
2f90e9fbed
SOURCE_URL and the commit the build was made from, in the form
https://coffeylabs.org/specs/well-known-source/ defines, at the host's
root whatever the base path. The image build passes the commit as
INBUXA_REVISION, like the version; a clean checkout asks git. A build
that can't name its commit, or a checkout with uncommitted changes,
answers 404.
jcoffey-dev merged commit df4ff55809 into main 2026-10-29 05:31:13 +00:00
jcoffey-dev deleted branch feat/well-known-source 2026-10-29 05:31:13 +00:00
jcoffey-dev referenced this issue from a commit 2026-10-29 18:45:03 +00:00
Sign in to join this conversation.