David Douard
e54c24ce2e
Add support for the SWHID content provider
...
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.
2021-01-19 18:04:46 +01:00
David Douard
983607fed7
Fix the docker image name generation
...
make sure all the parts that constitute the generated docker image name
are escaped, otherwise the docker building process can fail (with a rather
hard to understand error).
Before this fix, the `provider.content_id` was not escaped.
2021-01-19 18:03:50 +01:00
Tim Head
a0606f2b57
Merge pull request #993 from douardda/requests
...
Replace urllib by requests in contentproviders
2021-01-19 17:51:00 +01:00
David Douard
830a9c89c0
Replace urllib by requests in contentproviders
...
requests is globally simpler to use, and more and more people
are more familiar with this later than urllib.
2021-01-18 17:29:53 +01:00
Tim Head
c75b5ab72a
Merge pull request #990 from FRidh/nix
...
buildpacks/nix: disable sandboxing (bugfix)
2021-01-17 10:00:20 +01:00
Tim Head
b464a5e400
Merge pull request #991 from FRidh/nix-2.3.9
...
buildpacks/nix: 2.3 -> 2.3.9
2021-01-13 11:16:06 +01:00
Tim Head
2f1914d8d6
Merge pull request #998 from manics/weekly-cronjob
...
[MRG] Weekly test of master to check for external failures
2021-01-07 17:38:05 +01:00
Simon Li
58dca8be5d
Weekly test of master to check for external failures
...
Test failures can sometimes be quite hard to debug. By adding a weekly automated test run of the default branch we'll have a bit more information on whether a PR is failing due to a change in that PR or due to some external factor.
2021-01-04 22:35:10 +00:00
Frederik Rietdijk
76444c2351
buildpacks/nix: 2.3 -> 2.3.9
...
Update to latest version.
2020-12-19 09:31:55 +01:00
Frederik Rietdijk
5c4c2dc40e
buildpacks/nix: disable sandboxing
...
The version bump #915 broke the Nix buildpack in case one does a build.
Nix 2.3 enables sandboxing by default. Building inside a Docker
container, while Nix is having sandboxing enabled is not possible. Thus,
sandbox = false should be set in /etc/nix/nix.conf.
2020-12-19 09:31:04 +01:00
Min RK
560b1d96a0
Merge pull request #992 from SylvainCorlay/try-mambaforge
...
Use mambaforge instead of miniforge
2020-12-08 15:30:18 +01:00
Sylvain Corlay
d8a3d7fa0a
Update mamba to latest
2020-12-08 11:23:21 +01:00
Sylvain Corlay
6c1a2722b9
Use mambaforge instead of miniforge
2020-12-06 11:50:11 +01:00
Min RK
f3229c1fd5
Merge pull request #983 from jtpio/patch-1
...
[MRG] Update to node 14
2020-11-20 14:59:13 +01:00
Jeremy Tuloup
53a9071e5e
Update to node 14
2020-11-20 09:38:44 +01:00
Tim Head
41bd89ee39
Merge pull request #985 from minrk/rm-stencila
...
Drop support for stencila
2020-11-20 07:11:58 +01:00
Min RK
edfca79371
Remove support for stencila
...
Changes in stencila mean it doesn't work anymore and it's not feasible to update nbstencilaproxy
Instead, show only a warning about removed support for stencila
2020-11-19 18:17:23 +01:00
Tim Head
968cc43a9e
Merge pull request #984 from tomyun/patch-1
...
Add Julia 1.5.3 support
2020-11-11 09:15:00 +01:00
Kyungdahm Yun
4ca664320d
Add Julia 1.5.3 support
2020-11-10 11:16:42 -08:00
Simon Li
30ef2209cc
Merge pull request #979 from minrk/mamba-061
...
Mamba 0.6.1
2020-10-23 09:58:48 +01:00
Min RK
1bb92770eb
regression test for specifying channel name in enviornment.yml dependency
...
this didn't work with mamba 0.5
2020-10-22 15:30:31 +02:00
Min RK
e4b1779999
mamba 0.6.1
2020-10-22 15:29:16 +02:00
Min RK
805c555173
Merge pull request #977 from betatim/support-main-and-master
...
[MRG] Remove reference to `master` branch from CLI doc
2020-10-22 10:44:30 +02:00
Tim Head
1ebb4b5d87
Add explicit error message when `master` is specified
...
Provide a specific error messaeg with a hint towards solution
when a user specifies `master` as ref and we can't find it.
2020-10-22 08:04:29 +02:00
Tim Head
19c698e8d3
Remove reference to `master` branch from CLI doc
2020-10-22 07:46:20 +02:00
Tim Head
035574be55
Merge pull request #975 from tomyun/repodir
2020-10-20 15:18:47 +02:00
Kyungdahm Yun
81513b06d6
Add test for writable permission on REPO_DIR
2020-10-19 21:49:09 -07:00
Kyungdahm Yun
8f714b48be
Ensure REPO_DIR owned by NB_USER
2020-10-18 00:39:49 -07:00
Tim Head
8c4eaa7a81
Merge pull request #969 from bollwyvl/add-chown-on-copy
2020-10-16 11:11:18 +02:00
Nicholas Bollweg
778c914c8c
use jinja var for COPY chown
2020-10-15 08:58:12 -04:00
Nicholas Bollweg
dc559b825a
add chown to COPY commands to reduce layer count
2020-10-14 23:18:18 -04:00
Tim Head
80b91eb169
Merge pull request #927 from gesiscss/master
2020-10-06 16:06:33 +02:00
Kenan Erdogan
526c914bbb
Update docs/source/usage.rst
...
Co-authored-by: Simon Li <orpheus+devel@gmail.com>
2020-10-06 15:04:15 +02:00
Kenan Erdogan
d90ede5239
update docs for config dirs
2020-10-06 15:04:15 +02:00
Tim Head
ae6c2dc8b9
Merge pull request #965 from tomyun/patch-2
...
Add Julia 1.5.2 support
2020-09-25 14:36:25 +02:00
Tim Head
db3ef0d713
Merge pull request #966 from manics/conda-bash-timeformat
...
MRG: set TIMEFORMAT for timed bash conda commands
2020-09-25 14:34:44 +02:00
Simon Li
369b57c794
conda: set TIMEFORMAT for timed bash commands
2020-09-24 19:11:48 +01:00
Kyungdahm Yun
78adb93837
Add Julia 1.5.2 support
2020-09-24 00:00:59 -07:00
Min RK
bc9b1aef62
Merge pull request #962 from SylvainCorlay/mamba-number-three
...
Mamba number three
2020-09-22 13:43:17 +02:00
Sylvain Corlay
908bc0f8ff
One more time (pun intended)
2020-09-21 15:06:21 +02:00
Sylvain Corlay
56fb7e8160
missing -y
2020-09-21 14:22:51 +02:00
Sylvain Corlay
3e07ba2fa5
Fix shell syntax error with time
2020-09-21 14:22:51 +02:00
Sylvain Corlay
916a03f1d5
Update mamba
2020-09-21 14:22:51 +02:00
Min RK
6f9a523b76
install conda packages with mamba
...
might save us some time
adds timing measurement to most of the commands that take a while,
not sure if we want to keep that
2020-09-21 14:22:51 +02:00
Tim Head
35e6e7eda6
Merge pull request #950 from paugier/mercurial-contentprovider
2020-09-21 08:47:21 +02:00
Min RK
09a4cfb7cf
Merge pull request #963 from manics/lab-no-minimize
...
MRG: Disable jupyterlab extension build minimize
2020-09-18 16:28:54 +02:00
Simon Li
45eccfe7f6
Disable jupyterlab extension build minimize
2020-09-18 10:51:39 +01:00
paugier
05002a4177
hg-evolve required for Mercurial support (simpler)
2020-09-14 14:05:52 +02:00
paugier
39081b70c3
Fix bug hg id topic
2020-09-11 00:36:28 +02:00
paugier
64633bbcbc
Documentation about Mercurial support
2020-09-11 00:10:55 +02:00