← Back to team overview

kicad-developers team mailing list archive

Re: remove time-stamps to make files more VCS friendly

 

Le 13/12/2012 20:33, Dick Hollenbeck a écrit :
On 12/13/2012 01:00 PM, Kaspar Bumke wrote:
In the .sch files the lines look like this

EESchema Schematic File Version 2  date Tue 11 Dec 2012 20:41:50 GMT

and

Date "11 dec 2012"

I am pretty sure that there are similar ones in the .brd and .lib
files and others. They are the ones that get updated everytime the
files are saved.

Also, we probably should be only talking about the *.kicad_pcb format only.  The older one
will fall into dis-use soon.

I guess I don't know if a similar thing is planned for the new format
and now would be a good time to discuss it.
Yes, just save your board with the save as menu, but before you do, pick the "file type"
in the filename dialog as *.kicad_pcb, then get a good look.

I think there's a good argument for a configuration setting, as to whether this is
"save-date" included.

Timestamps have another meaning, let's rather use "save-date".

So we can either a) remove them, b) make their presence configurable, or c) do nothing.


Jean-Pierre, what is your opinion?

a) is easiest.

I vote for solution a)
Or solution b) but more complicated.

I totally agree with Kaspar. When using vcs/dvcs tools, data like date in files are very annoying. Imagine your preferred C++ editor saves C++ files with a header in which date is inserted automatically. Using Bazaar tools would be very problematic. Hey! This file has changed, commit it ! Well... no, I made a modification but changed my mind. Of course it's changed, look at the header ! F...king date. I use a dev tool which change a configuration file to just say "Hey, you opened the project today !" Then I revert the file. But sometimes, I don't have to revert the file since I've made a real modification...

Nicolas


_______________________________________________
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