-
Notifications
You must be signed in to change notification settings - Fork 181
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
Are 4.2.3 Dockerfiles still autogenerated? #835
Comments
Sorry for the late reply. Thanks for pointing this out! You are completely correct in pointing out that this is a bug in the script. This version of the Dockerfiles are removed from the repository as intended. |
Sorry, are you saying that all the 4.2.3 Dockerfiles should have been removed and the bug is that they weren't? Or that 4.2.3 is still supposed to be updated, the bug is that it is not, and the removal of the Dockerfiles older than 4.2.3 was intended? I see that https://github.com/rocker-org/rocker-versioned2/wiki still lists 4.2.3 as updated, but maybe that table is autogenerated too and affected by the same bug? In either case, would it be helpful for me to re-add the missing lines to the 4.2.3 Dockerfiles, even if you'll be removing/overwriting them when you find time to fix the script? Happy to do that if I'm not causing trouble. |
Your understanding is correct. These Dockerfiles should be deleted but are not currently.
Why do you want this? |
Thank you very much for your work to keep so many builds running for so long. I really appreciate it and realize that all versions eventually have to pass away (in this case into static artifact form). It's clear the recent repo reorganization was necessary and well-thought-through, even though (as you've probably gathered) I wish it had kept a longer lookback window for new builds.
Just to be very sure: When you say "These Dockerfiles" should be deleted, do you mean all the 4.2.3 files, all 4.2.3 and 4.3.3 files, or something else? In any case I still don't understand the reason they're slated for deletion. The documentation I can find, and the discussions in #614 and the issues/PRs that mention it, all seem to say your rule is to keep building the final patch release of each minor version >= R 4.0. The removal of 4.0 and 4.1.3 can be explained as a decision to stop updating images built on Ubuntu 20 (right?) But 4.2.3 and later are on Ubuntu 22 -- is there another piece of the update-vs-freeze decision tree that I don't know about?
|
Here I am referring to the R 4.2 files, since R 4.2 is already unsupported, so all Dockerfiles are deleted as intended. It is currently outside the scope of this project to build all of each minor version of R. It would be far more efficient to use rig to install any version of the R binary. |
Thank you for the fix! I think I almost understand the system now. One last clarification: Does this mean that going forward, the only versions that get build updates (and therefore the only ones that get Dockerfiles) will be "all patches of the current minor version, the last-released patch of the previous minor version, and--for only some images--also R devel"? I'm sorry to be obtuse here -- I can tell the discussion in #614 was clear to y'all, but not to me. |
The actual logic is here: rocker-versioned2/build/scripts/generate-matrix.R Lines 13 to 28 in e8dddf9
And, For the other versions, the last two patch versions and the last patch version of the second newest minor version should be the build target. For example:
|
Container image name
rocker/tidyverse:4.2.3
Container image digest
none
What operating system related to this question?
macOS
System information
Question
The Dockerfiles for 4.2.3 did not get the fixes that were applied to other Dockerfiles after #782, so they're now missing the following lines that are present for other releases:
I noticed this because the missing
COPY scripts/bin/ ...
leads to a build failure in all the tidyverse-containing images, because install_tidyverse.sh needs the Rocker version ofinstall2.r
for its--skipmissing
option.Looks like the difference emerged because
generate-dockerfiles.R
only updates the latest 2 releases plus devel, so 4.2.3[*] is skipped.Is the intended behavior here that all releases older than the last two will revert to being only manually edited? If yes, I can PR a hand-edit of the affected 4.2.3 dockerfiles and a patch to
dockerfiles/README.md
that explains only some files are autogenerated -- can you advise on the right phrasing? Would it also be good to annotate the relevant files as something like "no longer updated automatically"?[*]Since the release of R 4.4.1, 4.3.3 is skipped as well, but none of the 4.3.3 dockerfiles (yet) change if I force regenerate them.
The text was updated successfully, but these errors were encountered: