OSC / ondemand

Supercomputing. Seamlessly. Open, Interactive HPC Via the Web
https://openondemand.org/
MIT License
263 stars 98 forks source link

support for symlinks in project templates #3638

Open johrstrom opened 3 days ago

johrstrom commented 3 days ago

From discourse - https://discourse.openondemand.org/t/job-templates-allow-for-symlinkd-script-resource/3369

The gist of the idea is that you have a template that users can copy over and in that template is a symlink to some other shell script. When copying the template, we should make a symlink to that original shell script for use in the launchers.

johrstrom commented 3 days ago

I have to admit here that I don't know if we should make a new symlink. It seems like we shouldn't because that original file isn't editable. So instead of making a symlink, we should probably copy the original file itself. That way they get the default shell script the admin wants to distribute, but since it's a real file, the user can edit it after the fact.