Repository navigation
docs: update README and Read the Docs build - #113
Merged
Merged
Conversation
Take the package version from Git tags (setuptools-scm). Signed `vX.Y.Z` tags on `main` trigger a release workflow: it builds and pushes the image as `X.Y.Z` (and `latest` for the highest release), packages the Helm chart with version and appVersion from the tag, and creates a GitHub release with the chart attached, after approval in the `release` environment. Images from `dev` are tagged `dev` and `sha-<commit>` in the `dev-images` environment; the date tags and philips-software/docker-ci-scripts are gone. The chart takes the image tag from the new value `cloud_registry.tag`, which defaults to the chart's appVersion. Closes #81 BREAKING CHANGE: Docker Hub `latest` now points to the latest release, not to the latest `dev` build; use `dev` or `sha-<commit>` for those. Date-tagged images are no longer pushed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Scope the release concurrency group per tag, so that a run waiting for approval is not cancelled by the run of another tag. - Decide `latest` in the `publish` job, after approval, from stable release tags merged into `main`, so that re-runs of older releases and stray tags do not move or freeze it. - Accept pre-release tags (`vX.Y.ZaN`, `bN`, `rcN`): GitHub pre-release, chart version `X.Y.Z-rcN`, never `latest`. - Check out the commit verified by `prepare` in `publish`. - Build and load the release image first, check that the app reports the release version, then push. - Pass the version build argument in Docker Compose, and check it in the smoke test. - Pin setuptools-scm for dev image versions in requirements_dev.txt (as a constraint), where Dependabot updates it. - README: tag requirements, pre-releases, environment-only Docker Hub secrets and the tag ruleset. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Check that the installed package version and the setuptools-scm fallback version are valid PEP 440 versions. Compare the default image tag with the chart's appVersion, package charts with pre-release versions, and cover registries with a port and a tag. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Build the release image once, check its version, then push exactly that image; log in to Docker Hub only after the check. - Push the version tag first; decide `latest` last, from freshly fetched tags on `main`, then push `latest` and pass the same decision to the GitHub release (also on reruns). - Accept canonical versions only (no leading zeros), also when ranking stable releases for `latest`. - Require a signature verified by GitHub (API of the tag object) instead of looking for an armored signature block. - Tests: use `packaging` for PEP 440 versions, check that SETUPTOOLS_SCM_PRETEND_VERSION is honoured and that a tag `v1.2.3` yields `1.2.3`; cover `a`/`b` pre-release chart versions. Declare `packaging` and `tomli` (Python 3.10) in requirements_dev.txt. - Chart placeholder `version: 0.0.0`; docs: verified signatures, the repository settings the workflows rely on, and no release number before the first release. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Sphinx config read the version from pyproject.toml, which no longer has one, so the Read the Docs build failed. Derive it with setuptools-scm instead (the package is not installed for the docs). Co-Authored-By: Claude Opus 5.5 <[email protected]>
They are generated by sphinx-apidoc on each build and were committed by mistake; ignore them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # deployment/Chart.yaml # deployment/values.yaml # tests/helm.py # tests/test_chart.py
With charts released from Git tags (0.3.0 and later) and the repository chart at 0.0.0, there is no chart version 4. Refer to the charts 2.x and 3.0.0 as the legacy charts and to the new one as the current chart, in the upgrade guide, the template comments and the error messages of the removed `cloud_registry.appName` and of upgrades of legacy releases, and in the tests that match them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
README: table of contents; new API (GA4GH endpoints unchanged, table of all endpoints and who may call them), Authentication, Kubernetes and Development sections; Codecov badge; current deployment URL; typos. Read the Docs: install the package, fetch tags for the version, fail on warnings, document namespace packages, fix the index page and its "ELIXR" typo. Closes #80 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Clone via HTTPS, note that new identifiers can only be registered by admins with PUT, drop history notes from the API section, fetch tags on Read the Docs without hiding errors, and note the shared setuptools-scm pin. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThe PR refreshes the project documentation and makes the Read the Docs pipeline produce version-aware, populated API pages by installing the package, fetching tags, resolving paths robustly, and failing on warnings. The README is reorganized into a navigable guide with detailed API authorization, authentication, deployment, configuration, development, and release documentation, along with corrected links and project metadata. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
#112 was squash-merged into dev (2737709); its tree equals the branch base 8d15276, so conflicts are resolved with this branch's versions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #113 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 573 573
=========================================
Hits 573 573 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uniqueg
marked this pull request as ready for review
October 20, 2026 21:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the README and the Read the Docs build (#80). Builds on #112 (releases from tags), which is merged;
devwas merged into this branch.README:
securitysettings and the access control policies); extensions such as pagination, search or filters will be reconsidered with the upcoming new Service Registry spec.Read the Docs:
fail_on_warning: true.conf.py: paths from the file's location, namespace packages documented (cloud_registry.service_models), no duplicate-object warnings; index page fixed ("ELIXR" typo, danglingindicesentry, short intro).Closes #80
Verification
-W --keep-going(Python 3.10 as on Read the Docs, and 3.12): no warnings; module pages have content.pytest: 389 passed;ruff check: passed.pre-commit run(hook repositories couldn't be fetched in the sandbox; hooks run individually instead).CI: see checks.
🤖 Generated with Claude Code
Summary by Sourcery
Improve project documentation and ensure Read the Docs publishes complete, warning-free API documentation.
Bug Fixes:
Enhancements:
Build:
Documentation: