-
Notifications
You must be signed in to change notification settings - Fork 223
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
Added Slackware Linux support #1485
base: master
Are you sure you want to change the base?
Conversation
- Detect Slackware Linux via lsb_release or via /etc/slackware-version file - Use slackpkg for download, install, updare and remove packages - Use /etc/rc.d/rc.* files for start & stop Slackware Linux services
Thanks for your contribution, @giterlizzi, and for you patience! This PR does not fully follow the project's expectations, so I'd like to take this chance to kindly link our Contributing guide, specifically the section about GitHub issues and pull requests. I would have preferred to explain the below bits in an issue first, but since this PR is already here, we will do that next time :) As far as adding support for new operating systems is concerned, it would be best to do that as an extension module instead of here in core (see also Rex core vs extending Rex). I feel it would not be responsible on my part to merge the whole support when I don't have the necessary knowledge nor resources to review the code or to commit to long-term maintaining it (in fact, I would very much like to split out the already included similar modules too). Instead, I would be happy to help you bring Slackware support to the community as an extension, and to merge any "glue code" to core which is needed for that to work. To discuss any details and questions, please reach out on one of our community support channels, or even book an appointment directly with me for my open source office hours. Conceptionally speaking, all the major components for a new OS support are present here, so the code is probably in a good shape already. The parts we'd need to add to core are the first two steps in the section linked above (recognizing Slackware, and choosing the right Pkg and Service manager modules when Slackware is detected). Please note there was a previous attempt to add Slackware support via #1387, which was sadly abandoned, but some parts of it might still serve you great as inspiration. Currently CI checks indicate that "Some checks were not successful", so I did not do a full review yet. Let me know if you still would like a full review before going ahead. I look forward to working with you on Slackware support! |
Hi, my last commit improve the support for Slackware Linux in Rex. Added detection of Slackware in:
|
Checklist