Skip to content

Rename 'Preview Endpoint' column. - #8

Merged
enisoc merged 1 commit into
mainfrom
rename-preview-endpoint
Jul 22, 2022
Merged

enisoc merged 1 commit into
mainfrom
rename-preview-endpoint

Conversation

@enisoc

@enisoc enisoc commented Jul 22, 2022

Copy link
Copy Markdown
Contributor

Part of #7.

@enisoc
enisoc requested a review from foxish July 22, 2022 14:58

@foxish foxish left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@enisoc
enisoc merged commit f872546 into main Jul 22, 2022
@enisoc
enisoc deleted the rename-preview-endpoint branch July 22, 2022 16:29
scott-cotton added a commit that referenced this pull request May 21, 2026
…lugin

Address findings #8 and #13 from the versioned-resource-plugins UX pass.

#8 — versions --help was one short line with no example. Expand the
short / long / example block to spell out: that the NAME argument is
the bare name (no @semver suffix); that 'get NAME@VERSION' is the way
to fetch a single version's spec; and that the output is sorted
highest-semver first.

#13 — versions <nonexistent> was returning exit 0 with empty rows,
because the server replies 200 with an empty payload for an unknown
name (it has no equivalent of the 404 'get' returns). A resource
plugin always has at least one version once it exists — publishing
creates the (name, version) row — so an empty list reliably means
'no such plugin'. Surface that as an error instead of silently
exiting 0, matching the behavior of 'resourceplugin get <nonexistent>'.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
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.

2 participants