Skip to content

Move Contributing to a separate file#510

Merged
brb merged 8 commits intocilium:mainfrom
xmulligan:patch-1
May 6, 2025
Merged

Move Contributing to a separate file#510
brb merged 8 commits intocilium:mainfrom
xmulligan:patch-1

Conversation

@xmulligan
Copy link
Member

Moving the developing and contributing sections out of the main README into a separate file like most projects

Moving the contributing section into its own separate file

Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
@xmulligan xmulligan requested a review from a team as a code owner March 21, 2025 14:30
@xmulligan xmulligan requested review from brb and removed request for a team March 21, 2025 14:30
CONTRIBUTING.md Outdated

## Development Guidelines

- Follow Cilium's general [Developer Guide](https://docs.cilium.io/en/stable/contributing/development/) for coding standards and best practices.
Copy link
Member

Choose a reason for hiding this comment

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

The developer guide link here has a lot of content, and it is all tailored towards developing on cilium/cilium. I'm not sure whether new contributors for pwru without cilium background would have a good chance of finding the relevant info here. I agree in principle the coding standards & best practices are likely well aligned between the subprojects, but I'm not sure which parts of the linked contributing guide are relevant for pwru.

Copy link
Member

Choose a reason for hiding this comment

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

Something like https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#how-to-contribute is probably more practical, but there's still a few steps that aren't necessary for pwru, such as steps 7, 9-13.

Copy link
Member

Choose a reason for hiding this comment

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

Overall the ideal is probably more that we enforce the "coding standards and best practices" via GitHub workflows so they apply automatically rather than just documenting them and hoping contributors will follow. But that would involve more work on the GHA side in this repo. I'm thinking stuff like adding golangci-lint to lint for common errors for instance.

CONTRIBUTING.md Outdated
## Development Guidelines

- Follow Cilium's general [Developer Guide](https://docs.cilium.io/en/stable/contributing/development/) for coding standards and best practices.
- Before submitting a pull request, review the [Code Review Guidelines](https://docs.cilium.io/en/stable/contributing/code-reviews/).
Copy link
Member

Choose a reason for hiding this comment

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

Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
@xmulligan xmulligan requested a review from joestringer April 7, 2025 17:09
Copy link
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

LGTM with the extra proposed wording changes but I'll defer to @cilium/pwru-maintainers for approval/merging.

@jschwinger233
Copy link
Member

maybe rebase to let ci checks pass?

Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
CONTRIBUTING.md Outdated
- Read the [README](https://github.com/cilium/pwru#readme) to understand how `pwru` works and its use cases.
- Check out the [issues list](https://github.com/cilium/pwru/issues) for open tasks, especially those labeled `good first issue`.

## Developing
Copy link
Member

Choose a reason for hiding this comment

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

Could we keep this section in the README.md, and then reference from CONTRIBUTING.md? I'm afraid that many might not look into the CONTRIBUTING.md to find those details.

Copy link
Member Author

Choose a reason for hiding this comment

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

which section do you mean exactly? The developing section?

Copy link
Member

Choose a reason for hiding this comment

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

Yep, the ## Developing. Could we keep it in the README.md?

xmulligan added 3 commits May 5, 2025 17:08
Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
Signed-off-by: Bill Mulligan <billmulligan516@gmail.com>
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

Thanks!

@brb brb merged commit 1be2fee into cilium:main May 6, 2025
8 checks passed
@xmulligan xmulligan deleted the patch-1 branch May 6, 2025 10:20
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.

4 participants