Wykres commitów

168 Commity (main)

Autor SHA1 Wiadomość Data
pre-commit-ci[bot] f2c1cb7a8c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 20:28:56 +00:00
Simon Li ebdd121b05 Update zenodo mocks 2023-10-15 17:17:59 +01:00
Simon Li 74a94cf2b0 Test resolving DOI
This helps distinguish temporary(?) errors in the DOI resolution from errors in the content provider
2023-10-15 17:17:55 +01:00
pre-commit-ci[bot] 18e76f9d38 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-11 07:40:57 +00:00
YuviPanda 49bdc6c048 Add unit test for MRAN death 2023-06-11 13:10:02 +05:30
Min RK 8500d479a5
Stop using MRAN
- remove cutoff for picking RSPM, always use it
- remove now-redundant r4.0-mran test
- shift base R 3.6 snapshot date to after October 2017, when rspm snapshots seem to have started
- update docs to point to RSPM
2023-06-09 13:19:59 +02:00
Min RK e1051c3cb8
Merge branch 'main' into feat/new-base 2023-06-09 12:24:20 +02:00
Simon Li 6250c069a8
Merge pull request #1245 from manics/registry-credentials
Add optional registry credentials to push()
2023-05-31 17:36:59 +01:00
Kacper Kowalik (Xarthisius) 7bf02d8101
Update the location of R packagemanager
Fixes #1272
2023-05-23 18:47:32 -05:00
Min RK 43ff7bbc4d
Merge pull request #1253 from IQSS/1242-dataverse-original-file-format
[MRG] download original file formats from Dataverse #1242
2023-03-29 12:29:54 +02:00
Philip Durbin 48f4cc630e make isort happy with pre-commit run --all-files #1242 2023-03-29 05:35:08 -04:00
YuviPanda 5894f63b87 Merge remote-tracking branch 'upstream/main' into feat/new-base 2023-03-23 22:21:02 +05:30
Philip Durbin 938d91c9ca download original file formats from Dataverse #1242
Dataverse creates plain-text, preservation-friendly copies of certain
file formats (some of which are proprietary, such as Stata or SPSS) and
this .tab (tab-separated) file is downloaded unless you supply
`format=original`, which is what this pull request does.

The original filename (e.g. foo.dta, a Stata file) comes from
`originalFileName`, which is only populated when the preservation copy
(e.g. foo.tab) has been successfully created.

Additional variables were created to distinguish between `filename`,
`original_filename`, and `filename_with_path`. If `original_filename`
is available, it's the right one to use.

To allow the tests to continue passing, the query parameters are now
removed so just the file id can be cast as an int.
2023-03-10 16:46:05 -05:00
Min RK 66b8765c69
Remove unspecified Python version case
- removes lockfile copies without version
- enforces that `buildpack.python_version` is always specified (major_pythons['3'] in cases where it could have been falsy before)
- warns when Python version is unspecified, which ensures future reproducibility failures
2023-02-17 13:00:27 +01:00
Simon Li 5e8ee1ca7d Add registry optional credentials to push() 2023-02-12 00:16:14 +00:00
pre-commit-ci[bot] 3e6951c02e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-02-03 14:22:06 +00:00
Yuvi Panda 99125ab179
Merge branch 'main' into feat/new-base 2023-01-06 22:28:27 -08:00
Simon Li cdd0d56342 OSX reports arm64 (Linux reports aarch64) 2023-01-04 15:04:49 +00:00
Simon Li 8f3f57ada7 Make platform configurable instead of only auto-detecting 2023-01-02 19:51:51 +00:00
Bartosz Kardas 389334a4a3 Added missing base_image argument 2022-12-10 13:18:16 -08:00
YuviPanda 7eb143eab0 Set base_image in a few more places 2022-12-10 13:17:49 -08:00
YuviPanda b58fd1508d Fix rspm test for VERSION_CODENAME 2022-12-10 13:17:49 -08:00
YuviPanda 9ff14c1907 Remove accidental import vscode inserted 2022-12-10 13:17:49 -08:00
YuviPanda 446e67820e Add test fixture for setting base image 2022-12-10 13:17:48 -08:00
YuviPanda b724c02c6a Switch RSPM to use focal, not bionic 2022-12-10 13:15:16 -08:00
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