-
Notifications
You must be signed in to change notification settings - Fork 164
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
Coding style for libs
repo
#381
Comments
Big +1 from me, having coherent code is always nice. I also have no strong opinions on what the style should be, so the existing clang-format file looks good to me. I do feel strongly that style must be properly enforced through a CI job as stated. Further more, in order to not force people to use vscode for formatting, we might want to consider adding some sort of make target or script that runs |
We absolutely need a script or a make target!
This would be amazing in my opinion! 🚀 |
This might be useful: https://github.com/muttleyxd/clang-tools-static-binaries |
I would also propose to change the current formatting to avoid tabsize 8, the code gets too wide (personal taste) |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
/milestone 0.12.0 |
Proposing to schedule this and commit to it (also the reviewers) and then agree to a v1 we actually merge. WDYT @Andreagit97 we definitely need this? |
I suggest scheduling this for immediately after we secure the Falco 0.36 release. Approximately between mid-Sept and early Oct. wdyt? |
Sounds perfect to me! |
@Andreagit97 and @leogr kindly checking in on this as it's Nov 🙃 ty! |
At the moment I have no time to work on this and moreover, we are near the |
👍 Let's discuss in our next strategy meeting how we can support each other to get this over the finish line. |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
May we revamp this once 0.38 is out? 🤔 |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale @falcosecurity/libs-maintainers I will try to find some time at the end of August to address at least the formatting using clang-format! The ideal thing would be to have this as one of the latest commits before 0.18.0 to avoid issues with cherry-picks |
let's wait until we really format all the code |
🥳 |
Motivation
Hi folks! I think we have to introduce a definitive coding style for this repository. The number of lines continuously grows and sometimes becomes difficult also to understand the code without a specific standard!
In this repo, we already have a configuration file for
clang-format
and VScode offers an amazing extension that allows us to format our file in a very simple way.The rationale here is to introduce a CI/CD job that checks the coding style of every new Pull request and denies the merge until the code respects the conventions.
The initial discussion is started here but I think we need a dedicated thread for it.
It would be great to put together some ideas here!
Feature
Introduce a CI/CD job that checks the coding style of every new Pull request and denies the merge until the code respects the conventions.
The text was updated successfully, but these errors were encountered: