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

depext: Add Altlinux family support #6207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RiderALT
Copy link

using rpm for a package manager and apt-rpm (fork of the apt fron debian wuth RPM support) for the repository manager.

using rpm for a package manager and apt-rpm (fork of the apt fron debian wuth RPM support) for the repository
manager.
Copy link
Member

@kit-ty-kate kit-ty-kate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR.

This change looks reasonable modulo the one suggestion.
If you have some spare time, would you be able to add altlinux to our testsuite? (see the files .github/workflows/depexts.yml and .github/scripts/depexts/generate-actions.sh) It should just be a case of either merging the debian and altlinux case or copy-pasting. Altlinux is available as alt on Docker Hub.

If you don't have time we'll do it at some point in the future

@@ -1142,6 +1146,7 @@ let update ?(env=OpamVariable.Map.empty) config =
let cmd =
match family with
| Alpine -> Some (`AsAdmin "apk", ["update"])
| Altlinux -> Some (`AsAdmin "apt-get", ["update"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be merged with the Debian case below

@kit-ty-kate kit-ty-kate added this to the 2.4.0~alpha1 milestone Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants