[Vm-dev] vmmaker.h?

Igor Stasenko siguctua at gmail.com
Thu Sep 3 10:00:35 UTC 2009


2009/9/2 David T. Lewis <lewis at mail.msen.com>:
>
> On Wed, Sep 02, 2009 at 03:23:29PM -0700, Igor Stasenko wrote:
>>
>> and then you have to keep a list of versions, like:
>>
>> "3.11.3"  -> VMMaker.dtl.123
>>    or -> VMMaker.dtl.345
>>  and so on,
>> in order to quickly find the package version and then load it and
>> check it out...
>
> If you know that your VM was built with sources generated from a version
> 3.11.3 level of VMMaker, then you can open your Monticello browser, look
> at the version history, and see that versionString "3.11.3" was set as of
> VMMaker-dtl.137, "3.11.2" was VMMaker-dtl.136, "3.11.1" was VMMaker-dtl.134,
> and so on.  This is not perfect, but it is better than nothing.
>
>> Now consider , you are resigned, and all current VM devs are resigned.
>> But someone else joined and couldn't find any specs in mailing
>> archives, how to translate the
>> numeric version into corresponding package version..
>> And from then on, the only choice he's having is to download a VMMaker
>> packages one by one,
>> hoping that one of then will have the same version he looking for...
>> Ask yourself, do you want to be in place of such pool soul?
>
> Well, I actually *am* such a poor soul, and I have personally been in
> exactly that position. That is that reason that I try to remember to
> note the VMMaker version string in the Montecello update comments whenever
> it changes (look though the update history with a Monticello browser, or
> look at the "News" tab of the VMMaker project on SqueakSource). That is
> also the reason that I try to make updates that tie back to Mantis
> entries whenever possible (even though I probably annoy people by entering
> "bugs" in Mantis and then "resolving" them myself). If I get run over
> by a truck today, you can take responsibility for VMMaker tomorrow and
> nothing will be lost.
>

So, can we have a cake and eat it too?

Like having a #define as following:


#define COMPLETE_VERSION_STRING   VM_VERSION VM_MAKER_VERSION SVN_VERSION

and user could usually see something like:

Squeak VM 3.4.5. (VMMaker.dtl.xyz) (SVN-bla-bla-x,y,z)
> Dave
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list