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

Reduce exported profile #1063

Merged
merged 6 commits into from Jun 17, 2020
Merged

Reduce exported profile #1063

merged 6 commits into from Jun 17, 2020

Conversation

imobachgs
Copy link
Contributor

@imobachgs imobachgs commented Jun 17, 2020

This PR adds support to determine the default start_mode for a system service.

require "yast2/system_service"
cups = Yast2::SystemService.find("cups")
cups.default_start_mode #=> :on_boot
cups.start_mode #=> :on_boot
cups.default_start_mode? #=> true

# Let's change cups start mode
cups.start_mode = :on_demand
cups.default_start_mode? #=> false

Trello: https://trello.com/c/1RXM7d8u/1851-8-reduce-profile-i-do-not-export-not-relevant-information
Bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1172749

@coveralls
Copy link

coveralls commented Jun 17, 2020

Coverage Status

Coverage increased (+0.02%) to 31.718% when pulling 813a315 on reduce-exported-profile into 5902d44 on master.

Copy link
Contributor

@teclator teclator left a comment

Choose a reason for hiding this comment

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

LGTM

@imobachgs imobachgs merged commit 86774ec into master Jun 17, 2020
@imobachgs imobachgs deleted the reduce-exported-profile branch June 17, 2020 10:42
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #214 successfully finished
✔️ Created OBS submit request #815487

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

5 participants