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 check_installed function in updater.py #44

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

Wescoeur
Copy link
Member

@Wescoeur Wescoeur commented Feb 8, 2024

Tested on XCP-ng 8.2 & 8.3.
Documentation updated.

Copy link
Contributor

@benjamreis benjamreis left a comment

Choose a reason for hiding this comment

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

Minor doc nitpick, otherwise LGTM

README.md Outdated Show resolved Hide resolved
@Wescoeur Wescoeur changed the title Add is_installed function in updater.py Add check_installed function in updater.py Feb 9, 2024
@Wescoeur Wescoeur merged commit 9d9d1bf into master Feb 9, 2024
4 checks passed
@Wescoeur Wescoeur deleted the add-is_installed-method branch February 9, 2024 13:52
Comment on lines +191 to +192
packages = re.sub(r'\s+', ' ', packages).replace(',', ' ').split(' ')
packages = filter(lambda package: package, packages)
Copy link
Member

Choose a reason for hiding this comment

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

What input is supported (spaces, commas...) should be specified in the readme and tested in the unit tests.

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.

3 participants