[Cuis-dev] user.changes files
Juan Vuletich
juan at cuis.st
Mon Mar 27 12:12:28 PDT 2023
Hi Bernhard,
On 3/27/2023 6:15 AM, Bernhard Pieber via Cuis-dev wrote:
> Hi everyone,
>
> Ignore my mail. I was wrong. Obviously, it was already too late yesterday. Only the "End fileIn of“ banner is written there. Now the question is: Is this intended?
Yes. By reviewing a previous user changes you can tell which updates and
packages were installed. This could be really useful to make sense of
the user made changes.
> fileInAnnouncing: announcement
> "This is special for reading expressions from text that has been formatted
> with exclamation delimitors. The expressions are read and passed to the
> Compiler. Put up a progress report with the given announcement as the title."
>
> Utilities logsUserChanges: false.
>
> announcement
> displayProgressAt: Sensor mousePoint
> from: 0
> to: self size
> during: [ :barBlock | self fileInInformingTo: barBlock ].
>
> "Note: The main purpose of this banner is to flush the changes file."
> Utilities logsUserChanges: true.
> Smalltalk logChange: '----End fileIn of ' , self name , '----'.
>
> Should the comment about flushing the changes file apply to both, the .changes and the .user.changes file? Looking at the code the forceToDisk is done for the .changes file.
>
> Cheers,
> Bernhard
Just pushed an update to flush UserChanges on every write. Thanks!
Cheers,
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
More information about the Cuis-dev
mailing list