-
Couldn't load subscription status.
- Fork 3.9k
GH-47821: [CI][Release][R] Add backslash to repo folder for R binary testing and remove libarrow subfolder #47827
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
Conversation
…inary testing and remove libarrow subfolder
|
|
|
@github-actions crossbow submit r-binary-packages |
|
Revision: f4fa6b7 Submitted crossbow builds: ursacomputing/crossbow @ actions-36836cfdf6
|
|
This requires more work as this commit worked on the release candidate but fails on PRs so it seems we are expecting / generating different repositories / artifacts based on whether we are on a development branch or on the release candidate branch. |
|
@github-actions crossbow submit r-binary-packages |
|
Revision: 227e8f7 Submitted crossbow builds: ursacomputing/crossbow @ actions-a9fcb6b319
|
|
This is now green both on the dev (PRs) and on Release (RC branch). We might require this if we end up doing a new RC due to the Parquet Variant issue. |
|
Does this work? diff --git a/dev/tasks/macros.jinja b/dev/tasks/macros.jinja
index ddcb0d554e..76c67d1de0 100644
--- a/dev/tasks/macros.jinja
+++ b/dev/tasks/macros.jinja
@@ -286,7 +286,7 @@ env:
run: |
profile_path <- file.path(getwd(), ".Rprofile")
repo <- paste0("file://", getwd(), "/repo")
- str <- paste0("options(arrow.repo = '", repo, "' )")
+ str <- paste0("options(arrow.repo = '", repo, "/' )")
print(str)
write(str, file = profile_path, append = TRUE)
str <- paste0("options(arrow.dev_repo = '", repo, "' )")
Line 109 in 7a38744
arrow.dev_repo, we may need to change more code.
|
I don't think that would work, this is logically the same change we did initially on the release candidate: diff --git a/dev/tasks/macros.jinja b/dev/tasks/macros.jinja
index ddcb0d554e..5b1a17d6b7 100644
--- a/dev/tasks/macros.jinja
+++ b/dev/tasks/macros.jinja
@@ -285,7 +285,7 @@ env:
shell: Rscript {0}
run: |
profile_path <- file.path(getwd(), ".Rprofile")
- repo <- paste0("file://", getwd(), "/repo")
+ repo <- paste0("file://", getwd(), "/repo/")
str <- paste0("options(arrow.repo = '", repo, "' )")
print(str)
write(str, file = profile_path, append = TRUE)but then it was trying to locate the files here and failing to do so: I also am not comfortable of doing a lot of changes on the "release" one because I can't really test it. |
|
OK. I'll take this over next week. |
|
I'll work on this in #47929. |
Rationale for this change
The r-binary-packages job was failing on the release candidate 0 for 22.0.0 due to local repository not being correct.
What changes are included in this PR?
Minor fixes to the R packages repository
Are these changes tested?
Yes, this commit was temporarily applied to the Release Candidate branch to generate the r-binary-packages. The r-binary-packages where generated successfully. See the corresponding issue for a more details description.
Are there any user-facing changes?
No