-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Make install script compatible with openSUSE #5083
Conversation
The last commit is necessary for the test to pass (permissions for `/etc/lighttpd/lighttpd.conf on openSUSE prevent 'other' from reading it). I thought it might be a good solo-PR to always set the permissions so I created #5038 which can be merged separately if wanted. |
69d9a41
to
82ade5f
Compare
Some questions and thoughts: If we don't officially support it, why then are we adding in special handling and tests for this OS? If we're adding in special handling and tests for this OS, why don't we officially support it? Why are we also including tests against the rolling release version (and by extension accepting I would like to hear from @dschaper and @DL6ER on this, too. In theory I have nothing against increasing compatibility - but we either support it or we don't. This reads like some strange in-between land :) |
Sorry, I have been so busy with FTL development in every free minute that I haven't actually looked at the other repos recently - so I missed this one, too. Having tests doesn't feel right to me. I see why we should have them (because all features should be tested as much as is maintainable) but I'm more thinking about the consequences of "what will happen when it breaks". This kind of forces us to fix SUSE when it breaks. Or we'll have to live with red crosses on all commits from this point in time on. Or we have to rip out the code we added here and remove the tests. I guess you see my line of argumentation. TL;DR: Tests forcing us to fix things make it a supported OS. A supported OS that nobody is running at home (or is familiar enough to quickly fix quirks) is not really a supported OS. Sounds very much like an insoluble problem. |
Because the original author (coogor) targeted __
When I saw the contribution from coogor I thought that with only a small change to |
I'm not against supporting a new OS, but I'm against the "in-between-land" state. We support, or we don't officially support. I think removing the tests and use the strategy "fix when it's broken" (only if it's possible to fix) is the way to go, since there are no developers using this OS. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Signed-off-by: Christian König <ckoenig@posteo.de>
Signed-off-by: coogor <axel.braun@gmx.de> Signed-off-by: Christian König <ckoenig@posteo.de>
Conflicts have been resolved. |
It is kind of a strange situation. I don't mind the tests directly, it's nice to know if things work on other operating systems. However, what do we do when SUSE is the only broken OS? Do we set the SUSE tests to be non-required? How do we determine when to allow the test to fail and when to require the PR code to be changed for SUSE. I don't like the idea of testing against, or even supporting, a rolling release. Way too many variables to account for. I guess the determining factor for me is |
I removed Tumbleweed tests after internal discussion. |
Signed-off-by: Christian König <ckoenig@posteo.de>
So only testing for Leap or are you intending to bin support for openSUSE (not SUSE) completely? |
We decided that we don't have the resources to "support" a rolling distribution which can break anytime without us making changes to Pi-hole. Therefore we won't implement tests for Tumbleweed. The code itself should still work. Tests for Leap are also still part of this PR. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Signed-off-by: Christian König <ckoenig@posteo.de>
Conflicts have been resolved. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. |
Signed-off-by: Christian König <ckoenig@posteo.de>
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Existing merge conflicts have not been addressed. This PR is considered abandoned. |
What does this PR aim to accomplish?:
This PRs combines and supersedes #5001 and #5027.
It allows installation of Pi-hole on openSUSE Tumbleweed and Leap(15) and adds the necessary tests.
Link documentation PRs if any are needed to support this PR:
No documentation changes needed. openSUSE is not officially supported, but now compatible with Pi-hole. Uses will still need to bypass OS check during installation
By submitting this pull request, I confirm the following:
git rebase
)