This behavior should be changed so it is explicit and doesn't result in unintentional behaviors (e.g. set variables that user would not want to set when using gftp). Additionally we need to allow users to set the gsb url in a clear way from python code level.
[ ] Change Golementrypoint so it allows users to pass gsb url without use of env variables
[ ] Change gftp storage so it only sets GSB_URL and RUST_LOG when starting gftp server
As for now, yapapi is passing
GSB_URL
implicitly viaos.environ
.https://github.com/golemfactory/yapapi/blob/b89b1323bf156466d884dc938937e36ccbdc8d75/yapapi/storage/gftp.py#L99-L102
This behavior should be changed so it is explicit and doesn't result in unintentional behaviors (e.g. set variables that user would not want to set when using gftp). Additionally we need to allow users to set the gsb url in a clear way from python code level.
Golem
entrypoint so it allows users to pass gsb url without use of env variablesgftp storage
so it only setsGSB_URL
andRUST_LOG
when startinggftp server