Hi Carlo:

On 3/19/08, Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote:

>  my half cooked idea (when I saw this and hoped someone else will fix it) was
>  to :
>
>  1) define we want a snapshot or not through an environmental variable
>  (with fallback to the current setting)
>  2) during bootstrap (in the configure phase most likely) create a
>  "SNAPSHOT_VERSION" output file with the svnversion
>  3) use that version for make dist*
>
>  at compilation time ignore the snapshot flag if there is already a nano
>  version defined.

Instead of trying to solve this automatically, I would suggest the
following instead:

- set GANGLIA_NANO_VERSION to something like "test" by default
- when we want to build a "real" snapshot to be consumed by
users/developers, you replace "test" with the real SVN version
manually in configure.in

This has the added option of allowing the person doing the snapshot
release to add additional tags to the SVN version (eg.
GANGLIA_NANO_VERSION = 1090-perlmodules) -- the reason why this may be
useful is I may be testing some changes I have made in my local
repository (and not checked in), yet with the current scheme, the SVN
version will be the same.

Thoughts?

Cheers,

Bernard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to