← Back to team overview

kicad-developers team mailing list archive

Re: DRC marker persistence

 


On 3/3/20 5:04 AM, Jeff Young wrote:
> Part of the 6.0 DRC architecture is marker persistence.  This will allow you to work your way through a large set of DRC violations, flagging those that have already been checked as exceptions or some-such.
> 
> Two questions:
> 
> 1) Store markers in board file or project file?
> 
> Board file is much easier (in fact currently zero-cost as it’s implemented in my tree), but it may cause heartache in “bloated diff” camp?  (Note that you can always press Delete All Markers when you’re done with DRC, so you can choose to not have them in the board file.)

Definitely not in the board file.  I'm not sure they belong in the
project file either.  Maybe a new DRC file that can be ignored by VCS
users would be the way to go.

> 
> 2) Should exceptions be of the form “ignore error type X between object Y and object Z”, or “this specific error condition is a false-positive”?
> 
> The first is more like a C++ #pragma.  The second is arguably “safer”, but requires storing hashes of the entire data-state of objects Y and Z.  Likely expensive to calculate on large boards (and somewhat expensive to implement).

Given that we are going to implement new DRC rules that can be applied
to given objects (Tom, correct me if I am wrong here), I would say the
latter would be the way to go but I could see the former being useful
for creating exceptions for global rules.

> 
> Cheers,
> Jeff.
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


References