Adding support for OSF
See original GitHub issueWe want to be able to support the immutable frozen relases on OSF as an input to repo2docker.
So we should introduce the concept of content providers. Their job is to check out the given URL to the current local directory. They won’t do any caching or whatever, and would use traitlets to be pluggable.
We decided against having autodetection, since there is no way to do that reliably for everything, and doing that only for some providers seems complex.
So new commandline would be like:
jupyter-repo2docker --provider=osf https://<some-osf-url>
And the provider class should be like:
class OSFProvider(Provider):
name = 'osf'
description = 'some description of this provider'
@gen.coroutine
def provide(self, identifier):
"""
This method should fetch the contents of the given identifier to the current working directory
"""
pass
This means we only support a single identifier (such as file path, git url including ref, or osf url) to each provider. This makes implementation simpler, but we can modify this in the future if we need.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
OSF Support
Common questions and support documentation. ... Welcome to OSF support, how can we help? Search. No results found ... Add-ons & API Integrations....
Read more >Adding support for OSF · Issue #102 · jupyterhub/repo2docker
We want to be able to support the immutable frozen relases on OSF as an input to repo2docker. So we should introduce the...
Read more >Open Science Framework (OSF) - PMC - NCBI - NIH
The OSF is intended to be collaborative, and users can easily add contributors to projects. The OSF supports controlled access, so project members...
Read more >The Open Science Framework
OSF is a free and open source project management tool that supports researchers ... link projects together, add preprints, or create preregistrations.
Read more >Frequently Asked Questions - OSF MyChart - Login Page
OSF MyChart is a free service offered to our patients. ... please visit "Request Family Access" under the "Communication" menu to add or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@betatim cool!
I think let’s just go with providing a single identifier for now, and we can extend it when we run into a use case that explicitly requires it.
Zenodo uses SoftwareSourceCode as the type of JSON-LD to represent a code submission. That schema doesn’t contain a field for “archive link” so I think we won’t have any luck with that.
My take away from this is that we should start with archive specific content providers and share as much as possible between them. A first step towards that is #242.
Once that is merged we could add a (remote) ZIP/tar.gz file provider which can then be reused by a Zenodo provider and/or an OSF provider.