Feat 532: APT installation support with validation and documentation#561
Draft
Leay15 wants to merge 24 commits intosuperradcompany:mainfrom
Draft
Feat 532: APT installation support with validation and documentation#561Leay15 wants to merge 24 commits intosuperradcompany:mainfrom
Leay15 wants to merge 24 commits intosuperradcompany:mainfrom
Conversation
…grade, and removal
Member
|
hey @Leay15. happy to see you contributing :) ok, gonna take a look at this over the weekend. |
Author
|
Thank you @toksdotdev! I put this points here for discussing it:
Happy to hear all the comments about 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request closes #532
It introduces comprehensive support for APT (Debian/Ubuntu) packaging and repository management for the project, including CI/CD workflow changes, documentation updates, and improvements to the CLI's self-management commands. The changes automate building, validating, and publishing Debian packages and repositories, and ensure that users installing via APT receive appropriate update and uninstall guidance.
APT packaging and repository automation:
Added new jobs to
.github/workflows/check.ymlto build, validate, and test Debian packages and signed APT repositories for both x86_64 and aarch64 architectures, including smoke tests in KVM environments.Extended
.github/workflows/release.ymlto package, sign, and publish APT repositories to GitHub Pages as part of the release process, with a preparatory job to coordinate release context and ensure correct source SHA and tag usage.Documentation improvements:
README.mdto provide clear instructions for installing the CLI via the new APT repository, including keyring setup and repository configuration for Debian/Ubuntu users.CLI enhancements for APT awareness:
crates/cli/lib/commands/self_cmd.rsso that if the CLI is installed via APT,microsandbox self updateandmicrosandbox self uninstallwill print appropriate notices instead of performing direct actions, to prevent conflicts with package-managed installations.These changes ensure robust, automated packaging and updates for Debian-based systems. Also let open the possibility for support another Linux Arch.
Tested on:
Pop!_OS 24.04 LTS
Podman instead Docker