uploadWrapper has a new option - volume. It allows user (or plugin, ...) upload files to other volumes than the default one.
This has also some unpleasant effects like that now we are not able to easily determine full path from relative paths/filenames. I've solved it by passing absolute paths around in affected code. It has minor effects e.g. in web ui, where larger part of path is displayed now.
Not sure if any other code path could be affected, so opening this PR for further discussion, testing and pointing out possible caveats.
Main motivation is https://pagure.io/koji/pull-request/200 (Saving failed build trees plugin) which generates big tarballs which should reside in different place than default filer.
uploadWrapper has a new option - volume. It allows user (or plugin, ...) upload files to other volumes than the default one.
This has also some unpleasant effects like that now we are not able to easily determine full path from relative paths/filenames. I've solved it by passing absolute paths around in affected code. It has minor effects e.g. in web ui, where larger part of path is displayed now.
Not sure if any other code path could be affected, so opening this PR for further discussion, testing and pointing out possible caveats.
Main motivation is https://pagure.io/koji/pull-request/200 (Saving failed build trees plugin) which generates big tarballs which should reside in different place than default filer.