There has been discussion lately about the possibility of uploading custom ISA-Tab templates into SODAR. Currently, templates are hard-coded to being imported from the cubi-isa-templates respository. Short of forking SODAR and replacing the dependency with one's own template repository, uploading custom templates is not currently supported.
In the long term, we will probably look into moving away from Cookiecutter templates altogether. However, this is not currently in the roadmap. In the short term, I would propose adding a simple app to upload/manage custom sample sheets. Proposed spec below.
Spec
Add admin site app for uploading custom templates
App provides simple upload form to upload a template as a .zip archive
Add some basic "sanity check" file validation to ensure expected files are present
Save templates into the SODAR database as JSON
Add list view of existing templates with basic controls
Download
Delete
No replacing/versioning/etc for now, let's keep it simple
Add Django boolean setting for "use templates from cubi-isa-templates", default True
This allows for omitting the CUBI templates if not usable in an organization's projects
TBD: How should this be documented at this point?
We should probably list some mandatory requirements etc for the templates
Generally this should still be considered an experimental feature in its initial state
With this spec I'd expect this to take some 2-3 days to implement, including testing.
TBD: Prioritization/milestone. Comments are welcome.
There has been discussion lately about the possibility of uploading custom ISA-Tab templates into SODAR. Currently, templates are hard-coded to being imported from the cubi-isa-templates respository. Short of forking SODAR and replacing the dependency with one's own template repository, uploading custom templates is not currently supported.
In the long term, we will probably look into moving away from Cookiecutter templates altogether. However, this is not currently in the roadmap. In the short term, I would propose adding a simple app to upload/manage custom sample sheets. Proposed spec below.
Spec
With this spec I'd expect this to take some 2-3 days to implement, including testing.
TBD: Prioritization/milestone. Comments are welcome.