Skip to content

docs: Add contributing.md file#825

Merged
emmaaroche merged 1 commit intoKuadrant:mainfrom
emmaaroche:add-contributing-doc
Dec 15, 2025
Merged

docs: Add contributing.md file#825
emmaaroche merged 1 commit intoKuadrant:mainfrom
emmaaroche:add-contributing-doc

Conversation

@emmaaroche
Copy link
Copy Markdown
Contributor

@emmaaroche emmaaroche commented Dec 11, 2025

Description

Added a new CONTRIBUTING.md file that documents how to contribute to the Kuadrant testsuite repository.

The guide includes the following sections:

  • Contributing Guidelines
  • Forking the Repository
  • Coding Rules / Guidelines
  • Reformat, Commit Acceptance & Cleanup
  • Committing Changes & Opening a Pull Request

Please feel free to suggest any additional content or improvements during review.

Closes #823

@emmaaroche emmaaroche self-assigned this Dec 11, 2025
@emmaaroche emmaaroche added the documentation Improvements or additions to documentation label Dec 11, 2025
averevki
averevki previously approved these changes Dec 11, 2025
Copy link
Copy Markdown
Contributor

@averevki averevki left a comment

Choose a reason for hiding this comment

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

Looks great Emma 👍 Just a small nit

Comment thread CONTRIBUTING.md
Copy link
Copy Markdown
Contributor

@fabikova fabikova left a comment

Choose a reason for hiding this comment

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

Hi Emma, it looks very nice! I added a suggestion about encouraging use of git commit --amend to avoid cluttering the history with "fix" commits. And using git push --force-with-lease when updating a branch after rebasing/amending to prevent accidental overwrites.

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md
averevki
averevki previously approved these changes Dec 11, 2025
@silvi-t
Copy link
Copy Markdown
Contributor

silvi-t commented Dec 11, 2025

Thank you @emmaaroche for doing this contributing file. Just a general question: is it necessary to add every single git command to this file? Shouldn't the user know that, for example, staging changes in git is git add or how to fork the repository?

@emmaaroche
Copy link
Copy Markdown
Contributor Author

@silvi-t I think including the commands helps keep contributions consistent and also makes the expected workflow clear for new contributors. It is not meant to teach Git or anything, just to document the specific workflow this repository follows 😄

@silvi-t
Copy link
Copy Markdown
Contributor

silvi-t commented Dec 11, 2025

@silvi-t I think including the commands helps keep contributions consistent and also makes the expected workflow clear for new contributors. It is not meant to teach Git or anything, just to document the specific workflow this repository follows 😄

Got it, thanks! I see your point. It's more detailed than I would do, but I understand it makes the workflow clear. No problem from my side! 👍

silvi-t
silvi-t previously approved these changes Dec 11, 2025
trepel
trepel previously approved these changes Dec 12, 2025
Copy link
Copy Markdown
Contributor

@trepel trepel left a comment

Choose a reason for hiding this comment

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

Very nice!

Given there's quite detailed git/GitHub workflow described, I would add to it (myself, in a separate PR, and only if you think it's worth having it there) that you can disallow pushing to "upstream" by executing:
git remote set-url --push upstream no_push

If you take a look at the remote repositories you can see that you can only push to "origin" (your fork):

git remote -v
origin	git@github.com:trepel/testsuite.git (fetch)
origin	git@github.com:trepel/testsuite.git (push)
upstream	git@github.com:Kuadrant/testsuite.git (fetch)
upstream	no_push (push)

@emmaaroche
Copy link
Copy Markdown
Contributor Author

Thanks @trepel, I think that would be good to add! I can update this PR, will just require re-approval then

fabikova
fabikova previously approved these changes Dec 12, 2025
Signed-off-by: emmaaroche <eroche@redhat.com>
@emmaaroche emmaaroche dismissed stale reviews from fabikova, trepel, silvi-t, and averevki via 255008e December 15, 2025 10:00
Copy link
Copy Markdown
Contributor

@averevki averevki left a comment

Choose a reason for hiding this comment

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

Just to add context, our main branch is push protected and you won't be able to push anything there without creating a pull request. So section with git remote set-url --push upstream no_push doesn't seem essential here

P.S. also not a fan of describing git workflow in contribution doc but could be I guess

@emmaaroche emmaaroche merged commit 9af7da7 into Kuadrant:main Dec 15, 2025
4 checks passed
@emmaaroche
Copy link
Copy Markdown
Contributor Author

Just to add context, our main branch is push protected and you won't be able to push anything there without creating a pull request. So section with git remote set-url --push upstream no_push doesn't seem essential here

P.S. also not a fan of describing git workflow in contribution doc but could be I guess

Thanks @averevki. I’ve merged it as discussed so we have an initial version in place, and we can definitely discuss and iterate on it from here.

@emmaaroche emmaaroche deleted the add-contributing-doc branch December 15, 2025 10:45
@emmaaroche emmaaroche mentioned this pull request Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add contributing.md file

5 participants