[Cuis-dev] user.changes files

Bernhard Pieber bernhard at pieber.com
Sun Mar 26 12:56:42 PDT 2023


I just saw that the change set installed with ChangeSet installNewUpdates end up in the .user.changes. As they are filed in shouldn’t they just go to the .changes file?

Cheers,
Bernhard


> Am 26.03.2023 um 16:18 schrieb Bernhard Pieber via Cuis-dev <cuis-dev at lists.cuis.st>:
>
> Hi everyone,
>
> I just read up on the purpose of the user.changes file because I had not understood them properly. In case others are wondering as well I found these mails most informative:
>
> Thread New User Changes log file
> http://cuis-smalltalk.org/pipermail/cuis-dev_cuis-smalltalk.org/2018-July/003755.html
>
> Thread Changes not recoverable
> https://lists.cuis.st/mailman/archives/cuis-dev/2020-December/002545.html
> https://lists.cuis.st/mailman/archives/cuis-dev/2020-December/002552.html
> https://lists.cuis.st/mailman/archives/cuis-dev/2020-December/002556.html
>
> I learned that code that you file in only goes to the changes file. Manual code changes and do-its are written to the .user.changes file and the .changes file. This makes recovery easier. However, in case you don’t save your image all changes since the last image save remain only in the user.changes file. So the user.changes file are not totally redundant. If you just delete all of them, you might not be able to recover all code changes you did.
>
> If the amount of user.changes file bothers you you can use the Preference #autoNumberUserChanges to have just one.
>
> If I read the code correctly if file-in fails user changes might stop to be written. The attached change set should fix that.
>
> Cheers,
> Bernhard
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
> <5718-ensure-logUserChanges-is-reset-BernhardPieber-2023Mar26-15h48m-bp.001.cs.st>




More information about the Cuis-dev mailing list