Skip to content

Update CONTRIBUTING.md and add install instructions to README.md#49

Merged
adamwg merged 5 commits into
crossplane:mainfrom
adamwg:awg/contributing
May 29, 2026
Merged

Update CONTRIBUTING.md and add install instructions to README.md#49
adamwg merged 5 commits into
crossplane:mainfrom
adamwg:awg/contributing

Conversation

@adamwg
Copy link
Copy Markdown
Member

@adamwg adamwg commented May 27, 2026

Description of your changes

Our original CONTRIBUTING.md doc just pointed to the core Crossplane
contributing documentation. Update it to also include some CLI-specific content.

While we're updating docs, add installation instructions to README.md.

I have:

@adamwg adamwg requested review from a team, jcogilvie and tampakrap as code owners May 27, 2026 21:49
@adamwg adamwg requested review from phisco and removed request for a team May 27, 2026 21:49
@adamwg adamwg force-pushed the awg/contributing branch from 771f377 to a0e750c Compare May 27, 2026 21:52
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 27, 2026

Review Change Stack

Warning

Review limit reached

@adamwg, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 9 minutes and 1 second. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2ee7ced9-82bb-4e82-939d-d566829126e4

📥 Commits

Reviewing files that changed from the base of the PR and between f46a668 and 0e2d422.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • CONTRIBUTING.md
📝 Walkthrough

Walkthrough

This PR expands CONTRIBUTING.md into a full Crossplane CLI contributor guide (command structure, kong usage, maturity, Help() docs, generate-docs, and vale linting) and adds Installation and Reference Documentation sections to README.md.

Changes

Crossplane CLI Documentation Updates

Layer / File(s) Summary
Contributor guide and development conventions
CONTRIBUTING.md
Comprehensive contributor guide covering CLI noun-first command-tree structure, kong framework patterns, command maturity levels (GA/Beta/Alpha) and their tags/visibility, short/long help conventions and Help() output consumed by crossplane generate-docs, local doc preview steps, and vale linting practices with scoped overrides and the novale:"..." tag.
User installation and reference documentation
README.md
Installation section documenting install.sh usage (default, XP_VERSION pinning, XP_CHANNEL=master), plus a Reference Documentation link to the CLI command reference on docs.crossplane.io.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main changes: updates to CONTRIBUTING.md and addition of installation instructions to README.md, matching the actual file modifications.
Description check ✅ Passed The description is directly related to the changeset, explaining the motivation for updating CONTRIBUTING.md with CLI-specific content and adding installation instructions to README.md.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Breaking Changes ✅ Passed PR #49 modifies only CONTRIBUTING.md and README.md. No files in cmd/ or apis/ are modified, deleted, or renamed; all cmd/apis changes are new file additions with no breaking changes.
Feature Gate Requirement ✅ Passed Project commands are gated with maturity:"beta" tags, which is the codebase's feature flag implementation for experimental features.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 31-35: The README shows inconsistent variable names for installing
the latest build: it mentions XP_CHANNEL=master but the example command uses
XP_VERSION=master; update the example so both use the same environment variable
(choose XP_CHANNEL or XP_VERSION consistently), e.g., replace XP_VERSION=master
in the curl pipe command with XP_CHANNEL=master (or vice versa) so the README's
instruction and the command match and will work as documented.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7fedac0f-ed32-45c8-9e3b-02d40cc5c392

📥 Commits

Reviewing files that changed from the base of the PR and between d41550c and 771f377.

📒 Files selected for processing (2)
  • CONTRIBUTING.md
  • README.md

Comment thread README.md
@adamwg adamwg force-pushed the awg/contributing branch from a0e750c to beb2e6b Compare May 27, 2026 21:54
Copy link
Copy Markdown
Collaborator

@tampakrap tampakrap left a comment

Choose a reason for hiding this comment

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

in general it looks good, I left some minor comments, thanks for taking the time to write this!

Another comment (that can be addressed in a follow-up PR), we should add instructions for development, eg how to run tests and build/install a local version.

Comment thread CONTRIBUTING.md

Welcome to the Crossplane CLI, and thank you for your interest in contributing.

Please start by reading the [Crossplane contributing document]. The Crossplane
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'd prefer this would be only a suggestion instead of a hard requirement. Newcomers might / should not know what is applicable and what is not from the other contributing docs, so I'd prefer to duplicate here the relevant parts (or to put specific links, but I guess it would be difficult to maintain, so I personally prefer the duplication)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think this makes sense. I worry a bit about coding style guidelines in particular diverging, but the coding style in Crossplane is pretty settled and evolves slowly, so I think the risk is low.

Can we handle this as a follow-up? I think we can copy over most of what we need from c/c, but organizing the content nicely will take some thought.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I believe coding style (and maybe more parts that are equally stable) could possibly be just a link, but an explicit reference so that it's clear that they are relevant to the CLI as well. In any case, I'm fine handling that in a followup PR so we can proceed with this one.

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md Outdated
Comment on lines +75 to +79
If in doubt about whether your help will look good, you can easily check your
work by cloning the [crossplane/docs](https://github.com/crossplane/docs) repo,
running `crossplane generate-docs -o content/master/cli/command-reference.md` to
update the CLI reference section, and then running `hugo serve` to preview it
locally.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe to convert that to a list of commands? So that it is more clear on where to run each command

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good idea, done.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Actionable comments posted: 0

adamwg added 3 commits May 29, 2026 13:53
Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
@adamwg adamwg force-pushed the awg/contributing branch from 99c8cb6 to f46a668 Compare May 29, 2026 19:53
@adamwg
Copy link
Copy Markdown
Member Author

adamwg commented May 29, 2026

Rebased to (hopefully) make the validate-docs check pass.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CONTRIBUTING.md`:
- Around line 43-46: Update the wording to accurately reflect the maturity-level
visibility behavior: change the first bullet so it states that any non-enabled
maturity level (e.g., alpha and beta) is hidden from help output by default
unless explicitly enabled in CLI configuration (instead of saying only alpha is
hidden); keep the second bullet about notes being added for alpha and beta, and
add the inheritance sentence (“If a command is not tagged with a maturity level,
it will inherit from its parent in the command tree; commands without a maturity
level anywhere in their tree are considered GA”) to clarify defaulting rules;
ensure you edit the lines that currently read “Alpha commands are hidden from
the help output by default…” and the maturity-note sentence so the document and
actual maturity logic match.
- Around line 91-92: Update the sentence "Build the docs serve them locally for
preview." to read "Build the docs and serve them locally for preview." so the
local preview step is grammatically correct; locate the header line shown in the
diff and replace the phrase accordingly (the line containing "hugo serve" and
the preceding sentence).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e0c6e929-ab38-4d25-9997-0a1fe51e3374

📥 Commits

Reviewing files that changed from the base of the PR and between 99c8cb6 and f46a668.

📒 Files selected for processing (2)
  • CONTRIBUTING.md
  • README.md
✅ Files skipped from review due to trivial changes (1)
  • README.md

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md Outdated
adamwg added 2 commits May 29, 2026 14:42
Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
Copy link
Copy Markdown
Collaborator

@tampakrap tampakrap left a comment

Choose a reason for hiding this comment

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

thanks for addressing my comments! LGTM, the rest can be handled in followup PRs

@adamwg adamwg merged commit 2d982c5 into crossplane:main May 29, 2026
10 checks passed
@adamwg adamwg deleted the awg/contributing branch May 29, 2026 21:43
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