-
Notifications
You must be signed in to change notification settings - Fork 36
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
[discussion] Should we create new projects for installer packages #625
Comments
Using the installer as an option would mean that to build that package you would need the ancient glibc and build it in the CentOS image. That would be an additional entry in the build matrix so no time saving in CI. However, having everything together is an advantage... But what about the settings of the recipe (os_build, os_arch)? Well, they could be deleted in configure() My conclusion: It could be ok just having an option |
What about having By adding I'm not sure to see the benefits of such an option, except having less packages to store/download. |
The advantage is maintaining one package less when we need to update a version or apply a fix. |
What about the solution I proposed? It has the same benefits IIUC. |
I still thinking that having a separate installer package is
I would favour a solution which is ending the forced separation from our side.
Kinda off-topic: I would say that deleting this settings instead of setting them to ANY is a cleaner approach |
As a RFC for having both recipes in one repo, I have created a pr in the flex repo: bincrafters/conan-flex#4 |
I really like the idea of having the installer and the library in the same github repository, I think it is easier to keep both recipes syncronized and up to date, although it will lead to longer CI times. Also, I would find it quite useful to add an integration folder with tests that contains a crosscompiling example using both packages: like in the Thanks for sharing your concerns about it. |
I'll try a POC with both approaches, thanks everyone for sharing your opinion. |
I was thinking about this and the possible conflicts you could have using the same package as a requirement (to use the library) and as build require (to use the tool/installer), and I am not sure if you can mix different versions of that same package. Moreover, I still think the right approach is to have them separated, although this does not mean that that would be the only way to do it. As a way to prove the points above, I would like to do a test with Protobuffers package with both approaches. |
Related RFC: bincrafters/conan-flex#4 |
RFC using python_requires: bincrafters/conan-flex#5 |
Bison has received a treatment as well: bincrafters/conan-bison#4 |
I am closing this one now. I have implemented |
@SSE4 |
@SSE4 |
@SSE4 |
|
@madebr |
Hi everyone!
I've opened this discussion to talk about work overload involving package installers.
We have some packages that could be distributed as installer for binaries only and as regular package for libraries e.g. bison, flex, protobuf. However, when we need to update a version or apply a fix, we need to open a PR for both projects. Maybe we could find some better way to optimize our time and save some CI jobs.
I have some suggestions:
I would like to know if we are on the right track, or we should rethink about our installer packages.
/cc @Croydon @SSE4 @madebr @solvingj @danimtb @jgsogo
The text was updated successfully, but these errors were encountered: