implement support for "directories" in "outputs" clause;
make sure things are working well if users specify multiple "files" and "directories" in the "outputs" clause;
enrich the documentation accordingly.
Notes: Concerning the multiple outputs item above, currently the tarball is named like download_2021-07-09-114314.zip. This would make it fuzzy which directories are downloaded in case users ask for more, such as:
outputs:
directories:
- plots
- histograms
We may want to name the tarballs starting from the desired directory name. (perhaps even including things like workflow name and run number?)
In #402 a support was added for downloading directories.
However the feature was not fully represented in
reana.yaml
syntax for the "outputs" clause.Currently, users would have to write:
which will work as expected (i.e. "plots" is recognised as a directory and a zip tarball will be sent for download).
What we should do is to allow:
which would be more consistent with the syntax of the "inputs" clause:
What we should do:
Notes: Concerning the multiple outputs item above, currently the tarball is named like
download_2021-07-09-114314.zip
. This would make it fuzzy which directories are downloaded in case users ask for more, such as:We may want to name the tarballs starting from the desired directory name. (perhaps even including things like workflow name and run number?)