Skip to content

Conversation

@kashifest
Copy link
Member

This completes the consolidation effort where generic contributing guidelines are maintained in the community repo and individual repos only contain repo-specific information.

Fixes #28

This completes the consolidation effort where generic contributing
guidelines are maintained in the community repo and individual repos
only contain repo-specific information.

Signed-off-by: Kashif Khan <kashif.khan@est.tech>
@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kashifest for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 8, 2026
@kashifest
Copy link
Member Author

/hold

For discussion and proper review

@tuminoid
Copy link
Member

tuminoid commented Jan 8, 2026

/cc @tuminoid

Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

Plenty of small nits, nothing major.

I also commented on each repo based ones. They were varying wildly, and IMO they should be pretty close to each other.

Mentioning AGENTS.md here would be nice addition too.

- [baremetal-operator](https://github.com/metal3-io/baremetal-operator/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
- [cluster-api-provider-metal3](https://github.com/metal3-io/cluster-api-provider-metal3/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
- [ip-address-manager](https://github.com/metal3-io/ip-address-manager/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
- [ironic-standalone-operator](https://github.com/metal3-io/ironic-standalone-operator/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
Copy link
Member

Choose a reason for hiding this comment

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

We have many more repos than just the four, we should have single link that list all /help-wanted and /good-first-issues and maybe third that shows all issues.

Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to search through issues across the org? If not, I think we need to add a project that automatically picks up issues with the relevant labels. That should work well across the org. For now we just have the roadmap: Metal3 - Roadmap (view)


## Contributing a Patch

1. If you haven't already done so, sign a Contributor License Agreement
Copy link
Member

Choose a reason for hiding this comment

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

We don't do CLA.

Individual commits should not be tagged separately, but will generally be
assumed to match the PR. For instance, if you have a bugfix along with a
breaking change, it's generally encouraged to submit the bugfix separately,
but if you must put them in one PR, mark the commits separately.
Copy link
Member

Choose a reason for hiding this comment

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

emojis don't go with commits, they go with PR only.

## Pull Request Labels

All code PRs should be labeled with one of the following to indicate the type of
change:
Copy link
Member

Choose a reason for hiding this comment

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

We could elaborate that the emoji should match the "product" change. Bug fixes to CI are still just seedlings to avoid polluting the changelog etc.

docs](https://github.com/kubernetes/community/tree/master/contributors/devel).

Expect reviewers to request that you avoid common [Go style
mistakes](https://github.com/golang/go/wiki/CodeReviewComments) in your PRs.
Copy link
Member

Choose a reason for hiding this comment

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

We should elaborate the code review process here more. /ok-to-test, workflows, /lgtm and /approve flow etc.

Copy link
Member

Choose a reason for hiding this comment

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

Would be good to also mention that commits should generally be squashed and that all tests are expected to be passing. Perhaps also worth mentioning that there are usually linters, formatters, etc that can be easily run locally before push.


Common commands include:

- `/lgtm` - Adds the `lgtm` label (Looks Good To Me)
Copy link
Member

Choose a reason for hiding this comment

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

maybe also /lgtm cancel

Common commands include:

- `/lgtm` - Adds the `lgtm` label (Looks Good To Me)
- `/approve` - Adds the `approve` label
Copy link
Member

Choose a reason for hiding this comment

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

same, /approve cancel

- `/retest` - Reruns failed tests
- `/assign @username` - Assigns an issue or PR
- `/cc @username` - Requests a review

Copy link
Member

Choose a reason for hiding this comment

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

add /test xxx, with mention of /test ? to get a list


## Release Process

### General Release Guidelines
Copy link
Member

Choose a reason for hiding this comment

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

Main releasing.doc is unliked, while we do link the four repos individual release docs.

- [ironic-standalone-operator releasing docs](https://github.com/metal3-io/ironic-standalone-operator/blob/main/docs/releasing.md)
- Check individual project repos for their specific release documentation

## Google Doc Viewing Permissions
Copy link
Member

Choose a reason for hiding this comment

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

Is this relevant here?

Comment on lines +271 to +272
- **Minor and patch releases** are generally done immediately after a feature or
bugfix is landed, or sometimes a series of features tied together.
Copy link
Member

Choose a reason for hiding this comment

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

Isn't it more like monthly? We don't push releases as soon as there is anything merged to a release branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move CAPM3's CONTRIBUTING.md here

4 participants