You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by np...@apache.org on 2022/07/08 14:42:44 UTC
[arrow] branch master updated: MINOR: [R][CI] Add all available package versions to PACKAGES (#13551)
This is an automated email from the ASF dual-hosted git repository.
npr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 0fdb9cc08b MINOR: [R][CI] Add all available package versions to PACKAGES (#13551)
0fdb9cc08b is described below
commit 0fdb9cc08be53ff374d45af109d5ce2d6bb29a82
Author: Jacob Wujciak-Jens <ja...@wujciak.de>
AuthorDate: Fri Jul 8 16:42:38 2022 +0200
MINOR: [R][CI] Add all available package versions to PACKAGES (#13551)
This overrides the default `latestOnly = TRUE` so all available R package versions are added to the repository index.
Authored-by: Jacob Wujciak-Jens <ja...@wujciak.de>
Signed-off-by: Neal Richardson <ne...@gmail.com>
---
.github/workflows/r_nightly.yml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/r_nightly.yml b/.github/workflows/r_nightly.yml
index fc93dde017..a47f69136f 100644
--- a/.github/workflows/r_nightly.yml
+++ b/.github/workflows/r_nightly.yml
@@ -158,7 +158,11 @@ jobs:
run: |
# folder that we sync to nightlies.apache.org
repo_root <- "repo"
- tools::write_PACKAGES(file.path(repo_root, "src/contrib"), type = "source", verbose = TRUE)
+ tools::write_PACKAGES(file.path(repo_root, "src/contrib"),
+ type = "source",
+ verbose = TRUE,
+ latestOnly = FALSE
+ )
repo_dirs <- list.dirs(repo_root)
# find dirs with binary R packages: e.g. */contrib/4.1
@@ -167,7 +171,11 @@ jobs:
for (dir in pkg_dirs) {
on_win <- grepl("windows", dir)
- tools::write_PACKAGES(dir, type = ifelse(on_win, "win.binary", "mac.binary"), verbose = TRUE )
+ tools::write_PACKAGES(dir,
+ type = ifelse(on_win, "win.binary", "mac.binary"),
+ verbose = TRUE,
+ latestOnly = FALSE
+ )
}
- name: Show repo contents
run: tree repo