From: peter@pblackman.plus.com   
      
   On 19/02/2026 17:52, Adrian Dombeck wrote:   
   > [resending with reply-all]   
   >   
   > On Wed, 18 Feb 2026 at 23:45, Peter Blackman    
   wrote:   
   >   
   > OK, but do you have an example of a real package where this is   
   considered an issue?   
   >   
   > ISTM that if it is considered desirable to exclude a whole directory   
   tree from license checking,   
   > that something must be seriously wrong,   
   > either with licensecheck or the copyright file itself.   
   >   
   >   
   > The real package we have issues with is https://github.com/tai   
   i-e/pin-project which uses SPDX identifiers in all its files. licensecheck   
   fails to identify the license of all those files correctly, it gives   
   "Apache-2.0" instead of "Apache-2.0 or MIT".   
   >   
   > I believe that's a known issue and is tracked in https://bugs.   
   ebian.org/cgi-bin/bugreport.cgi?bug=960665   
   >   
   > The consequences are manageable though, we just have to add all the   
   directories from that package which contain source files to lrc.config. There   
   are not that many, so I'm fine with the solution to fix the comment instead of   
   implementing the feature.   
   >   
      
   Thanks for the update.   
      
   Also, you could instead try adding a licence alias to lrc.config   
   Apache-2.0 or MIT | Apache-2.0   
      
   or see if the -x or --spdx switch helps   
      
   Less to type!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|