[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883719: lintian: false positive spelling-error-in-description (duplicate word) on 'ORA (ORA Recursive Acronym)'



Hi Andreas,

> I thought these should be fixed since 2.5.59 which closed #822504 with
> "Don't warn about duplicate words when separated by punctuation.", but I
> still get
> 
> W: foo: spelling-error-in-description FOO FOO (duplicate word) FOO

Thanks for the report.

Am just brain-dumping for a future contributor here. A Lintian-based
testcase that triggers this for me is:

  --- a/t/tests/description-general/debian/debian/control.in
  +++ b/t/tests/description-general/debian/debian/control.in
  @@ -155,3 +155,5 @@ Description: test for spelling - debian developement
    Some more stuff about this Debian test package. (dummy)
    .
    Duplicate: Duplicate (false positive due to colon)
  + .
  + FOO (FOO Owsome Object) is a recursive acronym.

We currently strip out all parenthesis prior to running the spellcheck
which is the cause of this problem:

  https://anonscm.debian.org/git/lintian/lintian.git/tree/lib/Lintian/Check.pm#n287

I'm a little hesitant to simply remove that, obviously.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: