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

Bring back undocumented start/attach extended start script commands #833

Conversation

lrascao
Copy link
Collaborator

@lrascao lrascao commented Oct 30, 2020

Prints out an annoying message instructing users to consider the
alternatives while still supporting these operations. Main intent
is to ease adoption of a new version and not force people to go around
changing millions of scripts from 'start' to 'daemon'.

@lrascao lrascao changed the title Bring back undocumented start/attach extended start script commands wip: Bring back undocumented start/attach extended start script commands Oct 30, 2020
@lrascao lrascao marked this pull request as draft October 30, 2020 17:34
@lrascao lrascao requested a review from tsloughter October 30, 2020 17:35
@tsloughter
Copy link
Member

Cool, so the reason this is a draft is the need for the link to docs?

start)
# TODO, add here the right annoying message asking users to consider
# instead using systemd or some such other init system
echo "'start' has been deprecated and will be removed in the short-term, please consider <link-to-doc> for alternatives"
Copy link
Member

Choose a reason for hiding this comment

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

Should add in that the user should use daemon to get the same result as start and also to check the link to docs for why you should really be using foreground and an init tool. But don't have to mention foreground if we get a link in the docs for this, but do need it to say use daemon instead.

Same for attach, it should say attach is deprecated, use daemon_attach ...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok, i'll rephrase this to not require the doc link just now, we can open a new PR to add it later

Copy link
Collaborator Author

@lrascao lrascao left a comment

Choose a reason for hiding this comment

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

Cool, so the reason this is a draft is the need for the link to docs?

yeah, but now i'm thinking we can merge without the link and add it later

start)
# TODO, add here the right annoying message asking users to consider
# instead using systemd or some such other init system
echo "'start' has been deprecated and will be removed in the short-term, please consider <link-to-doc> for alternatives"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@tsloughter would be nice to have a link-to-doc somewhere, another option is to leave it open for people to dig on their own

Copy link
Collaborator

Choose a reason for hiding this comment

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

link-to-doc is risky since we don't necessarily commit to super stable doc links with the new site

start)
# TODO, add here the right annoying message asking users to consider
# instead using systemd or some such other init system
echo "'start' has been deprecated and will be removed in the short-term, please consider <link-to-doc> for alternatives"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok, i'll rephrase this to not require the doc link just now, we can open a new PR to add it later

Prints out an annoying message instructing users to consider the
alternatives while still supporting these operations. Main intent
is to ease adoption of a new version and not force people to go around
changing millions of scripts from 'start' to 'daemon'.
@lrascao lrascao force-pushed the feature/add_undocumented_start_attach_commands branch from be0dcc9 to 6c66d9e Compare November 2, 2020 17:40
@lrascao lrascao marked this pull request as ready for review November 2, 2020 17:46
@lrascao lrascao changed the title wip: Bring back undocumented start/attach extended start script commands Bring back undocumented start/attach extended start script commands Nov 2, 2020
@lrascao lrascao requested a review from tsloughter November 2, 2020 17:46
@tsloughter tsloughter merged commit e7d9fce into erlware:master Nov 7, 2020
@lrascao lrascao deleted the feature/add_undocumented_start_attach_commands branch April 22, 2021 18:34
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