Wykres commitów

408 Commity (docs-dev)

Autor SHA1 Wiadomość Data
Anton Akhmerov 8db656d1ce
always unpack a single zenodo zip 2021-07-06 15:18:42 +02:00
Simon Li 4ed6685dc9 Fix unit tests 2021-07-02 12:43:58 +01:00
Simon Li 9ac8a8314c Handle attrs["State"]["ExitCode"] 2021-07-02 12:42:10 +01:00
Mridul Seth 3edc76342c Fix regression in hydroshare introduced after moving to requests 2021-04-01 15:31:19 +02:00
Tim Head 8731ecf096
Merge pull request #1014 from minrk/flush-buffers 2021-03-23 07:21:00 +01:00
Min RK ebf640cb84 implement entrypoint in Python
- make sure to set PYTHONUNBUFFERED
- implement tee with subprocess readlines
- forward all relevant signals from entrypoint to 'true' command
- add monitor process to ensure child shuts down if parent does (maybe not useful in docker?)
2021-02-17 16:13:42 +01:00
Yuvi Panda f426891014
Merge pull request #960 from minrk/r4 2021-02-17 17:53:53 +05:30
Min RK e862630ee1
Merge pull request #1008 from betatim/missing-logs
Investigating the missing logs
2021-02-17 10:23:11 +00:00
Mridul Seth 0885204a5d fix dataverse regression introduced in last release 2021-02-11 21:58:21 +01:00
Tim Head 6e372b5bc9 Extreme measures 2021-01-28 09:17:34 +01:00
Simon Li cb4621f254
Merge pull request #987 from betatim/stream-logs
[MRG] Stream jupyter server logs to a file
2021-01-27 17:08:17 +00:00
Tim Head 1140dd1919
Merge pull request #988 from douardda/swhid 2021-01-26 13:56:29 +01:00
Tim Head 45229ad613
Merge pull request #1001 from manics/fix_figshare_test 2021-01-20 11:20:13 +01:00
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
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
Simon Li 5e6aa2aa9b Mark failing figshare tests as xfail 2021-01-09 11:36:12 +00:00
Simon Li bcc97a2382 Bug in figshare?
It looks like the new figshare redirects may drop the version suffix causing two tests to fail (see the test comments).
2021-01-08 23:48:58 +00: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
Sylvain Corlay 6c1a2722b9 Use mambaforge instead of miniforge 2020-12-06 11:50:11 +01:00
Tim Head f2ed09bdfb Ensure output arrives on stderr 2020-11-26 14:53:31 +01:00
Jeremy Tuloup 53a9071e5e Update to node 14 2020-11-20 09:38:44 +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
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
Kyungdahm Yun 81513b06d6 Add test for writable permission on REPO_DIR 2020-10-19 21:49:09 -07:00
paugier 05002a4177 hg-evolve required for Mercurial support (simpler) 2020-09-14 14:05:52 +02:00
Min RK dd3fa631dd support R 4 2020-09-14 11:55: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
paugier 3cdde89328 By default run Mercurial tests + enable the topic extension from code (no need for config file) 2020-09-10 21:48:46 +02:00
paugier 5bb586931b Mercurial optional 2020-09-10 07:58:21 +02:00
paugier c91ed4eec5 Mercurial: remove conditions for py3.5 + requirements only in setup.py 2020-09-08 10:09:13 +02:00
paugier fc3cef16a1 Fix test_mercurial.py (black, node_id and git->hg) 2020-09-07 09:51:30 +02:00
paugier 2d2e9bf19a Skip Mercurial for Python 3.5 2020-09-07 09:38:07 +02:00
paugier e520b900bf Add a Mercurial contentprovider
MyBinder could support Mercurial repositories

See https://github.com/jupyterhub/binderhub/issues/1148
2020-09-04 15:14:04 +02:00
Min RK 5179447aea
Merge pull request #928 from gesiscss/configdirtest
little improvement for testing binder_dir
2020-08-17 10:24:10 +02:00
Tim Head 4e3016981d Unrecognised and invalid lines don't disable optimisation
Lines in requirements files that we don't recognise or are syntax errors
do not disable our "optimised" build process.
2020-08-17 08:01:20 +02:00
Tim Head a7ab636441 Add additional test cases and robuster parsing 2020-08-13 14:29:50 +02:00
Tim Head 6d2b129ed8 Handle requirements.txt with `--pre` lines
This is a global flag which our inspection of requirements.txt files
should ignore as it doesn't imply a local reference.
2020-08-13 14:00:16 +02:00
Min RK 60555b1d05 update repo URLs for jupyterhub/repo2docker 2020-08-10 09:33:05 +02:00
Tim Head f5a7711af5 Update snapshot date for simple R test 2020-07-30 16:37:29 +02:00
Tim Head fc9891b541 Upgrade custom test infrastructure for pytest 6.0.0 2020-07-30 15:15:56 +02:00
Simon Li 72fbd65649 validate_image_name: mention lowercase, fix formatting 2020-07-27 20:32:34 +01:00
Kenan Erdogan 00ec28441d merge similar test cases and use equal instead of in 2020-07-08 17:58:30 +02:00
Tim Head df77a99ce1 Make the memory limit test simpler
Instead of checking that a build which allocates too much memory does
fail, we now only check that we pass the correct arguments to the Docker
API client. It seems reasonable to rely on the docker client working and
doing the right thing. This solves a problem where our CI is flakey
because the kernel of the VM the tests run on doesn't support this.
2020-06-12 19:03:48 +02:00
Tim Head bbc3ee02c0
Merge pull request #882 from hwine/GH-881_make_macOS_docker_work 2020-04-27 16:20:20 +02:00
Hal Wine 69f4663700 Fix test_env.py
This works around an issue where the temp directory can not be added to
Docker. In this case, the directory is immediately deleted, and does not
occupy significant disk space. There should be no impact to the move.
2020-04-22 21:33:13 -07:00
Hal Wine a09e523fd4 Expand test cases to cover current Docker handling
Examination of docker's handling showed a few additional cases were
needed.
2020-04-19 16:44:06 -07:00