<div dir="ltr">Hi Mariano,<div> I just uploaded a fix for this.</div><div> The reason we are saving the timestamp for class definition is to make homogeneous how changes are saved in the changes file. There are also new tools we are building that use that info.</div><div> A Method has a direct relationship with its stamp but a class do not, that it is why it was regenerated each time when saving a package. To avoid that we should make all classes know its stamp but that is a structure change in the metamodel that I think does not pay off, at least by now.</div><div><br></div><div> Anyhow, this fix does not save class definition stamps anymore.</div><div><br></div><div>Cheers!</div><div>Hernan.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 7, 2019 at 9:01 PM Mariano Montone <<a href="mailto:marianomontone@gmail.com">marianomontone@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think ClassDescription>>definitionPreamble may be the problem:<br>
<br>
-----------------------<br>
definitionPreamble<br>
<br>
        ^'classDefinition: ', self name printString, ' category: ', self<br>
category printString, Utilities changeStampField<br>
-----------------------<br>
<br>
Utilities changeStampField may be overwriting the stamp, regardless of<br>
if the class changed or not.<br>
<br>
Previous versions don't print stamps at all (which I'm not sure makes<br>
sense either).<br>
<br>
Mariano<br>
<br>
El 5/11/19 a las 21:53, Hernan Wilkinson escribió:<br>
> Hi Mariano,<br>
>  I refactor some parts of the changes system a couple of days ago, I may<br>
> have introduce a bug.<br>
>  Let me check that tomorow and let you know<br>
> <br>
> Hernan<br>
> <br>
> On Tue, 5 Nov 2019 at 21:36 Mariano Montone via Cuis-dev<br>
> <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>>> wrote:<br>
> <br>
>     Hello.<br>
> <br>
>     I've noticed that all the stamps for all classes and methods of a<br>
>     package are updated when I save a package, even the classes and methods<br>
>     I have not changed . And so I get very big and unnecessary diffs in git<br>
>     commits (from my point of view).<br>
> <br>
>     Like here:<br>
>     <a href="https://bitbucket.org/mmontone/mold/commits/ab0ff86f10d7e46f55abb93889efec4f0ea79d68#chg-GenericBrowser.pck.st" rel="noreferrer" target="_blank">https://bitbucket.org/mmontone/mold/commits/ab0ff86f10d7e46f55abb93889efec4f0ea79d68#chg-GenericBrowser.pck.st</a><br>
> <br>
>     Lots of stamp changes, although I didn't change the classes and methods<br>
>     code itself.<br>
> <br>
>     Am I doing something wrong? Or it is the way things are supposed to<br>
>     work?<br>
> <br>
>     Thanks!<br>
> <br>
>     Mariano<br>
>     -- <br>
>     Cuis-dev mailing list<br>
>     <a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a>><br>
>     <a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
> <br>
> -- <br>
> Sent from a fat finger unaware device<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal"><span style="font-weight:bold">Hernán Wilkinson</span><br>Agile Software Development, Teaching & Coaching</span></font></span></span></span></strong></span></div><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div><div><strong style="font-family:tahoma,sans-serif;font-size:xx-small"><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Twitter: @HernanWilkinson</span></font></span></span></strong></div><div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span><span style="font-size:small"><font size="2"><span style="font-weight:normal">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank">http://www.10Pines.com</a></span></font></span></span></span></strong></span></div><div><font face="tahoma, sans-serif"><span style="border-collapse:collapse">Address: Alem 896</span></font>, Floor 6, Buenos Aires, Argentina</div></div></div></div></div></div></div></div></div></div></div></div>