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 APT Support #6

Merged
merged 12 commits into from
Oct 10, 2023
Merged

Add APT Support #6

merged 12 commits into from
Oct 10, 2023

Conversation

VoltaireNoir
Copy link
Collaborator

@VoltaireNoir VoltaireNoir commented Oct 10, 2023

This PR adds Advanced Package Tool (APT) support to genpack

Things to note:

  • The implementation uses apt-get for the most part but relies on apt for search and list_installed
  • add_repo implementation directly writes to the sources.list file without any repo string validation
    • Whether genpack should support some kind of validation for repo's should be considered in the future
  • Integration tests require elevated privileges to work. This is tricky in the CI environment, and therefore the tests are currently ignored.

@VoltaireNoir VoltaireNoir self-assigned this Oct 10, 2023
@VoltaireNoir VoltaireNoir merged commit 79c715b into main Oct 10, 2023
3 checks passed
@VoltaireNoir VoltaireNoir deleted the apt branch October 10, 2023 11:54
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.

None yet

1 participant