← Back to team overview

kicad-developers team mailing list archive

Re: Recent eeschema changes

 

On Wed, Nov 22, 2017 at 12:04:10PM -0500, Kevin Cozens wrote:
> On 2017-11-22 03:16 AM, Julius Schmidt wrote:
> >It seems the current origin/master will modify schematic files on disk
> >just by opening them -- even if I opt out of the remap tool.
> 
> There is also another subtle bug you can hit that involves the remap process
> and how it modifies the project files when you are just opening an old
> schematic to look at it.
> 
> Open an old schematic, go through the remap process, then after the
> schematic has loaded exit eeschema without doing a save. The next time you
> open the schematic it will be at least partially broken. It doesn't matter
> if you remap or not the second time. Doing a remap a second time will show
> less breakage than if you skip that process the second.

My humble suggestion:

why not simply stop the program at start if it detects an older file version?

Then prompt the user to choose to continue migrating correctly the whole
project, but making a _real_ complete backup of the project before
continuing and before making any modification, using a different
extension like .old_version or such. If the user choose to not migrate
the project then suggest to use the corrispondant older stable version to
open it and simply close the program. I think that this should simplify
things a lot either for devs and for users.

Just a 0.002 euro cent...

--


Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------



References