-
Notifications
You must be signed in to change notification settings - Fork 24
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
OpenADAS DEFAULT_REPOSITORY_PATH from environment variable #416
Comments
I'm on board with this. We do a similar thing in cherab-mastu and cherab-jet with the Two things:
|
Hi guys, I support the idea of an environment variable for the atomic data repository path, but I wouldn't include |
Okay, but then after updating to a release that will have #377, the user will need to set a new environment variable, or we have to implement backward compatibility in #377. |
Anyway, I think |
@vsnever , I'm sorry I got confused between #364 and #377 ... I looked quickly into #377 and why would it be problem to name the environment variable Getting back to both proposals, for openadas we can use the proposed environment variable |
The #377 implements Alex's idea from #364 to solve this little mess we have in atomic data. It unifies the structure of the local atomic data repository and makes it independent of the data provider. The #377 reduces the The cherab-adas submodule will also be reduced to parsers and installers, I'm currently working on that. This will work like this, the user calls the installer from I've already updated the documentation, so if you build the docs from #377 you'll see the new atomic data structure. |
@vsnever thanks for explanation. In this case I think using the |
Yes, I'll add this in #377, no problem. I still think |
…the path to the default atomic repository. (cherab#416)
Hi,
I think it would be great if we could pull the default repository path for OpenADAS repository from environment variable (e.g. CHERAB_OPENADAS_DEFAULT_REPOSITORY_PATH).
The change I propose would be quite simple:
This would allow simpler handling of system-wide installation of default repository and working with modules in linux without the need to change the code. Going back to the default path when the variable is not set keeps the backwards compatibility.
What do you think?
The text was updated successfully, but these errors were encountered: