Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Improve contribution guide & PR template #2483

Merged
merged 2 commits into from
May 30, 2024

Conversation

lambdanis
Copy link
Contributor

Tetragon contribution guide consists of a few docs pages and a PR template,
each one containing a list of steps. Many of the steps (e.g. testing or commit
message guidelines) are duplicated between lists. This is hard to follow and
hard to maintain (different pages can easily become conflicting).

I refactored the contribution guide so that it's (hopefully) easier to follow:

  • "Making changes" page has simplified build & test instructions. I added a step
    about code generation and removed a step about commits.
  • "Submitting a pull request" page covers everything related to commits (in
    a dedicated section) and basic info about pull request review. I added a link
    to the main contribution guide and removed other steps, which were
    duplicating the previous guides
  • Checklist in the PR template is simplified and links to docs pages.

@lambdanis lambdanis added area/documentation Improvements or additions to documentation release-note/docs This PR updates the documentation. labels May 29, 2024
@lambdanis lambdanis requested review from mtardy and a team as code owners May 29, 2024 21:13
Copy link

netlify bot commented May 29, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit dcf0010
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66579c4e49db430008b6922a
😎 Deploy Preview https://deploy-preview-2483--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@lambdanis lambdanis changed the title docs: Improve contributions guide & PR template docs: Improve contribution guide & PR template May 29, 2024
lambdanis added 2 commits May 29, 2024 22:21
Adding initial contribution guides for specific areas. Mainly instructions for
generating files, some of which I moved from the "development setup" page.

Signed-off-by: Anna Kapuscinska <[email protected]>
Tetragon contribution guide consists of a few docs pages and a PR template,
each one containing a list of steps. Many of the steps (e.g. testing or commit
message guidelines) are duplicated between lists. This is hard to follow and
hard to maintain (different pages can easily become conflicting).

I refactored the contribution guide so that it's (hopefully) easier to follow:

* "Making changes" page has simplified build & test instructions. I added a step
  about code generation and removed a step about commits.
* "Submitting a pull request" page covers everything related to commits (in
  a dedicated section) and basic info about pull request review. I added a link
  to the main contribution guide and removed other steps, which were
  duplicating the previous guides
* Checklist in the PR template is simplified and links to docs pages.

Signed-off-by: Anna Kapuscinska <[email protected]>
@lambdanis lambdanis force-pushed the pr/lambdanis/contribution-guide branch from 7f37255 to dcf0010 Compare May 29, 2024 21:21
Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

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

Thanks! This looks good.

@lambdanis lambdanis merged commit 18eaeb3 into cilium:main May 30, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation release-note/docs This PR updates the documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants