Skip to content

docs: make the registry commands copy-paste - #221

Merged
uniqueg merged 3 commits into
mainfrom
docs/204-cloud-registry
Nov 25, 2026
Merged

uniqueg merged 3 commits into
mainfrom
docs/204-cloud-registry

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Closes #223 (part of #204, Architects & Operators section review; parent #202).

Summary

Second pass of the Architects & Operators review: the Cloud Registry operator pages (operators/cloud-registry.md, operators/using-cloud-registry-ui.md), which no open PR changes (#211 changes using-cloud-registry.md only).

  • Copy-paste commands: the shell blocks of cloud-registry.md had literal placeholders (<namespace> in about 40 commands, <release>, <digest>, <timestamp>, <chart version>), which fail or redirect from a file named <...> when pasted. The page now sets NAMESPACE="..." once, after the overview, and the blocks that need other values set them where they're used (RELEASE, DIGEST, ARCHIVE, CHART_VERSION), always quoted. The sh -c '...' strings run inside the MongoDB pod are unchanged.
  • Facts checked against the live registry's service info and the releases: 1.0.0rc2 / UI 1.0.0-rc2 are the latest releases and what runs; environments [prod, test], serviceTypes: controlled, 20 services per user, https only, sync every 24 h, contact address: all as the pages say. All links of the UI page and the user guide's anchors answer 200, so it gets a verified date (was null).
  • Style (D-423, quoted from decisions.md): "canceled" (matches the TES state CANCELED); "for example" instead of "e.g."; "you" in steps, "we" only for our own testing notes; short ELIXIR/GA4GH tooltips. Paragraphs touched by that are rewrapped.

cloud-registry.md keeps last_verified: null: its 1,800 lines (values, network policies, backups) weren't all checked against the chart in this pass.

Verification

  • python scripts/check_names.py: passes.
  • mkdocs build --strict (with the registry): passes.
  • pytest: 356 passed, 100% coverage.
  • grep for <namespace>|<release>|<digest>|<timestamp>|<chart version> in shell blocks: none left.

Light lane

Docs only: no code, CI or configuration. Reviewed by me instead of the reviewer subagents.

Declined review findings

  • The Kubernetes manifests on the page (CronJob, UI Deployment) keep namespace: <namespace> and @sha256:<digest>: they are files you edit before kubectl apply, not shell commands.

Open questions

None for this PR. A structural question for the section (whether to drop the finished one-time upgrade sections of cloud-registry.md) goes to the maintainer with the review findings of #204.

🤖 Generated with Claude Code

https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5

Summary by Sourcery

Make the Cloud Registry operator documentation safer to follow by providing copy-pasteable commands and refreshing its verified guidance.

Enhancements:

  • Make Cloud Registry operator documentation shell commands copy-pasteable by replacing literal placeholders with reusable, quoted variables.
  • Improve wording, formatting, and terminology across the Cloud Registry operator pages for consistency and readability.
  • Verify the Cloud Registry UI documentation against the live deployment and record its verification date.

Documentation:

  • Update Cloud Registry operator guidance and UI documentation to reflect verified release and deployment details.

The Cloud Registry operator page had literal placeholders in its shell
commands (<namespace>, <release>, <digest>, <timestamp>, <chart
version>), which fail when pasted. Set NAMESPACE once at the top of the
page and the other values in the blocks that need them, and use them
quoted.

Also "for example" and "that is" instead of "e.g." and "i.e." (D-423)
on both registry pages, rewrapped paragraphs, and a verified date for
the UI page (links, anchors, limits and rules checked against the live
registry's service info).

Part of #204.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@sourcery-ai

sourcery-ai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Documentation

Make the Cloud Registry shell examples copy-pasteable by defining the namespace and replacing command placeholders with quoted variables.

  • docs/operators/cloud-registry.md L66-73, L1710-1717, L1738-1748 (+30 small edits)

Reword and rewrap the remaining Cloud Registry guidance to follow the project’s terminology and style, including replacing informal examples and clarifying instructions.

  • docs/operators/cloud-registry.md L117-123, L298-306, L928-935 (+19 small edits)

Record the UI guidance’s verification date and refresh its wording to match the project’s style.

  • docs/operators/using-cloud-registry-ui.md L2, L54, L69-72

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@read-the-docs-community

read-the-docs-community Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

@uniqueg
uniqueg marked this pull request as ready for review November 25, 2026 13:06

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@sourcery-ai

sourcery-ai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Linked issues

Checked at commit e9a082b

#223 docs: review the Cloud Registry operator pages · 2 of 3 met · 1 to check by hand

# Requirement Status Notes
1 Make the shell commands in cloud-registry.md copy-pasteable, with no literal placeholders and quoted variables. ✅ Met The commands use the quoted NAMESPACE, RELEASE, DIGEST, ARCHIVE, and CHART_VERSION variables; remaining angle-bracket placeholders are in manifests or examples, not shell commands.
2 Check the facts on both registry pages against the live service info. 👀 Check by hand (external system) Compare the deployment facts stated on both pages with the live registry service info; that external state cannot be verified from the diff.
3 Apply D-423 style. ✅ Met The edited text replaces informal examples such as “e.g.” with “for example” and rewraps the affected paragraphs.

@uniqueg
uniqueg merged commit 66edadf into main Nov 25, 2026
13 checks passed
@uniqueg
uniqueg deleted the docs/204-cloud-registry branch November 25, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: review the Cloud Registry operator pages

1 participant