Skip to content

dhi: sync cli ref#25634

Open
craig-osterhout wants to merge 2 commits into
docker:mainfrom
craig-osterhout:docs/dhi-cli-ref-update
Open

dhi: sync cli ref#25634
craig-osterhout wants to merge 2 commits into
docker:mainfrom
craig-osterhout:docs/dhi-cli-ref-update

Conversation

@craig-osterhout

Copy link
Copy Markdown
Contributor

Description

Synced DHI CLI docs:

  • Release notes — Added v0.0.6 and v0.0.7 to the DHI CLI release notes page.
  • Reference YAML — Synced commands (these syncs got missed a previous release):
    • customization build get
    • customization build list
    • customization build logs

Backstage guide — Fixed a stale customization build list example in the dhictl CLI tab that still used the old two-argument format; updated to <customization-id> with a note on how to retrieve it.

Related issues or tickets

Reviews

  • Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout
craig-osterhout requested a review from a team July 23, 2026 19:23
@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 6a6afd7
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a63b96991af3500084dd2ed
😎 Deploy Preview https://deploy-preview-25634--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@craig-osterhout craig-osterhout added the status/review Pull requests that are ready for review label Jul 23, 2026

@docker-agent docker-agent 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.

Assessment: 🔴 CRITICAL

This PR edits vendored/generated files directly. Per AGENTS.md, CLI reference data under data/cli/ is vendored from upstream repositories and must not be edited in this repo — changes must go to the source repository and be synced back.

Affected files (vendored — do not edit here):

  • data/cli/dhi/docker_dhi_customization_build_get.yaml
  • data/cli/dhi/docker_dhi_customization_build_list.yaml
  • data/cli/dhi/docker_dhi_customization_build_logs.yaml

These files are generated from an upstream source. The usage signature changes (<repository> <name> <build-id><customization-id> <build-id>) need to be made in the upstream dhictl repo and synced back via the normal vendor process. Editing them here risks being overwritten the next time a sync runs.

The hand-authored changes in content/guides/dhi-backstage.md and content/manuals/dhi/release-notes/cli.md look good — no style violations found.

@docker-agent docker-agent 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.

Assessment: 🔴 CRITICAL

This PR directly edits three vendored CLI YAML files in data/cli/dhi/, which violates the repo's vendoring policy. Changes to these files must originate upstream and be synced back. Additionally, a likely command mismatch in the guide prose may confuse users.

Comment thread data/cli/dhi/docker_dhi_customization_build_get.yaml
Comment thread data/cli/dhi/docker_dhi_customization_build_list.yaml
Comment thread data/cli/dhi/docker_dhi_customization_build_logs.yaml
Comment thread content/guides/dhi-backstage.md Outdated
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>

@docker-agent docker-agent 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.

Assessment: 🟡 NEEDS ATTENTION

This PR correctly identifies the three changed areas:

  • Vendored YAML files (): Synced from upstream — not reviewed per project policy.
  • Release notes (): Well-structured, clear, and accurate.
  • Backstage guide (): The command format fix is correct. One minor clarity gap noted inline.


Monitor the build progress:
Monitor the build progress using the customization ID from the create output.
To look up the ID, run:

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.

[MEDIUM] Guide doesn't specify which field from customization list output to use as the customization ID

The new text says "Monitor the build progress using the customization ID from the create output" and then offers dhictl customization list --org YOUR_ORG as a lookup alternative. However, it doesn't tell readers which field in the list output to copy as <customization-id>.

The primary path (get the ID from the create output) is clear, but users who need to look it up via customization list may not know whether to use an id, name, or other column. Consider adding a brief note like "use the id value from the output" to remove the ambiguity.

@docker-agent docker-agent 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.

Assessment: 🔴 CRITICAL

This PR edits vendored CLI reference YAML files (data/cli/dhi/) that must not be modified directly in the docs repo per AGENTS.md. See inline comment for details.

usage: docker dhi customization build get <repository> <name> <build-id>
usage: docker dhi customization build get <customization-id> <build-id>
pname: docker dhi customization build
plink: docker_dhi_customization_build.yaml

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.

[HIGH] Vendored/generated files edited directly in the docs repo

Per AGENTS.md, all YAML files under data/cli/ are vendored from upstream repos and must not be edited here:

Content in _vendor/ and CLI reference data in data/cli/ are vendored from upstream repos. Do not edit any of these files — changes must go to the source repository.

This PR directly modifies:

  • data/cli/dhi/docker_dhi_customization_build_get.yaml
  • data/cli/dhi/docker_dhi_customization_build_list.yaml
  • data/cli/dhi/docker_dhi_customization_build_logs.yaml

These changes need to be made in the upstream source repo (the DHI CLI source) and synced back here via the vendoring/sync process, rather than edited in place in the docs repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dhi area/guides status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants