kopia lustrzana https://github.com/jupyterhub/repo2docker
e54c24ce2e
This content provider allows to retrieve the content from a Software Heritage (SWH) persistent identifier (SWHID). Typical usage: repo2docker swh:1:rev:94dca98c006b80309704c717b5d83dff3c1fa3a0 It uses the SWH public vault API to retrieve the content of the given directory. Most of the times, this will not need an authentication token to bypass the rate-limiting of the SWH API. Without authentication, one should be allowed to retrieve one directory content per minute. If this is not enought, then the user must use authenticated calls to the SWH API. For this, a new `swh_token` config item has been added to the Repo2Docker application class. To use authentication: repo2docker --config cfg.json swh:1:rev:94dca98c006b80309704c717b5d83dff3c1fa3a0 with the swh_token config option being defined in the cfg.json config file. |
||
---|---|---|
.. | ||
contentproviders | ||
test_app.py | ||
test_args.py | ||
test_argumentvalidation.py | ||
test_binder_dir.py | ||
test_buildpack.py | ||
test_cache_from.py | ||
test_clone_depth.py | ||
test_connect_url.py | ||
test_docker.py | ||
test_editable.py | ||
test_env.py | ||
test_env_yml.py | ||
test_external_scripts.py | ||
test_freeze.py | ||
test_labels.py | ||
test_memlimit.py | ||
test_ports.py | ||
test_preassemble.py | ||
test_r.py | ||
test_semver.py | ||
test_subdir.py | ||
test_users.py | ||
test_utils.py | ||
test_volumes.py |