Opened 18 years ago

Closed 17 years ago

#35 closed Feature request (fixed)

Support for native_version use statements

Reported by: garonne Owned by: arnault
Priority: normal Milestone:
Component: a. Usage Version:
Severity: normal Keywords:
Cc: David, Quarrie, <drquarrie@…>, hn-atlas-SITInternal@… OS: All
If Other, could you precise: Experiment: Other
If Other, could you precise:
Stack trace:
Steps to reproduce:

Description

The suggestion is for support for

use Foo * -native_version=1.2.3

This would require that Foo declared the Foo_native_version macro to be set to 1.2.3 (in this example).

CMT team's answer

This implies to overide the macro Foo_native_version within the glue package. Useful probably for testing external package in a fast way. See ticket

Change History (3)

comment:1 Changed 18 years ago by garonne

David's comment:

My intention with this one was not that the:

use Foo * -native_version=1.2.3

should override the Foo_native_version macro, but that CMT should fail to find a package match unless Foo_native_version was set to 1.2.3, exactly as it would behave if there were two packages, one of which had

use Foo v1

and the other had

use Foo v2

CMT responds by issuing a warning and choosing one. This is the response I'm looking for.

comment:2 Changed 18 years ago by garonne

Cc: David Quarrie <drquarrie@…> hn-atlas-SITInternal@… added

To summarize:

By specifying:

use Foo * -native_version=1.2.3

and having:

Foo v1 with native_version=1.0.3
Foo v2 with native_version=1.2.3
Foo v3 with native_version=1.2.3

you would like to get Foo v3. Correct ?

Is it make sense for several glue package to make reference to the same native_version (here v2 and v3)

comment:3 Changed 17 years ago by /C=FR/O=CNRS/OU=UMR8607/CN=Vincent Garonne/emailAddress=garonne@…

Experiment: Other
OS: All
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.