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

Create snap package for Celix #204

Closed
pnoltes opened this issue Apr 20, 2020 · 4 comments
Closed

Create snap package for Celix #204

pnoltes opened this issue Apr 20, 2020 · 4 comments
Assignees
Milestone

Comments

@pnoltes
Copy link
Contributor

pnoltes commented Apr 20, 2020

Currently Celix is not installable on Fedora, Ubuntu, etc.

Snap packages seems like a good method to make Celix available on multiple linux systems.
See https://snapcraft.io and https://snapcraft.io/docs/cmake-plugin

If this works also update the celix release page, so that new release are also pushed to snapcraft.

@pnoltes pnoltes added this to the 2.3.0 milestone Apr 20, 2020
@abroekhuis
Copy link
Contributor

Creating a snap package is relatively simple, getting the packages right is the most work.

But, I don't know enough about snap to be sure how it can be used for developers who want to use Celix as development library.
I've got the feeling that it is mostly geared toward easily making binaries available. In our case that is for example, the Celix binary, or other containers that we specify in the snapcraft file. So in that sense we can use it to deploy the runtime, but I'm not sure about usage in development.

What is our intended usage here?

@pnoltes
Copy link
Contributor Author

pnoltes commented Apr 21, 2020

The intended usage is for development. Celix on itself is not a useful application.
The question is that snap also allows the installation of headers and CMake files (i.e. CelixConfig, CelixTargets, etc)

@PengZheng
Copy link
Contributor

I agree with @abroekhuis. IMO, the most challenging thing of using a complex framework such as Celix is to make all its dependencies consistent. Ordinary distribution package does help for a specific platform, but it's completely on us to make sure that Celix will work on all mainstream Linux distributions.

Unlike these distribution packages, Conan, like pip + virtualenvs, workes on all platforms, managing all kinds of dependencies like magic. The developer experience is awesome, similar to other package management tools like npm/pip. Moreover, with the help of conan and CPack, creating various distribution packages should be less burdensome. Another benefit of using conan is that it makes software integration test much more powerful: we can enumerate various versions of Celix dependencies, the Celix itself, and various bundles developed by others, testing all combinations in a virtual enviroment!

I made a PR on supporting Conan #401. Please have a look at it, have a try, and give comments/criticisms. @pnoltes

@pnoltes
Copy link
Contributor Author

pnoltes commented Mar 21, 2022

Seeing the comments and work on conan, I am going to close this issue.
I this needs another direction, please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants