diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-10 08:27:04 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-10 08:27:04 -0400 |
commit | 027de03de0d4eb113a3c4b6664367ce259aa223a (patch) | |
tree | c4ab4e9cfc77fa2fe410729588b1e3892775b682 /include | |
parent | 23db5d8c97d7210bb2c23bfeb3fb311de6b4ac04 (diff) | |
download | stasis-027de03de0d4eb113a3c4b6664367ce259aa223a.tar.gz |
Write conda installer to a temporary location instead of the current working directory
* Replaces function argument "delivery" with "ctx" for better consistency
Diffstat (limited to 'include')
-rw-r--r-- | include/deliverable.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/deliverable.h b/include/deliverable.h index 84140ae..270aee0 100644 --- a/include/deliverable.h +++ b/include/deliverable.h @@ -109,6 +109,7 @@ struct Delivery { char *installer_version; ///< Version of installer char *installer_platform; ///< Platform/OS target of installer char *installer_arch; ///< CPU architecture target of installer + char *installer_path; ///< Absolute path of installer on-disk char *tool_version; ///< Installed version of conda char *tool_build_version; ///< Installed version of "build" package struct StrList *conda_packages; ///< Conda packages to deliver @@ -268,15 +269,15 @@ int delivery_copy_conda_artifacts(struct Delivery *ctx); * Retrieve Conda installer * @param installer_url URL to installation script */ -int delivery_get_installer(char *installer_url); +int delivery_get_installer(struct Delivery *ctx, char *installer_url); /** * Generate URL based on Delivery context - * @param delivery pointer to Delivery context + * @param ctx pointer to Delivery context * @param result pointer to char * @return in result */ -void delivery_get_installer_url(struct Delivery *delivery, char *result); +void delivery_get_installer_url(struct Delivery *ctx, char *result); /** * Install packages based on Delivery context |