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

Drop xinetd (fate#323373) #28

Merged
merged 4 commits into from
Feb 9, 2018
Merged

Drop xinetd (fate#323373) #28

merged 4 commits into from
Feb 9, 2018

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Feb 9, 2018

It depends on yast/yast-yast2#690

There is still some suspicious code mentioning pure-ftpd that probably could be removed (anon_dir permissions and creation) that probably could be dropped, I removed it and was working fine but prefer not touch it if was left there by some reason.

ftpsocket

@coveralls
Copy link

coveralls commented Feb 9, 2018

Coverage Status

Coverage decreased (-0.04%) to 2.64% when pulling 7bbde8f on drop_xinetd into 40ea5c2 on master.

fun_ref(method(:"start_via_socket="), "void (boolean)")
)
# TRANSLATORS: Radio selection
Ops.set(result, "start_auto_button", _("&When booting"))
Ops.set(result, "start_manual_button", _("&Manually"))
Ops.set(result, "start_xinetd_button", _("Via &xinetd"))
Ops.set(result, "start_socket_button", _("Via &socket"))
Copy link
Member

Choose a reason for hiding this comment

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

isn't that defaults? so maybe we don't need to set it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, probably is not needed, I basically touched because when was testing I was surprised because xinetd button was still there.

Let me check if is something we actually can remove.

Thnx ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jreidinger I see just differences in the start_auto_button and in start_manual_button. In the last one just the shortcut is not proposed and being "During boot" the one for start_auto_button.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

defaults

Copy link
Contributor Author

Choose a reason for hiding this comment

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

overrideddefaults

Copy link
Member

Choose a reason for hiding this comment

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

well, I vote to unify it when possible

Copy link
Contributor Author

@teclator teclator Feb 9, 2018

Choose a reason for hiding this comment

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

Probably it was done because the call to CWMServiceStart.AutoStartHelpSocketTemplate, as them are independent and you have to specify concretely the labels, so if you modify the defaults them it will be inconsistent again

_("Manually"),
_("Via Socket")
_("Via socket")
Copy link
Member

Choose a reason for hiding this comment

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

I think if we now use default we should use respective method https://github.com/teclator/yast-yast2/blob/76e0a3280dee002b4b62455eba0f2d35e5b1c2e1/library/cwm/src/modules/CWMServiceStart.rb#L263

this way translators won't need to translate this in different domain.

@teclator teclator merged commit 3e4dace into master Feb 9, 2018
@teclator teclator deleted the drop_xinetd branch February 9, 2018 10:49
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