-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output path of task in Task definition #28
Comments
This commit adds `output_path` field to `Task::Options` struct. This is needed to partially address request golemfactory/g-flite#28. The field is made non-optional as after this change lands in upstream, it will be **required** by the Wasm app on the Golem side. cc @zakaprov FYI that this is a potentially breaking change for Brass backend in `gwasm-runner`.
This commit adds `output_path` field to `Task::Options` struct. This is needed to partially address request golemfactory/g-flite#28. The field is made non-optional as after this change lands in upstream, it will be **required** by the Wasm app on the Golem side. cc @zakaprov FYI that this is a potentially breaking change for Brass backend in `gwasm-runner`.
This commit adds `output_path` field to `Task::Options` struct. This is needed to partially address request golemfactory/g-flite#28. The field is made non-optional as after this change lands in upstream, it will be **required** by the Wasm app on the Golem side. cc @zakaprov FYI that this is a potentially breaking change for Brass backend in `gwasm-runner`.
This commit syncs the app with `gwasm-rust-api` v0.1.2 which now requires specifying `output_path` field in the `Task::Options` definition. To achieve this, this commit splits the `output` path into two subcomponents: `output_dir` and `output_filename`. This commit partially addresses #28.
This commit syncs the app with `gwasm-rust-api` v0.1.2 which now requires specifying `output_path` field in the `Task::Options` definition. To achieve this, this commit splits the `output` path into two subcomponents: `output_dir` and `output_filename`. This commit partially addresses #28.
This commit populates the so-far unused `TaskBuilder` options field `output_path` with data from the gWasm task definition. This field is now a required field in the gWasm task's manifest. This commit partially addresses golemfactory/g-flite#28. cc @lukasz.glen FYI, this is a potentially breaking change for the raw gWasm apps in our `wasm-store`. cc @mdtanrikulu FYI, this commit together with golemfactory/g-flite#33 and golemfactory/gwasm-rust-api#10 should address golemfactory/g-flite#28.
This commit populates the so-far unused `TaskBuilder` options field `output_path` with data from the gWasm task definition. This field is now a required field in the gWasm task's manifest. This commit partially addresses golemfactory/g-flite#28. cc @lukasz-glen FYI, this is a potentially breaking change for the raw gWasm apps in our `wasm-store`. cc @mdtanrikulu FYI, this commit together with golemfactory/g-flite#33 and golemfactory/gwasm-rust-api#10 should address golemfactory/g-flite#28.
This commit adds `output_path` field to `Task::Options` struct. This is needed to partially address request golemfactory/g-flite#28. The field is made optional, and serialized only if is not `None`.
This commit overloads the `TaskBuilder`'s `get_output_path` for gWasm tasks. If the task def consists of `output_path` field, then its value is used as the output path of the task. Otherwise, `get_output_path` returns the value of `output_dir` that is supplied within the task def. This commit partially addresses golemfactory/g-flite#28. cc @mdtanrikulu FYI, this commit together with golemfactory/g-flite#33 and golemfactory/gwasm-rust-api#10 should address golemfactory/g-flite#28.
This commit adds `output_path` field to `Task::Options` struct. This is needed to partially address request golemfactory/g-flite#28. The field is made optional, and serialized only if is not `None`.
This commit syncs the app with `gwasm-rust-api` v0.1.2 which now requires specifying `output_path` field in the `Task::Options` definition. To achieve this, this commit splits the `output` path into two subcomponents: `output_dir` and `output_filename`. This commit partially addresses #28.
This commit syncs the app with `gwasm-rust-api` v0.1.2 which now requires specifying `output_path` field in the `Task::Options` definition. To achieve this, this commit splits the `output` path into two subcomponents: `output_dir` and `output_filename`. This commit partially addresses #28.
This commit overloads the `TaskBuilder`'s `get_output_path` for gWasm tasks. If the task def consists of `output_path` field, then its value is used as the output path of the task. Otherwise, `get_output_path` returns the value of `output_dir` that is supplied within the task def. This commit partially addresses golemfactory/g-flite#28. cc @mdtanrikulu FYI, this commit together with golemfactory/g-flite#33 and golemfactory/gwasm-rust-api#10 should address golemfactory/g-flite#28.
This commit overloads the `TaskBuilder`'s `get_output_path` for gWasm tasks. If the task def consists of `output_path` field, then its value is used as the output path of the task. Otherwise, `get_output_path` returns the value of `output_dir` that is supplied within the task def. This commit partially addresses golemfactory/g-flite#28. cc @mdtanrikulu FYI, this commit together with golemfactory/g-flite#33 and golemfactory/gwasm-rust-api#10 should address golemfactory/g-flite#28.
Hey @mdtanrikulu! Thanks for submitting the issue. So you should now be good to go. The PRs rolling out the required functionality are now merged into their respective upstreams: golemfactory/golem#4845, #33, and golemfactory/gwasm-rust-api#10. You can proceed to testing if the changes are up to your spec by downloading the latest g-flite binary, and running latest Golem develop from source. After running your tests, lemme know if that's what you were after and if so, feel free to close this issue :-) |
Hey hey!
Currently there is no proper output path for g-flite in task definition;
Actual:
Expected (example from blender task definition)
Note:
![defaullt](https://user-images.githubusercontent.com/2774845/67025744-d65c9400-f106-11e9-8892-7a1b229e546e.png)
/Users/user_name/Documents/golem
is default path set in Golem electron in settings tab,it can be any valid path for g-flite. Not necessarly the default path. But of course it's would be nice to have in default path if user didn't specified any.
The text was updated successfully, but these errors were encountered: