diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-06-30 12:18:49 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-06-30 12:18:49 -0400 |
commit | 62728c208a31c4667927408f109838ddda5d58e1 (patch) | |
tree | 839fb2ec6153496f643bdded0bce9ba728eb0add | |
parent | 2ab4c05b391945e876ac6b266642e3799fc3d536 (diff) | |
download | stasis-allow-hashes-as-version.tar.gz |
Allow git commit hashes in "version" fieldallow-hashes-as-version
-rw-r--r-- | src/lib/delivery/delivery_install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/delivery/delivery_install.c b/src/lib/delivery/delivery_install.c index 7badecb..9e28093 100644 --- a/src/lib/delivery/delivery_install.c +++ b/src/lib/delivery/delivery_install.c @@ -243,7 +243,7 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha if (INSTALL_PKG_PIP_DEFERRED & type) { struct Test *info = requirement_from_test(ctx, name); if (info) { - if (!strcmp(info->version, "HEAD")) { + if (!strcmp(info->version, "HEAD") || is_git_sha(info->version)) { struct StrList *tag_data = strlist_init(); if (!tag_data) { SYSERROR("%s", "Unable to allocate memory for tag data\n"); |