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

plugins/explain.py: Added explanation for "do not ask to ask". #404

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yashasingh
Copy link
Member

This patch adds response in case a user asks abrupt question.

Closes #389

'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '

Choose a reason for hiding this comment

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

E501 line too long (82 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '

Choose a reason for hiding this comment

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

E501 line too long (81 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '

Choose a reason for hiding this comment

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

E501 line too long (84 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '

Choose a reason for hiding this comment

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

Line is longer than allowed. (82 > 80)

Origin: LineLengthBear, Section: all.linelength.

'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '

Choose a reason for hiding this comment

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

Line is longer than allowed. (81 > 80)

Origin: LineLengthBear, Section: all.linelength.

'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '

Choose a reason for hiding this comment

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

Line is longer than allowed. (84 > 80)

Origin: LineLengthBear, Section: all.linelength.

'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '

Choose a reason for hiding this comment

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

E501 line too long (82 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '

Choose a reason for hiding this comment

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

E501 line too long (81 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '

Choose a reason for hiding this comment

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

E501 line too long (84 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '

Choose a reason for hiding this comment

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

Line is longer than allowed. (82 > 80)

Origin: LineLengthBear, Section: all.linelength.

'formalizing it in words. Someone who is idling '
'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '

Choose a reason for hiding this comment

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

Line is longer than allowed. (81 > 80)

Origin: LineLengthBear, Section: all.linelength.

'on the channel and only every now and then glances '
'what\'s going on is unlikely to answer to your '
'"asking to ask" question, but your actual problem '
'description may pique their interest and get them to '

Choose a reason for hiding this comment

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

Line is longer than allowed. (84 > 80)

Origin: LineLengthBear, Section: all.linelength.

@yashasingh
Copy link
Member Author

I have made the required changes.

Copy link
Member

@andrewda andrewda left a comment

Choose a reason for hiding this comment

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

Just a couple minor wording changes. Also, please be sure to squash your commits into one 😄

'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then '
'glances what\'s going on is unlikely to answer '
Copy link
Member

Choose a reason for hiding this comment

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

"glances at what's going on [...]"

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay 👍

'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
'formalizing it in words. Someone who is idling '
'on the channel and only every now and then '
Copy link
Member

@andrewda andrewda Nov 28, 2017

Choose a reason for hiding this comment

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

"and only occasionally glances [...]" sounds a bit more natural here. Otherwise the "and"s begin to sound a little weird.

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay. I shall do this.

Copy link
Member

@prnvdixit prnvdixit left a comment

Choose a reason for hiding this comment

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

@yashasingh There are changes in the commit that are not associated with this issue - Please remove them. 👍

@@ -83,6 +83,16 @@ class Explain(BotPlugin):
'newcomer Pull Request\n- merge a difficulty/low Pull '
'Request\n- review at least a difficulty/low or higher '
'Pull Request'
'do not ask to ask': 'This is a lazy way of asking your question '
Copy link
Member

Choose a reason for hiding this comment

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

Please, rephrase this line to be less "You did something quite wrong" to more "It's Ok, you just need to be careful from now on and ask specific questions". Current language might scare newcomers away 😄.

'do not ask to ask': 'This is a lazy way of asking your question '
'because you\'re asking for more than what '
'you think you\'re asking. The solution is not '
'to ask to ask, but just to ask by actaully '
Copy link
Member

Choose a reason for hiding this comment

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

You haven't explained what don't "ask to ask" actually means in a proper way (like describe the specific problem, tell us what you did to solve and didn't worked out, what others might have to do to regenerate the problem) 😉

@Makman2
Copy link
Member

Makman2 commented Nov 30, 2017

Why is gitmate not complaining about the commit... it violates our style rules... CC @sils

@Makman2
Copy link
Member

Makman2 commented Nov 30, 2017

However, this is my local coala run on this PR ;)

Project wide:
|    | [NORMAL] GitCommitBear:
|    | Shortlog of HEAD commit isn't in imperative mood! Bad words are 'Added'

Project wide:
|    | [NORMAL] GitCommitBear:
|    | Shortlog of the HEAD commit contains 59 character(s). This is 9 character(s) longer than the limit (59 > 50).

@Makman2
Copy link
Member

Makman2 commented Nov 30, 2017

unack dbe798a

@yashasingh
Copy link
Member Author

@Makman2 Should I change my commit message ? Is there something else also to be done ?

@prnvdixit
Copy link
Member

@yashasingh Just go through https://coala.io/commit - You would be fine 😄

This patch adds response in case a user asks abrupt question.

Closes coala#389
'you\'re asking for more than what you think '
'you\'re asking. The solution is not to simply '
'question people about them, but just to '
'ask for your piece of information by actaully '
Copy link
Member

Choose a reason for hiding this comment

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

typo in "actually"

'Pull Request'
'Pull Request',
'do not ask to ask': 'This seems a lazy way of asking your question '
'Don\'t take it personally. It\'s just that '
Copy link
Member

Choose a reason for hiding this comment

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

use double quotes around the whole string instead of escaping the single quotes. That way you can keep the single quotes in the string more readable. (this comment applies to all of the instances)

'do not ask to ask': 'This seems a lazy way of asking your question '
'Don\'t take it personally. It\'s just that '
'you\'re asking for more than what you think '
'you\'re asking. The solution is not to simply '
Copy link
Member

Choose a reason for hiding this comment

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

the sentance The solution is not to simply [snip]... is too wordy. Please reword it to be more concise.

'formalizing it in words. Someone who is idling '
'on the channel and only occasionally glances '
'at what\'s going on is unlikely to answer '
'to your "asking to ask" question, but your '
Copy link
Member

Choose a reason for hiding this comment

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

delete to

@jayvdb
Copy link
Member

jayvdb commented Dec 2, 2017

unack 47c1fd0

@prnvdixit
Copy link
Member

Also, commit Shortlog should be imperative - "Explain...."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

9 participants