[openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Joe Gordon
HI all,

Recently I have seen a few patches fixing a few typos.  I would like to
point out a really nifty tool to detect commonly misspelled words.  So next
time you want to fix a typo, instead of just fixing a single one you can go
ahead and fix a whole bunch.

https://github.com/lyda/misspell-check

To install it:
  $ pip install misspellings

To use it in your favorite openstack repo:
 $ git ls-files | grep -v locale | misspellings -f -


Sample output:

http://paste.openstack.org/show/54354


best,
Joe
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Sylvain Bauza
Great tool !
Just discovered that openstack.common.rpc does have typos, another good
reason to migrate to oslo.messaging.rpc :-)

-Sylvain


2013/12/3 Joe Gordon joe.gord...@gmail.com

 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So next
 time you want to fix a typo, instead of just fixing a single one you can go
 ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354


 best,
 Joe

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Nachi Ueno
Great tool especially for non-native guys such as me!

Thanks Joe

Best
Nachi

2013/12/3 Sylvain Bauza sylvain.ba...@gmail.com:
 Great tool !
 Just discovered that openstack.common.rpc does have typos, another good
 reason to migrate to oslo.messaging.rpc :-)

 -Sylvain


 2013/12/3 Joe Gordon joe.gord...@gmail.com

 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So next
 time you want to fix a typo, instead of just fixing a single one you can go
 ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354


 best,
 Joe

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Russell Bryant
On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,
 
 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So
 next time you want to fix a typo, instead of just fixing a single one
 you can go ahead and fix a whole bunch.
 
 https://github.com/lyda/misspell-check
 
 To install it:
   $ pip install misspellings
 
 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -
 
 
 Sample output:
 
 http://paste.openstack.org/show/54354

Are we going to start gating on spellcheck of code and commit messages?  :-)

-- 
Russell Bryant

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread John Griffith
On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com wrote:
 On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So
 next time you want to fix a typo, instead of just fixing a single one
 you can go ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354

 Are we going to start gating on spellcheck of code and commit messages?  :-)

NO please (please please please).  We have enough grammar reviewers
at this point already IMO and I honestly think I might puke if jenkins
fails my patch because I didn't put a '.' at the end of my comment
line in the code.  I'd much rather see us focus on things like... I
dunno... maybe having the code actually work?


 --
 Russell Bryant

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Nachi Ueno
2013/12/3 John Griffith john.griff...@solidfire.com:
 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com wrote:
 On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So
 next time you want to fix a typo, instead of just fixing a single one
 you can go ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354

 Are we going to start gating on spellcheck of code and commit messages?  :-)

 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.  I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?

yeah, but may be non-voting reviews by this tool is helpful


 --
 Russell Bryant

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread John Griffith
On Tue, Dec 3, 2013 at 11:54 AM, Nachi Ueno na...@ntti3.com wrote:
 2013/12/3 John Griffith john.griff...@solidfire.com:
 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com wrote:
 On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So
 next time you want to fix a typo, instead of just fixing a single one
 you can go ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354

 Are we going to start gating on spellcheck of code and commit messages?  :-)

 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.  I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?

 yeah, but may be non-voting reviews by this tool is helpful

Fair enough... don't get me wrong I'm all for support of non-english
contributors etc.  I just think that the emphasis on grammar and
punctuation in reviews has gotten a bit out of hand as of late.  FWIW
I've never -1'd a patch (and never would) because somebody used its
rather than it's in a comment.  Or they didn't end a comment (NOT a
docstring) with a period.  I think it's the wrong place to spend
effort quite honestly.

That being said, I realize people will continue to this sort of thing
(it's very important to get your -1 counts in the review stats) and
admittedly there is some value to spelling and grammar.  I just feel
that there are *real* issues and bugs that people could spend this
time that would actually have some significant and real benefit.

I'm obviously in the minority on this topic so I should probably just
yield at this point and get on board the grammar train.





 --
 Russell Bryant

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Joe Gordon
On Tue, Dec 3, 2013 at 10:46 AM, John Griffith
john.griff...@solidfire.comwrote:

 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com
 wrote:
  On 12/03/2013 09:22 AM, Joe Gordon wrote:
  HI all,
 
  Recently I have seen a few patches fixing a few typos.  I would like to
  point out a really nifty tool to detect commonly misspelled words.  So
  next time you want to fix a typo, instead of just fixing a single one
  you can go ahead and fix a whole bunch.
 
  https://github.com/lyda/misspell-check
 
  To install it:
$ pip install misspellings
 
  To use it in your favorite openstack repo:
   $ git ls-files | grep -v locale | misspellings -f -
 
 
  Sample output:
 
  http://paste.openstack.org/show/54354
 
  Are we going to start gating on spellcheck of code and commit messages?
  :-)

 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.  I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?



That is explicitly not what this tool does. See the readme here:
https://github.com/lyda/misspell-check

And no, after a few IRC discussions there are no plans to gate on this.



 
  --
  Russell Bryant
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Nachi Ueno
2013/12/3 John Griffith john.griff...@solidfire.com:
 On Tue, Dec 3, 2013 at 11:54 AM, Nachi Ueno na...@ntti3.com wrote:
 2013/12/3 John Griffith john.griff...@solidfire.com:
 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com wrote:
 On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So
 next time you want to fix a typo, instead of just fixing a single one
 you can go ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354

 Are we going to start gating on spellcheck of code and commit messages?  
 :-)

 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.  I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?

 yeah, but may be non-voting reviews by this tool is helpful

 Fair enough... don't get me wrong I'm all for support of non-english
 contributors etc.  I just think that the emphasis on grammar and
 punctuation in reviews has gotten a bit out of hand as of late.  FWIW
 I've never -1'd a patch (and never would) because somebody used its
 rather than it's in a comment.  Or they didn't end a comment (NOT a
 docstring) with a period.  I think it's the wrong place to spend
 effort quite honestly.

 That being said, I realize people will continue to this sort of thing
 (it's very important to get your -1 counts in the review stats) and
 admittedly there is some value to spelling and grammar.  I just feel
 that there are *real* issues and bugs that people could spend this
 time that would actually have some significant and real benefit.

 I'm obviously in the minority on this topic so I should probably just
 yield at this point and get on board the grammar train.

May be, this is off topic.
At first, I do agree the importance of such grammar error is not high.
We should focus on real issues.

However IMO, we should -1 for even such cases (using its)

I just send patch for fixing misspells in neutron.
https://review.openstack.org/#/c/59809/

There was 50 misspells. so it is may be small mistakes for one patch,
but it will be growing..






 --
 Russell Bryant

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread John Griffith
On Tue, Dec 3, 2013 at 12:18 PM, Nachi Ueno na...@ntti3.com wrote:
 2013/12/3 John Griffith john.griff...@solidfire.com:
 On Tue, Dec 3, 2013 at 11:54 AM, Nachi Ueno na...@ntti3.com wrote:
 2013/12/3 John Griffith john.griff...@solidfire.com:
 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com wrote:
 On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So
 next time you want to fix a typo, instead of just fixing a single one
 you can go ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354

 Are we going to start gating on spellcheck of code and commit messages?  
 :-)

 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.  I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?

 yeah, but may be non-voting reviews by this tool is helpful

 Fair enough... don't get me wrong I'm all for support of non-english
 contributors etc.  I just think that the emphasis on grammar and
 punctuation in reviews has gotten a bit out of hand as of late.  FWIW
 I've never -1'd a patch (and never would) because somebody used its
 rather than it's in a comment.  Or they didn't end a comment (NOT a
 docstring) with a period.  I think it's the wrong place to spend
 effort quite honestly.

 That being said, I realize people will continue to this sort of thing
 (it's very important to get your -1 counts in the review stats) and
 admittedly there is some value to spelling and grammar.  I just feel
 that there are *real* issues and bugs that people could spend this
 time that would actually have some significant and real benefit.

 I'm obviously in the minority on this topic so I should probably just
 yield at this point and get on board the grammar train.

 May be, this is off topic.
 At first, I do agree the importance of such grammar error is not high.
 We should focus on real issues.

 However IMO, we should -1 for even such cases (using its)

 I just send patch for fixing misspells in neutron.
 https://review.openstack.org/#/c/59809/

 There was 50 misspells. so it is may be small mistakes for one patch,
 but it will be growing..

Ok, point taken... I'll be quiet on the subject now :)






 --
 Russell Bryant

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread John Griffith
On Tue, Dec 3, 2013 at 1:05 PM, Russell Bryant rbry...@redhat.com wrote:
 On 12/03/2013 01:46 PM, John Griffith wrote:
 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com wrote:
 On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like to
 point out a really nifty tool to detect commonly misspelled words.  So
 next time you want to fix a typo, instead of just fixing a single one
 you can go ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
   $ pip install misspellings

 To use it in your favorite openstack repo:
  $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354

 Are we going to start gating on spellcheck of code and commit messages?  :-)

 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.  I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?

 Ha.  I asked as a joke and I totally agree with your sentiment here.
 But actually, the way to prevent these types of reviews/patches is to
 prevent the errors from happening in the first place.  If you look at
 what this is doing, it's really not so bad.  It's not touching grammar.
  It's not even trying to be an all encompassing spell checker.  It's
 just looking for specific commonly misspelled words.  It doesn't sound
 that bad to me.

Yep, sounds great.


 --
 Russell Bryant

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Jay S Bryant
Since I am one of those people that comments on spelling and grammar ... 
If you use emacs for your coding you can add the following to help catch 
spelling issues:  http://www.emacswiki.org/emacs/FlySpell

There is also git-commit-mode:  
http://www.emacswiki.org/emacs/GitCommitMode which ensures good commit 
message structure.  When combined with FlySpell many of the simple 
mistakes can be avoided.


Jay S. Bryant
   IBM Cinder Subject Matter ExpertCinder Core Member
  
Department 7YLA, Building 015-2, Office E125, Rochester, MN
Telephone: (507) 253-4270, FAX (507) 253-6410
TIE Line: 553-4270
E-Mail:  jsbry...@us.ibm.com

 All the world's a stage and most of us are desperately unrehearsed.
   -- Sean O'Casey




From:   David Kranz dkr...@redhat.com
To: openstack-dev@lists.openstack.org, 
Date:   12/03/2013 01:50 PM
Subject:Re: [openstack-dev] Tool for detecting commonly misspelled 
words



On 12/03/2013 02:05 PM, John Griffith wrote:
 On Tue, Dec 3, 2013 at 11:54 AM, Nachi Ueno na...@ntti3.com wrote:
 2013/12/3 John Griffith john.griff...@solidfire.com:
 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com 
wrote:
 On 12/03/2013 09:22 AM, Joe Gordon wrote:
 HI all,

 Recently I have seen a few patches fixing a few typos.  I would like 
to
 point out a really nifty tool to detect commonly misspelled words. 
So
 next time you want to fix a typo, instead of just fixing a single 
one
 you can go ahead and fix a whole bunch.

 https://github.com/lyda/misspell-check

 To install it:
$ pip install misspellings

 To use it in your favorite openstack repo:
   $ git ls-files | grep -v locale | misspellings -f -


 Sample output:

 http://paste.openstack.org/show/54354
 Are we going to start gating on spellcheck of code and commit 
messages?  :-)
 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.  I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?
 yeah, but may be non-voting reviews by this tool is helpful
 Fair enough... don't get me wrong I'm all for support of non-english
 contributors etc.  I just think that the emphasis on grammar and
 punctuation in reviews has gotten a bit out of hand as of late.  FWIW
 I've never -1'd a patch (and never would) because somebody used its
 rather than it's in a comment.  Or they didn't end a comment (NOT a
 docstring) with a period.  I think it's the wrong place to spend
 effort quite honestly.

 That being said, I realize people will continue to this sort of thing
 (it's very important to get your -1 counts in the review stats) and
 admittedly there is some value to spelling and grammar.  I just feel
 that there are *real* issues and bugs that people could spend this
 time that would actually have some significant and real benefit.

 I'm obviously in the minority on this topic so I should probably just
 yield at this point and get on board the grammar train.


I agree with you. But the last thread about this proved there is no 
consensus. The beauty of a tool like this, run by individuals before 
they submit, is that it will to some degree make this contentious issue 
moot. I always run a spell checker on my own documents and I'm sure it 
will give more confidence to non-native English speakers to run this on 
their patches. So next time I see a misspelling in a review, I will 
simply point the author at this tool to use in the future.

  -David

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


image/jpeg___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Dolph Mathews
On Tue, Dec 3, 2013 at 12:46 PM, John Griffith
john.griff...@solidfire.comwrote:

 On Tue, Dec 3, 2013 at 11:38 AM, Russell Bryant rbry...@redhat.com
 wrote:
  On 12/03/2013 09:22 AM, Joe Gordon wrote:
  HI all,
 
  Recently I have seen a few patches fixing a few typos.  I would like to
  point out a really nifty tool to detect commonly misspelled words.  So
  next time you want to fix a typo, instead of just fixing a single one
  you can go ahead and fix a whole bunch.
 
  https://github.com/lyda/misspell-check
 
  To install it:
$ pip install misspellings
 
  To use it in your favorite openstack repo:
   $ git ls-files | grep -v locale | misspellings -f -
 
 
  Sample output:
 
  http://paste.openstack.org/show/54354
 
  Are we going to start gating on spellcheck of code and commit messages?
  :-)

 NO please (please please please).  We have enough grammar reviewers
 at this point already IMO and I honestly think I might puke if jenkins
 fails my patch because I didn't put a '.' at the end of my comment
 line in the code.


Spelling and grammar are two totally separate issues, and I think grammar
is out of scope here. A non-human gate for basic spelling would be
fantastic- faster feedback for the author and fewer wasted cycles by
reviewers.


 I'd much rather see us focus on things like... I
 dunno... maybe having the code actually work?


Effectively communicating the intent and thinking behind the code is just
as important as the code itself :)



 
  --
  Russell Bryant
 
  ___
  OpenStack-dev mailing list
  OpenStack-dev@lists.openstack.org
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 

-Dolph
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Tool for detecting commonly misspelled words

2013-12-03 Thread Russell Bryant
On 12/03/2013 03:43 PM, Jay S Bryant wrote:
 */
 Jay S. Bryant/*
/IBM Cinder Subject Matter ExpertCinder Core Member/
  

Sorry, but ... does your email signature seriously have an image of the
OpenStack logo and cinder block in it?  I think that was so distracting
I couldn't even read your message..

-- 
Russell Bryant

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev