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

Point users of CWMServiceStart to the replacement API. #602

Merged
merged 1 commit into from
Apr 13, 2018

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented Jul 27, 2017

Lingshan just asked about CWMServiceStart and it took me a while to find the modern API, so here's a shortcut.

require "yast"

module Yast
# Routines for service start widget handling.
#
# NOTE: a modern API for this is {::UI::ServiceStatus}
Copy link
Member

Choose a reason for hiding this comment

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

what about marking it as deprecated and replaced by that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, I wasn't confident about that, but since that time I had to look into systemctl anyway, so I'll check again and add more docs about how to migrate to the new API.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 28.354% when pulling c786a67 on redirect-to-ui-servicestatus into d966088 on master.

@teclator
Copy link
Contributor

@mvidner @jreidinger some months have passed since last comments, so what about merging current changes until we are able to mark it as deprecated and add more doc about how to migrate?

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

@mvidner mvidner merged commit 96774ef into master Apr 13, 2018
@mvidner mvidner deleted the redirect-to-ui-servicestatus branch April 13, 2018 10:58
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

4 participants