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

Added Slackware Linux support #1485

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

giterlizzi
Copy link

@giterlizzi giterlizzi commented Apr 11, 2021

  • 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

Checklist

  • based on top of latest source code
  • changelog entry included
  • tests pass in CI
  • git history is clean
  • git commit messages are well-written

- 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
@giterlizzi giterlizzi marked this pull request as ready for review April 11, 2021 21:52
@ferki
Copy link
Member

ferki commented Jul 8, 2021

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!

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

Successfully merging this pull request may close these issues.

2 participants