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

Add a powerful util for installing deb packages #882

Closed
wants to merge 2 commits into from

Conversation

misje
Copy link
Contributor

@misje misje commented Jul 16, 2024

In Debian-based OSes software is preferably installed through the package manager. This artifact provides a comfortable way to install packages, as well as configuring them using debconf. The package can either be a name or a deb file, which can be optionally uploaded.

Other artifacts can offload all installation and configuration logic to this artifact by calling it like this: SELECT * FROM Artifact.Linux.Utils.InstallDeb(DebName='sl') or SELECT * FROM Artifact.Linux.Utils.InstallDeb(DebName='/tmp/mypackage_0.1.0-1_amd64.deb'). A row with Step "Installing package" and ReturnCode 0 will indicate that the installation was a success.

@misje
Copy link
Contributor Author

misje commented Jul 16, 2024

Perhaps this should go in the main repo instead, otherwise integrated artifacts cannot use it (they shouldn't depend on artifacts from the exchange)? Tell me if that sounds alright, and I'll create a new pull request.

@misje misje closed this Jul 17, 2024
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.

1 participant