diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-12 09:38:17 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-12 09:38:17 -0400 |
commit | 89c7394e2a1277d74ed5affcad6d335e83b1a567 (patch) | |
tree | 98f3cb1340fa6a940251441952e6bc4e74744d1d /include/deliverable.h | |
parent | 45557383afe19a0a180b3a8568a1d88337dad440 (diff) | |
download | stasis-89c7394e2a1277d74ed5affcad6d335e83b1a567.tar.gz |
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.
Diffstat (limited to 'include/deliverable.h')
-rw-r--r-- | include/deliverable.h | 17 |
1 files changed, 9 insertions, 8 deletions
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 { |