Re: [ROOT] ROOT version from the CVS HEAD

From: Remi Mommsen (remigius.mommsen@cern.ch)
Date: Wed Jun 02 2004 - 20:08:42 MEST


Hi Rene,

I think that's a very good idea. However, may I propose to inverse the 
logic. I.e. the even versions are tagged releases and the odd versions 
are never released. Like this we would follow the practice widely used 
in the linux world (for example for kernel versions, KDE, Gnome etc.).

Cheers,
		Remi

On Jun 2, 2004, at 6:35 AM, Rene Brun wrote:

> Hi Valeri,
>
> With the coming release, we will follow the following versioning scheme
>
>   - we will make v4.00.05  (with its CVS tag) and the usual tar files
>      (sources and bins)
>   - immediatly, we will change in RVersion.h the version number to 
> 4.00.06
>     This will be the development version in CVS head up to the next 
> release.
>   - At the next release, we will make 4.00.07 (with its CVS tag, etc)
>     etc
>
> ie, the odd minor version numbers  will be tagged releases, the even 
> versions
> never released.
>
> Rene Brun
>
>
>
> Valeri Fine wrote:
>>
>> Hello ROOT team,
>> Is there any convention to define whether the ROOT source code coming
>> from ROOT CVS HEAD?
>>
>> At the moment the ROOT version is provided by "RVersion.h".
>> However that doesn't help just one wants to play with ROTO from CVS as
>> well.
>>
>> Some dedicated CPP macro would have allowed distinguishing the ROOT 
>> from
>> the CVS HEAD at the compile time.
>>
>>   Something like
>>
>> RVersion.h:
>>   #define ROOT_SOURCE_HEAD
>>
>> The problem is the ROOT interfaces (see TCanvasImp class for example)
>> from CVS HEAD and from ROOT 4.00.04 are not compatible and this leads 
>> to
>> the compilation error.
>>
>> To avoid this I need to be able to add into my code
>>
>>   #if defined(ROOT_SOURCE_HEAD) ||  (ROOT_VERSION_CODE >
>> ROOT_VERSION(4,00,4))
>>       virtual UInt_t GetWindowGeometry(){ return 0;}
>>   #else
>>       virtual void GetWindowGeometry(){}
>>   #endif
>>
>> I would appreciate any other solution to distinguish the source of the
>> interface pragmatically without the "manual editing"
>>
>>   Thank you,
>>
>> Valeri Fine
>> Brookaven National Laboratiory
>> P.O.Box 5000
>> Upton, NY 11973-5000
>> -----
>> Phone: +1 631 344 7806
>> Fax:   +1 631 344 4206
>> E-mail: fine@bnl.gov
>
>


---------------------------------------------------------------------
Truth decays into beauty, while beauty soon becomes merely charm.
Charm ends up as strangeness, and even that doesn't last, but up and
down are forever.                                         (Anonymous)

*********************************************************************
Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
*********************************************************************



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET