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

Production #30

Merged
merged 12 commits into from
Jul 18, 2024
Merged

Production #30

merged 12 commits into from
Jul 18, 2024

Conversation

wlandau
Copy link
Member

@wlandau wlandau commented Jul 12, 2024

This PR adds an update_production() function to update a local copy of the production universe. A GitHub Actions workflow in https://github.com/r-multiverse/production can run update_production() and then push the updates to GitHub. If I understand R-universe correctly, I think this will work, although real-life testing will be key, and I am relying on the following assumptions:

  1. If a package is deleted from packages.json, all builds of the package are removed next time the universe is built, and install.packages()/available.packages() will not find the package. This protects users from installing broken/abandoned packages.
  2. If checks fail in production but the package is listed in packages.json, then none of the new builds will be published, but the most recent old builds will remain available for install.packages()/available.packages().

Related: r-multiverse/help#57, r-multiverse/help#70

@wlandau wlandau requested a review from shikokuchuo July 12, 2024 19:36
@wlandau wlandau self-assigned this Jul 12, 2024
@wlandau wlandau merged commit 052950b into r-multiverse:main Jul 18, 2024
6 checks passed
@wlandau wlandau deleted the production branch July 18, 2024 13:56
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.

1 participant