Avoiding copy/pasting code in app repos

Hi all,

Does anyone have advice about avoiding copy/pasting the code in our different app repos?

Like other sites, we have separate repos for the different apps (bc_jupyter, bc_rstudio, etc.). But there’s a whole lot of code in common between them, and updating that common code in the separate repos is pretty tedious. For example, our form.js is identical in all our repos, and most of the form.js.erb is the same.

Many thanks,
Ron


Ron Rahaman
Research Scientist II
Partnership for an Advanced Computing Environment (PACE)
Georgia Institute of Technology

Yes this is something we’re working on autopopulating thing in the from from what we can determine from the system.

And we added dynamic javascript in OnDemand itself in 2.0. Here are the docs for the same:
https://osc.github.io/ood-documentation/develop/how-tos/app-development/interactive/dynamic-form-widgets.html

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.