Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 37 additions & 4 deletions .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ on:
- edited

jobs:

listen:
crossbow:
name: Listen!
if: startsWith(github.event.comment.body, '@github-actions')
runs-on: ubuntu-latest
steps:
- name: Checkout Arrow
Expand All @@ -53,5 +53,38 @@ jobs:
archery trigger-bot \
--event-name ${{ github.event_name }} \
--event-payload ${{ github.event_path }}


autotune:
name: "Fix all the things"
if: startsWith(github.event.comment.body, 'autotune')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/pr-fetch@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: See what is different
run: |
set -ex
changed() {
git diff --name-only HEAD^.. | grep -e "$1" >/dev/null 2>&1
}
if changed '^r/.*\.R$'; then
echo ".R changed"
echo "::set-env name=R_DOCS::true"
fi
- uses: r-lib/actions/setup-r@v1
if: env.R_DOCS == 'true'
- name: Update R docs
if: env.R_DOCS == 'true'
shell: Rscript {0}
run: |
source("ci/etc/rprofile")
install.packages(c("remotes", "roxygen2"))
remotes::install_deps(r")
roxygen2::roxygenize("r")
- name: Commit results
run: |
git commit -a -m 'Autoformat/render all the things [automated commit]' --author 'GitHub Actions <actions@github.com>' || echo "No changes to commit"
- uses: r-lib/actions/pr-push@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
11 changes: 1 addition & 10 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,7 @@ endif()
find_program(CPPLINT_BIN NAMES cpplint cpplint.py HINTS ${BUILD_SUPPORT_DIR})
message(STATUS "Found cpplint executable at ${CPPLINT_BIN}")

add_custom_target(lint
${PYTHON_EXECUTABLE}
${BUILD_SUPPORT_DIR}/run_cpplint.py
--cpplint_binary
${CPPLINT_BIN}
--exclude_globs
${LINT_EXCLUSIONS_FILE}
--source_dir
${CMAKE_CURRENT_SOURCE_DIR}/src
${ARROW_LINT_QUIET})
add_custom_target(lint ${PYTHON_EXECUTABLE} ${BUILD_SUPPORT_DIR}/run_cpplint.py --cpplint_binary ${CPPLINT_BIN} --exclude_globs ${LINT_EXCLUSIONS_FILE} --source_dir ${CMAKE_CURRENT_SOURCE_DIR}/src ${ARROW_LINT_QUIET})

#
# "make format" and "make check-format" targets
Expand Down
4 changes: 0 additions & 4 deletions r/R/dictionary.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
#' @format NULL
#' @docType class
#'
#' @section Methods:
#'
#' TODO
#'
#' @rdname DictionaryType
#' @name DictionaryType
DictionaryType <- R6Class("DictionaryType",
Expand Down
2 changes: 1 addition & 1 deletion r/R/message.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#' @include arrow-package.R

#' @title class arrow::Message
#' @title class Message
#'
#' @usage NULL
#' @format NULL
Expand Down
6 changes: 0 additions & 6 deletions r/man/DictionaryType.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions r/man/Message.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions r/man/cpu_count.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions r/man/set_cpu_count.Rd

This file was deleted.