kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #30529
Re: Dealing with addition to kicad_pcb files
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Thu, 31 Aug 2017 13:43:43 -0400
-
In-reply-to:
<CAGiQmy9+HdDwEkDSSZWiC8UMHVR5=oquzQmy3DdUXyx8=AR0FQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
On 8/31/2017 1:21 PM, Bastian Neumannn wrote:
> Hi,
>
> I am currently building a feature that lets you input a via stack
> configuration.
> This information needs to be saved with the pcb data. So I tried putting
> it into
> the kicad_pcb file.
>
> Now older versions will not load the file because it has additional
> values that
> it did not expect.
>
> How do you deal with that problem?
The official policy is that file format changes must be backwards
compatible not forwards compatible. In other words, the user will have
to download the version KiCad where the change was made.
If you make any changes to any of the file formats, you must increment
the file format rev number. This will cause the appropriate exception
to be raised which will warn the user the file version is newer than the
file version supported by the version of KiCad they are using.
Since this is all very new and has not been planned for the stable 5
release, I would most likely merge this into the master branch after the
stable 5 branch is created.
Cheers,
Wayne
>
> Cheers,
> Basti
>
>
> _______________________________________________
> 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
>
Follow ups
References