chore(docs): sync contributing guides#2285
Conversation
✅ Deploy Preview for ocm-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughAdds and reorganizes contributor documentation across the mono-repo: new and retargeted CONTRIBUTING.md files for root, website, Go bindings, CLI, and Kubernetes controller; adds a website community contributing page, updates page front-matter and appends six entries to .github wordlist. (34 words) Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@website/content/community/contributing.md`:
- Line 137: Update the intro sentence text that currently reads "there a certain
requirements that need to be reflected and adhered to when making
contributions." by correcting the grammar to "there are certain requirements
that need to be reflected and adhered to when making contributions." Replace the
incorrect phrase in the same paragraph string so the rest of the sentence
remains unchanged.
- Around line 79-87: The "Sign-off and signed commits" callout currently states
DCO sign-off, cryptographic signing and DCO CI verification as universal
requirements; change the wording to indicate these are repository- or
org-specific requirements (e.g., "If your repo/org requires signing: ...") and
soften absolute phrases to "may be required" or "for example, some repos
require"; update the git example block to show git commit -s and add a commented
alternative for cryptographic signing (e.g., add a commented line showing git
commit -S -s ...), replace the CI sentence ("Once you open a pull request, CI
checks run automatically (linting, tests, CodeQL analysis, DCO verification).")
with a generic phrasing like "CI checks run automatically (for example: linting,
tests, CodeQL analysis, and other repo-specific checks)", and apply the same
wording adjustments to the other occurrences that mention DCO verification and
signing elsewhere in the document (the paragraphs that reference DCO
verification and signing).
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 41598dbe-de94-4f3e-be64-3b236f73d66c
📒 Files selected for processing (1)
website/content/community/contributing.md
|
IMO it makes sense to create new |
|
The reported failure of |
c31dff2 to
ecc1db9
Compare
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Skarlso
left a comment
There was a problem hiding this comment.
Just three remarks, looks a lot better!
…omponent-model into sync-contributing
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
> [!NOTE] > The reported failure of [`Verify links`](https://github.com/open-component-model/open-component-model/actions/runs/24566335739/job/71827381244?pr=2285) can be ignored as the missing side will be added with this PR <!-- markdownlint-disable MD041 --> ## Summary Overhauls the contributing documentation across the mono-repo. Introduces a layered guide system: a central website guide for the general contribution process, a root umbrella guide for repo-wide tooling, and area-specific guides for each major component. ### What changed - **Central contributing guide** (`website/content/community/contributing.md`) — new. Fork-and-pull workflow, commit conventions, issue guidance, reviewer expectations, security reporting, AI-generated code policy. - **Root contributing guide** (`CONTRIBUTING.md`) — rewritten from Go-specific to language-agnostic umbrella. Project structure, prerequisites, common tasks, links to area guides. - **Go bindings guide** (`bindings/go/CONTRIBUTING.md`) — new. Module overview (links to README), Go workspace with cross-module workflow, breaking API change process, testing conventions (links to `docs/coding-patterns.md`), module release workflow. - **CLI guide** (`cli/CONTRIBUTING.md`) — new. Architecture (command/context/binding layers), bootstrap sequence, plugin system, how to add a command, coding patterns, building, testing. - **Controller guide** (`kubernetes/controller/CONTRIBUTING.md`) — new. Reconciliation pipeline (Repository/Component/Resource/Deployer), OCM integration (plugin manager, resolution worker pool), CRD generation pipeline, Helm chart workflow, testing (envtest + Kind E2E). - **Website guide** (`website/CONTRIBUTING.md`) — extended. Local dev setup, linting, fixed content type descriptions and repository placement table. ## Which issue(s) this PR fixes Related to open-component-model/ocm-project#981 ## Test plan - [x] All external links verified live - [x] All local file/directory references verified to exist - [x] Task commands verified against actual Taskfiles - [x] Website builds with `npm run build` - [x] Markdown linting passes --------- Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com> Co-authored-by: Matthias Bruns <github@matthiasbruns.com> 0a4b4c3
> [!NOTE] > The reported failure of [`Verify links`](https://github.com/open-component-model/open-component-model/actions/runs/24566335739/job/71827381244?pr=2285) can be ignored as the missing side will be added with this PR <!-- markdownlint-disable MD041 --> ## Summary Overhauls the contributing documentation across the mono-repo. Introduces a layered guide system: a central website guide for the general contribution process, a root umbrella guide for repo-wide tooling, and area-specific guides for each major component. ### What changed - **Central contributing guide** (`website/content/community/contributing.md`) — new. Fork-and-pull workflow, commit conventions, issue guidance, reviewer expectations, security reporting, AI-generated code policy. - **Root contributing guide** (`CONTRIBUTING.md`) — rewritten from Go-specific to language-agnostic umbrella. Project structure, prerequisites, common tasks, links to area guides. - **Go bindings guide** (`bindings/go/CONTRIBUTING.md`) — new. Module overview (links to README), Go workspace with cross-module workflow, breaking API change process, testing conventions (links to `docs/coding-patterns.md`), module release workflow. - **CLI guide** (`cli/CONTRIBUTING.md`) — new. Architecture (command/context/binding layers), bootstrap sequence, plugin system, how to add a command, coding patterns, building, testing. - **Controller guide** (`kubernetes/controller/CONTRIBUTING.md`) — new. Reconciliation pipeline (Repository/Component/Resource/Deployer), OCM integration (plugin manager, resolution worker pool), CRD generation pipeline, Helm chart workflow, testing (envtest + Kind E2E). - **Website guide** (`website/CONTRIBUTING.md`) — extended. Local dev setup, linting, fixed content type descriptions and repository placement table. ## Which issue(s) this PR fixes Related to open-component-model/ocm-project#981 ## Test plan - [x] All external links verified live - [x] All local file/directory references verified to exist - [x] Task commands verified against actual Taskfiles - [x] Website builds with `npm run build` - [x] Markdown linting passes --------- Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com> Co-authored-by: Matthias Bruns <github@matthiasbruns.com> 0a4b4c3
Note
The reported failure of
Verify linkscan be ignored as the missing side will be added with this PRSummary
Overhauls the contributing documentation across the mono-repo. Introduces a layered guide system: a central website guide for the general contribution process, a root umbrella guide for repo-wide tooling, and area-specific guides for each major component.
What changed
website/content/community/contributing.md) — new. Fork-and-pull workflow, commit conventions, issue guidance, reviewer expectations, security reporting, AI-generated code policy.CONTRIBUTING.md) — rewritten from Go-specific to language-agnostic umbrella. Project structure, prerequisites, common tasks, links to area guides.bindings/go/CONTRIBUTING.md) — new. Module overview (links to README), Go workspace with cross-module workflow, breaking API change process, testing conventions (links todocs/coding-patterns.md), module release workflow.cli/CONTRIBUTING.md) — new. Architecture (command/context/binding layers), bootstrap sequence, plugin system, how to add a command, coding patterns, building, testing.kubernetes/controller/CONTRIBUTING.md) — new. Reconciliation pipeline (Repository/Component/Resource/Deployer), OCM integration (plugin manager, resolution worker pool), CRD generation pipeline, Helm chart workflow, testing (envtest + Kind E2E).website/CONTRIBUTING.md) — extended. Local dev setup, linting, fixed content type descriptions and repository placement table.Which issue(s) this PR fixes
Related to open-component-model/ocm-project#981
Test plan
npm run build