Perhaps something like an MD5 checksum field could be added to the file format 
(and the timestamp removed).
If the timestamp is only used for change detection, an MD5 hashvalue etc might 
be a cleaner 'single location' to check.

It could also be used for file integrity (as a secondary feature).


Bevan

On 8 Mar. 2020, 03:05, at 03:05, Jon Evans <j...@craftyjon.com> wrote:
>We don't currently use the update timestamp for anything that I can
>see.
>But even if we did, couldn't we just use the file modification time
>from
>the OS?
>
>On Sat, Mar 7, 2020 at 2:02 PM Wayne Stambaugh <stambau...@gmail.com>
>wrote:
>
>> Hi Jon,
>>
>> On 3/7/20 1:25 PM, Jon Evans wrote:
>> > I've started work on the new project system for V6.  One question
>that I
>> > wanted to cast a wide net on:
>> >
>> > Are there any real-world uses for the "update" and "last_client"
>lines
>> > that are stored in the current project format?
>>
>> The "last_client" setting can definitely be removed.  The "update"
>entry
>> is the last time the file was saved.  Do we need to preserve that for
>> any reason?  We do time stamp the schematic, board, and symbol
>library
>> files.
>>
>> >
>> > KiCad internally doesn't make any use of these, and they just cause
>file
>> > churn.
>> > I want to remove the storage of this information unless anyone
>points
>> > out a use-case that requires them.
>> >
>> > Thanks,
>> > Jon
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~kicad-developers
>> > Post to     : kicad-developers@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~kicad-developers
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Mailing list: https://launchpad.net/~kicad-developers
>Post to     : kicad-developers@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~kicad-developers
>More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to