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

ncm-spma: apt: Finish implementation #1258

Merged
merged 11 commits into from
Jul 28, 2023
Merged

ncm-spma: apt: Finish implementation #1258

merged 11 commits into from
Jul 28, 2023

Conversation

jrha
Copy link
Member

@jrha jrha commented Apr 26, 2018

The existing code is not sufficient to manage apt-based hosts due to major bugs and missing functionality. This PR completes the implementation and can be used to fully manage hosts.

@jrha
Copy link
Member Author

jrha commented Apr 26, 2018

It seems like this is code from a half-finished branch, apologies, please feel free to ignore for now.

@stdweird
Copy link
Member

@jrha see also jrha#6

@jrha
Copy link
Member Author

jrha commented Oct 30, 2018

@hpcugentbot please test this

@jrha jrha marked this pull request as draft December 17, 2020 15:05
@jrha jrha added this to the 23.next milestone Jul 24, 2023
@jrha jrha force-pushed the spma-apt branch 8 times, most recently from e43c644 to b60d7e7 Compare July 25, 2023 13:36
@jrha jrha force-pushed the spma-apt branch 2 times, most recently from 74e37a1 to 74d531b Compare July 25, 2023 15:36
jrha and others added 9 commits July 26, 2023 11:26
Provide an internal wrapper for apt commands.
Provide a flag to allow errors to become warnings.
Reduce level of more frequently desired debug messages to seperate them from the noise.
Don't log entry to Configure.
Reduce debug level of package lists to allow them to be inspected with
less noise.
In generate_sources and configure_apt. Handle those undefs.
This could be because they have been renamed (rare) or they are virtual
(common) in both cases when run interactively apt will warn the user:

e.g.
> Note, selecting 'man-db' instead of 'man'

However this warning is supressed when the output is not a TTY so we
have to contrive another means of identifying these cases.
@jrha jrha marked this pull request as ready for review July 26, 2023 12:51
@jrha jrha changed the title ncm-spma: apt: Bug Fixes ncm-spma: apt: Finish implementation Jul 26, 2023
@jrha jrha requested a review from stdweird July 28, 2023 10:36
@stdweird
Copy link
Member

@jrha quickly looking code looks ok. how much is this tested?

@jrha
Copy link
Member Author

jrha commented Jul 28, 2023

Right now I've been using it without issue on an Ubuntu 20.04 VM, but it's definitely early days.

@stdweird stdweird merged commit c78f43d into quattor:master Jul 28, 2023
2 checks passed
@jrha jrha deleted the spma-apt branch July 28, 2023 13:49
@jrha jrha modified the milestones: 23.next, 23.6 Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants