wtsi-npg / npg_conda

NPG Conda recipes and tools
1 stars 15 forks source link

Add support for Conda build variants and Conda versions #272

Closed kjsanger closed 3 years ago

kjsanger commented 3 years ago

Use conda-build API to parse the recipes and process the build variants. This means we can remove our oen ad hoc parsing.

Use Conda MatchSpec, VersionSpec and VersionOrder to get fully Conda-compatible treatment of versions.

Add more accessor methods to RecipeBook, rather than entirely using internal data structures, for clarity.

Avoid adding recipes in the RecipeBook constructor because logging hasn't been fully set up at that point.

Remove overloading of some internal data strutcures for more than one purpose.