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

chore: remove *.o files #269

Merged
merged 6 commits into from
Apr 29, 2024
Merged

chore: remove *.o files #269

merged 6 commits into from
Apr 29, 2024

Conversation

nddq
Copy link
Contributor

@nddq nddq commented Apr 15, 2024

Description

Remove all object files generated by go generate and add *.o to .gitignore. Previously, we are allowing contributors to commit objects files generated by go generate during dev-time, which raised some security concerns. Going forward, all object files will be ignored, and an extra step where we will compile the eBPF objects file during build time.

Related Issue

If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

Please add any relevant screenshots or GIFs to showcase the changes made.

Additional Notes

Add any additional notes or context about the pull request here.


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

@nddq nddq added type/enhancement New feature or request area/ebpf labels Apr 15, 2024
@nddq nddq self-assigned this Apr 15, 2024
@nddq nddq requested a review from a team as a code owner April 15, 2024 19:40
@rbtr rbtr enabled auto-merge April 29, 2024 16:39
@rbtr rbtr added this pull request to the merge queue Apr 29, 2024
Merged via the queue into main with commit 7bc615f Apr 29, 2024
21 checks passed
@rbtr rbtr deleted the chore/removeObjectFiles branch April 29, 2024 16:52
nddq added a commit that referenced this pull request May 6, 2024
# Description

Remove all object files generated by `go generate` and add `*.o` to
.gitignore. Previously, we are allowing contributors to commit objects
files generated by `go generate` during dev-time, which raised some
security concerns. Going forward, all object files will be ignored, and
an extra step where we will compile the eBPF objects file during build
time.

## Related Issue

If this pull request is related to any issue, please mention it here.
Additionally, make sure that the issue is assigned to you before
submitting this pull request.

## Checklist

- [ ] I have read the [contributing
documentation](https://retina.sh/docs/contributing).
- [ ] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [ ] I have correctly attributed the author(s) of the code.
- [ ] I have tested the changes locally.
- [ ] I have followed the project's style guidelines.
- [ ] I have updated the documentation, if necessary.
- [ ] I have added tests, if applicable.

## Screenshots (if applicable) or Testing Completed

Please add any relevant screenshots or GIFs to showcase the changes
made.

## Additional Notes

Add any additional notes or context about the pull request here.

---

Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more
information on how to contribute to this project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ebpf type/enhancement New feature or request
Projects
Status: Done
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants