aboutsummaryrefslogtreecommitdiff
path: root/src/lib/delivery
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-02-04 10:36:38 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-02-04 10:36:38 -0500
commiteeef791aab59c56f6ca45e42a400bff0c6894a23 (patch)
tree7b47b620d626efc5476b6605069989b6b0021ace /src/lib/delivery
parent723514c5fa735b34fea983790cf3b3609a198fb7 (diff)
downloadstasis-eeef791aab59c56f6ca45e42a400bff0c6894a23.tar.gz
Rename wheel.c and wheel.h to wheelinfo.c and wheelinfo.h
* Refactor wheel struct as WheelInfo * Refactor wheel_* functions as wheelinfo_*
Diffstat (limited to 'src/lib/delivery')
-rw-r--r--src/lib/delivery/delivery_install.c6
-rw-r--r--src/lib/delivery/include/delivery.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/delivery/delivery_install.c b/src/lib/delivery/delivery_install.c
index f1637a3..2d322de 100644
--- a/src/lib/delivery/delivery_install.c
+++ b/src/lib/delivery/delivery_install.c
@@ -252,7 +252,7 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha
}
strlist_append_tokenize(tag_data, info->repository_info_tag, "-");
- struct Wheel *whl = NULL;
+ struct WheelInfo *whl = NULL;
char *post_commit = NULL;
char *hash = NULL;
if (strlist_count(tag_data) > 1) {
@@ -264,7 +264,7 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha
// equal to the tag; setuptools_scm auto-increments the value, the user can change it manually,
// etc.
errno = 0;
- whl = get_wheel_info(ctx->storage.wheel_artifact_dir, info->name,
+ whl = wheelinfo_get(ctx->storage.wheel_artifact_dir, info->name,
(char *[]) {ctx->meta.python_compact, ctx->system.arch,
"none", "any",
post_commit, hash,
@@ -281,7 +281,7 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha
info->version = strdup(whl->version);
}
guard_strlist_free(&tag_data);
- wheel_free(&whl);
+ wheelinfo_free(&whl);
}
char req[255] = {0};
diff --git a/src/lib/delivery/include/delivery.h b/src/lib/delivery/include/delivery.h
index cae4b02..ddc819e 100644
--- a/src/lib/delivery/include/delivery.h
+++ b/src/lib/delivery/include/delivery.h
@@ -18,7 +18,7 @@
#include "ini.h"
#include "multiprocessing.h"
#include "recipe.h"
-#include "wheel.h"
+#include "wheelinfo.h"
#define DELIVERY_PLATFORM_MAX 4
#define DELIVERY_PLATFORM_MAXLEN 65