Skip to content

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

Open
adamwg wants to merge 2 commits into
crossplane:mainfrom
adamwg:awg/contributing
Open

Update CONTRIBUTING.md and add install instructions to README.md#49
adamwg wants to merge 2 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:

Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
@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 55 minutes and 22 seconds. 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: f12dd9f9-910c-46fe-867d-13728a2a1dcc

📥 Commits

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

📒 Files selected for processing (1)
  • README.md
📝 Walkthrough

Walkthrough

This PR expands the Crossplane CLI's documentation by replacing the brief CONTRIBUTING.md pointer with a full contributor guide covering command structure, kong framework conventions, maturity levels, and documentation standards; and by adding Installation and Reference Documentation sections to the README.md for end users.

Changes

Crossplane CLI Documentation Updates

Layer / File(s) Summary
Contributor guide and development conventions
CONTRIBUTING.md
Comprehensive contributor guide covering CLI command-tree structure, kong framework patterns, command maturity levels (GA/Beta/Alpha), Help() output conventions consumed by crossplane generate-docs, local documentation preview, and vale linting practices with override mechanisms via Markdown comments and custom novale:"..." tags.
User installation and reference documentation
README.md
Installation section documenting the install.sh script with version pinning via XP_VERSION and master-channel installation, and new Reference Documentation section linking users to the CLI command reference on docs.crossplane.io.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error)

Check name Status Explanation Resolution
Feature Gate Requirement ❌ Error New experimental v1alpha1 Project API added to apis/** with significant behavioral impact (used by multiple CLI commands for project file parsing/validation) but no feature flag implementation found. Implement a feature flag to gate the new Project API until it reaches GA stability.
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the two main changes in the pull request: updating CONTRIBUTING.md and adding installation instructions to README.md.
Description check ✅ Passed The description is directly related to the changeset, explaining why CONTRIBUTING.md was updated with CLI-specific content and why installation instructions were added 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 No breaking changes found. apis/** unchanged. cmd/** changes limited to help text updates and removal of internal NoVale field. No exported fields removed or renamed.

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
Signed-off-by: Adam Wolfe Gordon <awg@upbound.io>
@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)

Comment thread CONTRIBUTING.md
tags] can be used to control many behaviors, including validation,
auto-completion, and documentation.

## Command Maturity Levels
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.

We should also mention that commands without maturity level inherit it from their parent

Comment thread CONTRIBUTING.md
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

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