[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: SoC: Gerber, DRC, gsch2pcb and D-BUS
DJ Delorie wrote:
>> On 21/03/07, Dan McMahill <dan@mcmahill.net> wrote:
>>> I'm in favor of a hash signature based on some canonicalized version of
>>> the footprint. I guess you'd want to embed the hash when the footprint
>>> was first instantiated.
>> Which would be the canonicalized version? The footprint file itself?
>
> Keep in mind that the footprints are modified through placement and
> rotation on the board, plus they can be modified to some extent (like
> renaming pins, or resizing solder masks). So, it's not the element we
> have *now* that we need to hash, it's the element as it was when we
> loaded it. The hash would need to ignore, for example, the name,
> refdes, description, order of pin statements, etc. Simple
> rearrangement of the syntax of the file should not change the hash of
> the element.
Right. Whitespace changes, equivalent specifications in the different
formats, etc should all be ignored.
-dan
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev