Hmmm, gmail is *broken*. It doesn't show me the full string you state after "gives:" until I hit reply. Phhh.<br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 11:55 AM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 14 March 2013 19:22, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
> Hi Igor,<br>
><br>
> can you reply again but just talk about 1009? Adding the info on 1007<br>
> and 1008 is very confusing. Thanks!!<br>
><br>
><br>
</div>interpreterSourceVersion<br>
"The use of this primitive not recommended. Not all VMs providing that"<br>
<br>
"Answer a string corresponding to the version of the interpreter source.<br>
This represents the version level of the Smalltalk source code (interpreter<br>
and various plugins) that is translated to C by a CCodeGenerator, as distinct<br>
from the external platform source code, typically written in C and managed<br>
separately for each platform. An optional primitive is invoked that may not<br>
be available on all virtual machines."<br>
<br>
"Smalltalk vm interpreterSourceVersion"<br>
<br>
<primitive: 'primitiveInterpreterSourceVersion'><br>
^ self getSystemAttribute: 1009<br>
<br>
gives:<br>
'git://<a href="http://gitorious.org/cogvm/blessed.git" target="_blank">gitorious.org/cogvm/blessed.git</a> Commit:<br>
<div class="HOEnZb"><div class="h5">412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50<br>
+0100 By: Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>> Jenkins build<br>
#14535'<br></div></div></blockquote><div><br></div><div>OK. So the difference between Pharo and Cog right now is that Pharo has</div><div> URL CommitId Date Author</div><div>and Cog has</div><div> CommitId URL</div>
<div><br></div><div>I think I can change to agree with Pharo. Can you email me the Pharo platforms/Cross/vm/sqSCCSVersion.h file?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">
<br>
<br>
> On Thu, Mar 14, 2013 at 10:57 AM, Igor Stasenko <<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>> wrote:<br>
>><br>
>><br>
>> On 14 March 2013 18:39, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Thu, Mar 14, 2013 at 7:38 AM, Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >><br>
>> >><br>
>> >> On Mar 12, 2013, at 9:43 PM, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>><br>
>> >> wrote:<br>
>> >><br>
>> >> But it would be nice if there was more agreement on the format of<br>
>> >> Smalltalk getSystemAttribute: 1009. This is a useful attribute and nice if<br>
>> >> it were parsed by the Pharo image code.<br>
>> >><br>
>> >><br>
>> >> yes, I agree... maybe something like this:<br>
>> >><br>
>> >> Pharo|Squeak|Newspeak MAJ.MIN.BUG:Cog|Stack|Interpreter<br>
>> >> MAJ.MIN.BUG:EXTRA-FOR-TASTE<br>
>> ><br>
>> ><br>
>> > What's BUG? First let's step back. What info do you currently have in<br>
>> > the Pharo one?<br>
>> ><br>
>> > Here's the info in the Cog one:<br>
>> > VM source revision (revision id of root of VM source tree)<br>
>> > VM source repository URL (e.g.<br>
>> > <a href="http://www.squeakvm.org/svn/squeak/branches/Cog" target="_blank">http://www.squeakvm.org/svn/squeak/branches/Cog</a>)<br>
>> > Plugin source revision (revision id of plugins/Cross)<br>
>> > plugins/Cross source repository URL (e.g.<br>
>> > <a href="http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins" target="_blank">http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins</a>)<br>
>> ><br>
>><br>
>> Here what 'Smalltalk vm version' gives:<br>
>> 'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:<br>
>> a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013<br>
>> NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:<br>
>> a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013<br>
>> git://<a href="http://gitorious.org/cogvm/blessed.git" target="_blank">gitorious.org/cogvm/blessed.git</a> Commit:<br>
>> 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50<br>
>> +0100 By: Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>> Jenkins build #14535<br>
>> '<br>
>> So, details:<br>
>><br>
>> NBCoInterpreter - an interpreter class name, and package which implements<br>
>> it<br>
>> (with version)<br>
>><br>
>> NBCogit - a Cogit class, and package which implements it<br>
>><br>
>> NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:<br>
>> a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013<br>
>><br>
>> Then a url to git repository where sources took from:<br>
>> git://<a href="http://gitorious.org/cogvm/blessed.git" target="_blank">gitorious.org/cogvm/blessed.git</a><br>
>><br>
>> And a commit hash:<br>
>> Commit: 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13<br>
>> 17:48:50 +0100<br>
>> And commit author:<br>
>> By: Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>><br>
>><br>
>> And at the end we add a jenkins job # , but it only added if you build<br>
>> VM on jenkins:<br>
>> Jenkins build #14535<br>
>><br>
>> Like that, we're not bound to some strange version number which means<br>
>> nothing, but rather a concrete and most complete information, where<br>
>> this artifact comes from and how to reproduce it in case of need.<br>
>><br>
>> Some glitches: For our CMakeVMMaker builds, it actually makes more<br>
>> sense to give a configuration class name (and corresponding<br>
>> CMakeVMMaker package version), rather than interpreter/cointerpreter<br>
>> classes,<br>
>> because cmake config encapsulates a lot of things including those two,<br>
>> and a lot more.<br>
>><br>
>> P.S. i really want to merge all smalltalk source codebase into git ,<br>
>> like that we will only need to list a git commit # and the config used<br>
>> to build VM.<br>
>> But not MC package version, because there's plenty of them.. not just<br>
>> VMMaker alone.<br>
>> Otherwise to provide full information we would need to list all<br>
>> related packages used to build VM and their versions..<br>
>> But even today, a git commit points to ConfigurationOfCog /<br>
>> ConfigurationOfPharoVM which uniquely identifies all required packages<br>
>> and their versions used to build VM for that commit...<br>
>> So, an MC package versions is more a legacy than we really need it.<br>
>><br>
>> --<br>
>> Best regards,<br>
>> Igor Stasenko.<br>
><br>
><br>
><br>
><br>
> --<br>
> best,<br>
> Eliot<br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>