Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CRAN override from Connect chart value #417

Conversation

fh-mthomson
Copy link
Contributor

Motivation: If a user specifies a non-PPM version of CRAN (e.g., https://cran.r-project.org/) when deploying to Connect, the current Helm chart overrides it with the PPM version of CRAN, which may not yet have the latest version of a package.

This change (1) removes this constraint (while still having RSPM pointing to PPM as a fall back) and (2) mirrors the workbench Helm chart (changed here)

@dbkegley
Copy link
Contributor

Connect v2023.09 has some modifications to the default PackageURL behavior.

Connect has new strategies for resolving the set of R package repositories used to install packages in content environments, and controlling how configured RPackageRepository entries and content repositories are used. These are controlled with the setting R.PackageRepositoryResolution. The default behavior has changed. The new default, lax, uses a combined list of configured repositories and repositories from content. To use only configured repositories and discard content repositories, set to strict. To use the old overriding behavior, set to legacy. See the Admin Guide for more details and examples. (#23853)

Does the new default behavior make this change unnecessary?

cc @toph-allen

@fh-mthomson
Copy link
Contributor Author

Brilliant! lax is exactly what I think would solve this. Much appreciated!

For more context, see https://support.posit.co/hc/en-us/requests/91166 where we'd previously discussed.

@fh-mthomson fh-mthomson deleted the mthomson/remove_default_cran_override branch September 25, 2023 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants