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

Use Package instead of PackageSystem #1237

Merged
merged 5 commits into from
Jan 26, 2022
Merged

Use Package instead of PackageSystem #1237

merged 5 commits into from
Jan 26, 2022

Conversation

imobachgs
Copy link
Contributor

Adapt to Package and PackageSystem changes. See #1219 for further information.

@coveralls
Copy link

coveralls commented Jan 25, 2022

Coverage Status

Coverage decreased (-0.0006%) to 41.593% when pulling 68dfa11 on use-package into a0491ba on master.

log.info "CheckAndInstallPackages -> #{@needed_packages_installed}"
else
@needed_packages_installed = PackageSystem.Installed(@FIREWALL_PACKAGE)
@needed_packages_installed = Package.Installed(@FIREWALL_PACKAGE)
Copy link
Member

Choose a reason for hiding this comment

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

good example that we should finally clean susefirewall, as it is dead technology and we use only firewalld.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, but I do not plan to do it in this PR.

@@ -657,15 +657,15 @@ sub UnquoteString {
sub Init {
if (Mode->test ()) {
$package_installed = 1;
y2milestone("TestMode -> PackageSystem->Installed: ", $package_installed);
y2milestone("TestMode -> Package->Installed: ", $package_installed);
Copy link
Member

Choose a reason for hiding this comment

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

dead code. old testsuite is dead and so mode->test

@imobachgs imobachgs merged commit 7c109b0 into master Jan 26, 2022
@imobachgs imobachgs deleted the use-package branch January 26, 2022 09:18
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #354 successfully finished
✔️ Created OBS submit request #949194

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.

5 participants