-
Notifications
You must be signed in to change notification settings - Fork 905
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
new(proposals): libraries donation #1530
Conversation
Donate: - libsinsp - libscap - the kernel module driver - the eBPF driver sources by moving them to the Falco project. Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
How do you think to proceed with their versioning? I read everything will be in falcosecurity/libs, do you want to release everything with the same version? |
@deepskyblue86 at the moment Falco uses a commit hash to reference the libs. That hash is also the "driver version". See falco/cmake/modules/sysdig.cmake Line 33 in 2883df5
This mechanism proved to work pretty well (at least, better than the previous one). Anyway, this proposal is about the donation of the libraries (and the drivers' sources) to the falcosecurity organization. That's the goal here. :) Changes to their versioning scheme, like versioning them separately, need to be eventually proposed and discussed in a follow-up proposal. Because such changes would impact a lot of areas (build system, release system, prebuilt drivers machinery, etc.). |
Sorry @leodido, but I raised it because I read the following:
so I assumed it was to be discussed now. |
In fact, we are discussing it, Angelo :) What I was trying to say is: the falcosecurity current process (at the moment) relies on that hash (version), which is the same for all the 3 (libscap, libsinp, drivers) underlying pieces. Changing the versioning scheme would require to also change the current falcosecurity processes for building and distributing software. Which rather is not the scope of this proposal. In this document we just propose to donate those libraries by keeping the versioning, building, releasing etc as much as similar to the existing one. |
Discussed privately with @leodido. I was just raising the issue of having a semver for the libraries and not just the git commit hash, due to deb/rpm package management. Of course, it can just be something like x.y.z. if needed. We also discussed having just a single package with all these components — like falcosecurity-libs — for release and maintenance convenience, given that there's already the idea to have them with the same version. |
👍 this proposal explains "the full plan", and I really love that. Initial steps to start the migration are:
And I totally agree with that. Doing so will allow us to start using the migrated libraries almost immediately. Since I wanted to try, I already did a PoC (will share soon 😸 ). Then we can proceed with other refinements in a step-by-step fashion. Btw, if the main question here is "Would you like to accept the donation?" - as I believe - my answer is: a strong YES 😀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I strongly agree with this proposal, so I'm approving. 🥳
I have also created a sort of PoC (see below) to demonstrate that the very first steps of this migration can be done without any disruption for our users.
- https://github.com/leogr/falco-libs It is an example of how the repo falcosecurity/libs will look like (btw, I believe it's better to import the git repo, not forking it)
- https://github.com/leogr/falco/tree/update/lib-migration This branch represents the changes to be applied to Falco to make it point to the above-mentioned libs
N.B. The two links above are just examples that I wanted to share. They might not exactly represent the final work.
LGTM label has been added. Git tree hash: 3fa12f13f4ac6a2e9aa5b639ae39a26670437379
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/milestone 0.28.0 |
Co-authored-by: Lorenzo Fontana lo@linux.com
Signed-off-by: Leonardo Di Donato leodidonato@gmail.com
What type of PR is this?
/kind documentation
Any specific area of the project related to this PR?
/area proposals
What this PR does / why we need it:
Donate:
by moving them to the Falco project.
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
Does this PR introduce a user-facing change?: