Repository navigation
docs: align the README with the other apps - #429
Conversation
Give the README the structure of Cloud Registry's and proTES's: the ELIXIR On-Cloud logo, title, the same badge set (plus PyPI), a synopsis with what FOCA provides, a "why FOCA" section with measured line counts, the apps built with FOCA, a quick start and contributing. Links and images are absolute, as the README is also the PyPI project page; the old logos at the bottom are removed. The docs' index page includes the synopsis, "why FOCA" and app sections of the README (pymdownx.snippets), as Cloud Registry's does. Versioning and releasing move to "Versioning and releases" in the contributing guide, the image tags to "Docker" in Getting started; references to the old README sections are updated. Closes #426 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Name exactly what Cloud Registry doesn't use of FOCA and state the two fractions as two metrics; remove the FOCA logo that the docs' index no longer uses and a stray backup of the hint icon. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideAligns the README and documentation homepage with the other ELIXIR On-Cloud applications, using shared README snippets to prevent duplicated content from drifting, relocating release and Docker guidance into dedicated documentation, and repairing links and assets affected by the restructuring. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #429 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 27 27
Lines 2869 2869
=========================================
Hits 2869 2869
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="README.md" line_range="36" />
<code_context>
+- CORS and a [GA4GH service
+ info](https://github.com/ga4gh-discovery/ga4gh-service-info) endpoint;
+- Docker base images and a Helm library chart for Kubernetes, signed and with
+ SBOM and provenance attestations.
+<!-- --8<-- [end:synopsis] -->
+
</code_context>
<issue_to_address>
**Chart SBOM is unavailable**
When readers interpret the synopsis as promising an SBOM for the Helm chart, the synopsis says the chart has SBOM and provenance attestations, but the release workflow only signs the chart and attests provenance; chart users cannot find the promised SBOM.
Remove the claim that the Helm chart has an SBOM.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: README.md:36
Only the images come with an SBOM; the chart has a provenance attestation and a signature. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve the conflicts with #429, which moved the release steps from the README to "Versioning and releases" in the contributing guide: describe the scan-before-sign flow there, and point the release workflow's header to it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
Closes #426 (base is
dev, so the issue is closed by hand after the merge).README.mdnow has the structure and style of Cloud Registry's and proTES's READMEs:All links and images are absolute, because the README is also the PyPI project page. The old logos at the bottom are removed (
images/logo-banner.svg,images/foca_logo_192px.png), as are the License, Contact, Versioning, Releasing and Docker image sections.docs/index.mdincludes the README's synopsis, "Why FOCA" and app sections viapymdownx.snippets, as Cloud Registry's docs do, so the overlap can't drift. The page also has a Contents list, License and Contact.Moved content:
docs/contributing.md.docs/getting-started.md.pyproject.toml, therelease.ymlandscan.ymlcomments, and the contributing guide.The numbers
The counts are code lines: lines spanned by any Python token except comments and line breaks (via
tokenize), so blank lines and comments are excluded and docstrings are included. Chart files count non-blank lines that are not#or{{/* */}}comments. Rendered test snapshots are excluded. Measured on FOCAdev(this branch, merged witha629254) and Cloud Registrydev(f4a8acd).foca/**/*.py)factories/celery_app.py,utils/db.pytests/**/*.py)foca-commonchart (templates, schema,Chart.yaml)cloud_registry/**/*.py)tests/**/*.py)Script (
count_sloc.py):Commands (from the parent directory of both clones):
Note: Cloud Registry's YAML specs and config (1,341 more lines) are not counted as its own code. proTES (2,841 lines of code) still uses FOCA 0.15, so it is not used for the numbers.
Verification
pre-commit run --all-files: all hooks passed.mkdocs build --strict: passed. The index page renders the README's sections.python -m buildandtwine check --strict dist/*: both passed. Withreadme_renderer[md], the rendered long description has only absolute image and link URLs.Declined review findings
The quality reviewer found nothing high or medium. Declined low findings:
images/foca_logo.svgandimages/foca_seal.svg. Declined: both were already unused before this PR, and they are brand assets that others may link to. The FOCA logo that this PR made unused (docs/images/foca_logo.svg) is removed.Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
Refresh the README and documentation structure to provide consistent, PyPI-compatible project guidance across FOCA and related applications.
New Features:
Bug Fixes:
Enhancements:
Build:
Documentation:
Chores: