-
Notifications
You must be signed in to change notification settings - Fork 0
Description
We'd like to tell whoever visits the public task page how they can use these tasks.
What is this information
The different options are:
- For a PyPI-available package, here is the task name.
- For a remote wheel URL, here is the URL to the wheel file.
It's simple to generate this piece of metadata in the script where we are producing the data for https://fractal-analytics-platform.github.io/fractal_tasks. We can come up with any kind of (internal) representation of this information, e.g. an attribute with values like:
pypi:fractal_tasks_core
remote_wheel:https://github.com/fmi-basel/gliberal-scMultipleX/releases/download/v0.8.0/scmultiplex-0.8.0-py3-none-any.whl
.
Question A: where does this info live?
Is it OK that this information is only generated here when preparing this public page?
Or would it need to be an actual task-package piece of metadata? (note it could be a bit annoying to include wheel URLs in the manifest before the actual release, although they can be guessed).
My opinion: it's easy to generate it on the fly, and I would spare the task maintainers this burden.
Question B: how is this info displayed?
Some examples:
- Clicking somewhere (e.g. on the task-package name, or on a new icon/column) opens up a modal showing a processed version of the attribute described above. E.g. it would say either "Use the
fractal_tasks_core
package name" or "Download this wheel file and upload it to your favorite Fractal instance".- If we have something like this, is it specific for the public-tasks-page table or does it affect fractal-web as well? I'd say it is specific, because within a Fractal instance you don't need to re-add existing tasks. This also depend on the question A above.
- On a different page, we list all "known" task packages and for each one of them we describe how to add it to a Fractal instance.