Mail Archives: geda-user/2017/01/18/23:53:07
On Wed, 18 Jan 2017, Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote:
>No, but it's one worth considering if it can be done in a way that preserves
>behaviour of existing files.
>
>I'd like to try to keep compatibility with pcb-rnd where we can, and there
>seems no real point in reinventing different ways to make the same
>improvements.
Thanks, I'm open to such cooperation too.
> In pcb-rnd we have support for multiple board file formats. Our
> native format is not pcb but lihata. We support pcb as we
> support kicad's format. The native format supports all features,
> but the non-native ones don't.
>
>
>Point me at the libhata docs at some point if you get a chance?
http://repo.hu/projects/lihata/
section 2 lists the docs. This is only about lihata, which is a separate
project. The board format (the "schematics" of the lihata tree) we use in
pcb-rnd has no docs yet.
>I guess one way might to have a test for version (or flag) that allows to
>know if the data inside the file is supposed to be correct or not.
Thanks, good point, especially about the flag! Independent of the current
case: global feature bitfield, or in a tree-like file format per subtree
format versioning or global file format versioning. Doesn't matter much as
long as only one implementation reads the file, but might make a big
difference if multiple programs use the same file but impelement different
subset of features.
I haven't have to bump lihata board version yet, this would be the first
time, so it's the best moment for me to consider this aspect.
Regards,
Igor2
- Raw text -