[Mono-dev] mono-find-provides

Ben Maurer bmaurer at ximian.com
Wed Nov 30 14:16:51 EST 2005


On Wed, 2005-11-30 at 12:07 -0600, Mike Kestner wrote:
> The following patch is a stab at extending mono-find-provides to
> identify assembly versions supported by policy assemblies.  The script
> currently exposes the policy assemblies as:
> 
> mono(policy.2.4.gtk-sharp) = 0.0.0.0
> 
> instead of the desired:
> 
> mono(gtk-sharp) = 2.4.0.0
> 
> Will commit unless somebody can think of a better way.

This looks good to commit. It'd be nice to have something that would
handle something called policy-enforcer (ie, make monodis explicitly say
"this is a policy module"). Not sure how that would be done.

One other minor issue is that somebody might want to say Build-Depends:
mono(gtk-sharp) = 2.4.0.0. The policy thing doesn't really provide
gtk-sharp 2.4 for building (because the resulting assembly will depend
on another version).

-- Ben




More information about the Mono-devel-list mailing list