Skip to content

chore(docs): sync contributing guides#2285

Merged
frewilhelm merged 58 commits into
open-component-model:mainfrom
frewilhelm:sync-contributing
Apr 29, 2026
Merged

chore(docs): sync contributing guides#2285
frewilhelm merged 58 commits into
open-component-model:mainfrom
frewilhelm:sync-contributing

Conversation

@frewilhelm

@frewilhelm frewilhelm commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Note

The reported failure of Verify links can be ignored as the missing side will be added with this PR

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

  • All external links verified live
  • All local file/directory references verified to exist
  • Task commands verified against actual Taskfiles
  • Website builds with npm run build
  • Markdown linting passes

@netlify

netlify Bot commented Apr 14, 2026

Copy link
Copy Markdown

Deploy Preview for ocm-website ready!

Name Link
🔨 Latest commit 6fb9598
🔍 Latest deploy log https://app.netlify.com/projects/ocm-website/deploys/69f1ea2060234d0008c98140
😎 Deploy Preview https://deploy-preview-2285--ocm-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Adds 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

Cohort / File(s) Summary
Root & wordlist
CONTRIBUTING.md, .github/config/wordlist.txt
Root CONTRIBUTING.md rewritten as mono-repo entrypoint (Taskfile, tooling, lint/generate guidance, updated Go prerequisite); .github/config/wordlist.txt appended six entries: Doks, envtest, ocmtypegen, reconcilers, Thulite, yq.
Go bindings guide
bindings/go/CONTRIBUTING.md
New guide for Go bindings modules: module layout, optional go.work, module-scoped dev/test flow, breaking-change/release workflow, generator & test conventions, and module onboarding steps.
CLI guide
cli/CONTRIBUTING.md
New CLI contributor doc describing Cobra command layout, PersistentPreRunE bootstrap sequence, plugin registry usage, doc generation, build/test tasks, and Docker-based CLI integration test workflow.
Kubernetes controller guide
kubernetes/controller/CONTRIBUTING.md
New controller guide covering reconciler pipeline, worker/cache behavior, CRD/RBAC generation with kubebuilder markers, Helm packaging, envtest/Kind E2E patterns, Taskfile validation, and required tooling.
Website & community pages
website/CONTRIBUTING.md, website/content/community/contributing.md, website/content/community/community.md
Retargeted website contributing guide (Hugo/Node, Diataxis templates, content classification); added community contributing page with fork/PR process, DCO/commit-signing, AI-generated-code compliance, help/security links; added weight: 1 front-matter to community page.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • morri-son
  • piotrjanik

Poem

🐰 I hopped through docs both near and far,

I stitched new guides beneath the star.
From CLI flags to Helm chart streams,
I planted pages for contributors' dreams.
Tap the leaves — the repo shares new schemes!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(docs): sync contributing guides' directly and concisely summarizes the primary change: a comprehensive overhaul of contributing documentation across the mono-repo with a new layered guide system.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Description check ✅ Passed The pull request description clearly documents a comprehensive overhaul of contributing documentation, detailing new and rewritten guides for each major component area with specific file locations and content coverage.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@github-actions github-actions Bot added kind/chore chore, maintenance, etc. size/m Medium labels Apr 14, 2026
Comment thread website/content/community/contributing.md Outdated
Comment thread website/content/community/contributing.md
Comment thread website/content/community/contributing.md
@frewilhelm

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot 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.

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

📥 Commits

Reviewing files that changed from the base of the PR and between a542b39 and 9032b24.

📒 Files selected for processing (1)
  • website/content/community/contributing.md

Comment thread website/content/community/contributing.md
Comment thread website/content/community/contributing.md Outdated
@frewilhelm

Copy link
Copy Markdown
Contributor Author

IMO it makes sense to create new CONTRIBUTING.md for bindings/go and cli because new language bindings will need their own CONTRIBUTING.md too (e.g. go vs. python).

@github-actions github-actions Bot added size/l Large component/github-actions Changes on GitHub Actions or within `.github/` directory and removed size/m Medium labels Apr 17, 2026
@frewilhelm

Copy link
Copy Markdown
Contributor Author

The reported failure of Verify links can be ignored as the missing side will be added with this PR

@github-actions github-actions Bot added the area/documentation Documentation related label Apr 17, 2026
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>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Comment thread bindings/go/CONTRIBUTING.md
Comment thread cli/CONTRIBUTING.md Outdated
Comment thread cli/CONTRIBUTING.md Outdated

@Skarlso Skarlso 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.

Just three remarks, looks a lot better!

Comment thread bindings/go/CONTRIBUTING.md Outdated
Comment thread bindings/go/CONTRIBUTING.md Outdated
Comment thread bindings/go/CONTRIBUTING.md Outdated
Comment thread bindings/go/CONTRIBUTING.md Outdated
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>
Comment thread website/CONTRIBUTING.md Outdated

@matthiasbruns matthiasbruns 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.

lgtm

@frewilhelm frewilhelm merged commit 0a4b4c3 into open-component-model:main Apr 29, 2026
40 of 41 checks passed
ocmbot Bot pushed a commit that referenced this pull request Apr 29, 2026
> [!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
ocmbot2 Bot pushed a commit to morri-son/open-component-model that referenced this pull request Apr 29, 2026
> [!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
@frewilhelm frewilhelm deleted the sync-contributing branch May 11, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Documentation related component/github-actions Changes on GitHub Actions or within `.github/` directory kind/chore chore, maintenance, etc. size/l Large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants