Skip to content
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

support for symlinks in project templates #3638

Open
Tracked by #3394
johrstrom opened this issue Jun 25, 2024 · 1 comment
Open
Tracked by #3394

support for symlinks in project templates #3638

johrstrom opened this issue Jun 25, 2024 · 1 comment

Comments

@johrstrom
Copy link
Contributor

johrstrom commented Jun 25, 2024

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
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants