From 89c7394e2a1277d74ed5affcad6d335e83b1a567 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 12 Apr 2024 09:38:17 -0400 Subject: Allow filtering of tags from repositories during build/test phase * The version requested and the tag resolved by git describe may be different if the project's maintainer tagged a commit object more than once. * If version 1.2.3 and 1.2.3a fall on the same commit, one can now filter the "a" to ensure the tag is reported correctly during build/test. --- include/deliverable.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'include/deliverable.h') diff --git a/include/deliverable.h b/include/deliverable.h index 506354a..f5681f4 100644 --- a/include/deliverable.h +++ b/include/deliverable.h @@ -144,14 +144,15 @@ struct Delivery { * \brief Test information */ struct Test { - char *name; ///< Name of package - char *version; ///< Version of package - char *repository; ///< Git repository of package - char *script; ///< Commands to execute - char *build_recipe; ///< Conda recipe to build (optional) - char *repository_info_ref; ///< Git commit hash - char *repository_info_tag; ///< Git tag (first parent) - struct Runtime runtime; ///< Environment variables specific to the test context + char *name; ///< Name of package + char *version; ///< Version of package + char *repository; ///< Git repository of package + char *script; ///< Commands to execute + char *build_recipe; ///< Conda recipe to build (optional) + char *repository_info_ref; ///< Git commit hash + char *repository_info_tag; ///< Git tag (first parent) + struct StrList *repository_remove_tags; ///< Git tags to remove (to fix duplicate commit tags) + struct Runtime runtime; ///< Environment variables specific to the test context } tests[1000]; ///< An array of tests struct Deploy { -- cgit