-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Debian Sury support, remove dotdeb support, add multiversion support for Sury #448
Comments
is there a need for $multi_version? If $php_versions is an array with multiple values it's clear that we need to setup multiple versions in parallel. |
Thats an option. Should we make sure this only works with debian and sury repo? otherwise the array length should be 1? I think #436 covers part of the work, especially the data side. Can we put the current work on a seperate branch into this repo? |
i think it is a cool thing if we support multiversion but i think multi version support can be cumbersome, often extensions are installed for the wrong php version. see https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions#why-is-php72-cli-always-installed what will be helpful in general would be a full extension settings map. how is a package called on which debian version on which php version. for example to install
maybe we should first refactor the module completly to hiera data, add a roadmap, ... before we go for supporting multi php versions. what do you think? |
I agree with @c33s that we should first cleanup this module. Afterwards we can rethink the idea of multiple parallel php versions. |
So...how is this coming along?
That might be correct for your, but not everybody uses containers and there are people, who want to migrate from one version to the other on the same server. What's the plan? |
I personally use hiera to configure them also. I just specify the version on the nodes yaml file and rest is automated. |
What's the ETA on the rewrite? All the tickets seem to be from around 2020. |
Asked differently, are PRs accepted and merged before the rewrite, if the rewrite is ever going to happen? I see that e.g. the PRs that @SimonHoenscheid listed in his OP are still open. |
@kwisatz We put a lot of effort into planning the rewrite, but figured out the amount of work is just immense. I don't think it will be possible to do a rewrite with just a small and focussed team in a reasonable amount of time and to keep the module compatible. if there will be a rewrite, it will happen in iterations. |
So, would you then be opposed to merging some PR that will add support for |
@kwisatz sure, just send a PR for the feature |
Any news on when this puppet module will support multiple php versions (not just Debian, but also on Ubuntu and RedHat, CentOS, Rocky etc) ? |
References and splits up discussion in #441
I would suggest a combination:
$sury_repo = true
$multi_version = true
$php_versions = ['7.1', '7.2']
I guess at least the versions array is a breaking change and config needs to be done for multiple versions. I would recommend moving multiversion support to a second PR when the rest is ready.
@bastelfreak any ideas or recommendations?
And the repo matrix from #433
The text was updated successfully, but these errors were encountered: