Backup file naming convention driving me crazy


#1

Hello to all the KiCad users,

i just want to talk about a thing which is bothering me all the time i look at my KiCad project folders. The “.kicad_pcb" file has a backup file which is right below it with the extension ".kicad_pcb-bak”, which i like and its obvious which file it belongs to. But the backup file for the schematic “.sch" is just called ".bak” which is driving me nuts because its not clear to me at first sight to which file this backup belongs. Why don’t they just name it “*.sch-bak”? Any comments or opinions on this?

I don’t want to criticize the developers i just want to know and maybe improve one thing or to. You developers are doing great work :+1:.

Best regards,

Florian


#2

Historical baggage. KiCad is only gradually becoming a single application.
Changing extensions would break old projects


#3

Maybe it could be changed in 6.0 because it will break compatibility with the current schematics anyways. The new version should and could of course understand the old files. If only someone cared enough to file a bug report… Someone who is bothered about it all the time :slight_smile:


#4

i understood the hint :wink:. I will file a bug for this on the weekend.


#5

i wrote a bug report over here: https://bugs.launchpad.net/kicad/+bug/1775512


#6

If if helps, here’s my .gitignore for KiCad projects:

*.net
*-bak
*-bck
*-cache*
*-rescue*
*-save.pro
*.bak
*.bck
_autosave*
_saved_*

#7

Don’t ignore cache and rescue. Some projects work without them, some don’t.


#8

Not some. No project will work properly without the cache lib. (It is the only place within the project that stores how the used symbols look like. Without it you are screwed if anything in the symbol libs changes.)


#9

I interpret this to mean that some projects work without it :slight_smile:


#10

That would depend entirely on your definition of “work”. :wink:


#11

The definition of the developers is that if the cache lib is missing, your project is invalid and you are on your own if anything breaks.


#12

Yes. Actually, I work, projects don’t. :slight_smile:


#13

A lot of the projects I find / see elsewhere do not load properly because of missing symbols, and a missing -cache lib is the main culprit of that I believe.