← Back to team overview

kicad-developers team mailing list archive

Re: pcbnew file import plugins

 

the problem i see with the dialog,

lets say for example kicad comes with an extension that handles Eagle
v5 v6 and v7 and the user installs a user made plugin hands eagle v3
v4 and v5 if you load a v5 plugin the problem is which extension to
use as theoretically they are both able to handle the file type

On Wed, Mar 2, 2016 at 11:26 PM, Clemens Koller <cko@xxxxxxxxx> wrote:
>
> On 2016-03-02 10:40, Nick Østergaard wrote:
>> If multiple plugins can handle a file, how would you handle that
>> situation seamlessly?
>
> Dialog with the operator:
> ---------
> More than one file import plugins seem to be able to handle your file type:
>   ~/share/projects/kicad/ThisIsMyExperimental.pcbx
> Please choose the PCB plugin to open that file tyoe:
>
> [x] SuperPCB V5
> [ ] OttoTool V3.2.1
> [ ] gEDA V1.2.3
>
> [ ] remember my selection for this file type.
>
> [OK] [Cancel]
> ---------
>
>
>> Blindly trusting extensions is indeed problematic as we already have seen :)
>
> We have the 'file' command:
> http://www.darwinsys.com/file/
> https://github.com/file/file
>
> It simply says: "The file command is "a file type guesser""
>
>
> Regards,
>
> Clemens
>
>
> _______________________________________________
> 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