Wykres commitów

143 Commity (c6318105d23a0a857e5090119b9d057435bf172a)

Autor SHA1 Wiadomość Data
Erik Sundell 98aceac76d tests: cleanup legacy logic
These files are no longer used as of repo2docker PR 912
2022-11-11 07:55:45 +01:00
Min RK 8802ca2a30
update test expectations of log messages 2022-11-08 16:28:01 +01:00
Min RK 2a9dab13f8
test some cli > config > defaults priority
not full coverage, but covers some important cases
2022-11-08 16:01:31 +01:00
pre-commit-ci[bot] 27c2b403db [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-31 22:32:14 +00:00
Erik Sundell 15a1fb6e2d refactor: manually add transitions to f-strings 2022-10-31 21:22:32 +01:00
pre-commit-ci[bot] 5a93542321 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
Erik Sundell b3234b54f0 Refactor to f-strings to comply with pyupgrade 2022-10-31 12:57:23 +01:00
Min RK b314ba90cd test new port argument possibilities 2022-10-31 12:57:23 +01:00
Min RK e9ad8fdb41
run submodule test over https
avoids assertion with file-based submodules
2022-10-24 14:30:08 +02:00
Erik Sundell b3de499659
Merge pull request #1165 from yuvipanda/bump
Bump default R version to 4.2 from 4.1, and let R 3.4 go from 3.4.0 to 3.4.4
2022-10-09 10:06:36 +02:00
Erik Sundell fc08ee1c58 Update R 4.2 from 4.2.0 to 4.2.1 and fix tests 2022-10-08 14:06:29 +02:00
Min RK 1841bf7130
fail on unsupported Python
rather than warning (which users won't see) and building with the wrong version of Python
2022-09-06 10:22:27 +02:00
YuviPanda b97db1066d Fix indexes in tests that look for staging zenodo 2022-07-28 10:02:10 -07:00
YuviPanda 9fa096d0f6 Don't specify distro specific build number 2022-06-22 08:49:28 -07:00
YuviPanda def4009a6b Remove another unneeded R unit test
We want users to be able to install new versions of R
as soon as they are out, without us having to do anything
special in repo2docker. So we can't actually check for 'invalid'
R versions. This is ok, as we don't have to special case apt repos
or similar when installing R from rstudio's debs
2022-06-22 08:49:28 -07:00
YuviPanda ba82209e67 Remove tests that checked if specific R packages were installed 2022-06-22 08:49:28 -07:00
Dara Adib 56bf03811e Add test for shallow clone HEAD 2022-06-02 20:54:43 -04:00
YuviPanda 672c21ff82 Make black happy 2022-04-08 13:55:06 -07:00
Min RK d728a64dd9 get version comparison from semver
since Python is removing version string parsing from the standard library

moves Julia-specific semver utilities to top-level
2022-01-26 15:52:09 +01:00
Min RK 8ab5c81245 remove deprecated call to distutils strtobool 2022-01-26 09:56:15 +01:00
Min RK 19acf46392 remove r-recommended package
r-recommended is a collection of common CRAN packages,
which cause conflicts when trying to install older R.

These same packages can be regular dependencies retrieved from CRAN.
2022-01-25 11:38:35 +01:00
YuviPanda c04fff30cd Say 'apt repository' rather than PPA
PPA is a specific kind of apt repository, hosted on
launchpad.net. We use https://cran.r-project.org/bin/linux/ubuntu/,
which is just a regular apt repository. The PPA terminology
always confused me, so this just clears that up
2022-01-10 17:43:09 +05:30
Simon Li 43525352a7
Merge pull request #1107 from yuvipanda/new-r
Bump default R version to 4.1
2022-01-08 14:44:37 +00:00
YuviPanda 3cb3fbf853 Remove unnecessary print() 2022-01-07 11:18:09 +05:30
YuviPanda e2aefcfbdd Update test to match new default R version 2022-01-05 22:51:27 +05:30
YuviPanda 7c36566bf2 Fix test for particular version of R 3.6 2022-01-05 01:24:10 +05:30
YuviPanda 685c8a0544 Satisfy black 2022-01-04 18:34:33 +05:30
YuviPanda fd6314d07d Solidify logic for picking rspm vs mran
- MRAN doesn't seem to have R 4.1 specific snapshots, so let's
  default to RSPM for anything 4.1+.
- Otherwise, snapshot dates in 2022 will result in using rspm
2022-01-04 18:30:39 +05:30
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
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
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
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
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
Tim Head f2ed09bdfb Ensure output arrives on stderr 2020-11-26 14:53:31 +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
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