Skip to content

Commit c7c0968

Browse files
authored
remove dev/ (#580)
1 parent 16a3db6 commit c7c0968

File tree

371 files changed

+15
-39322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+15
-39322
lines changed

.github/workflows/comment_bot.yml

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
- name: Checkout Arrow
3434
uses: actions/checkout@v2
3535
with:
36-
path: arrow
36+
repository: apache/arrow
3737
- name: Set up Python
3838
uses: actions/setup-python@v2
3939
with:
4040
python-version: 3.8
4141
- name: Install Archery and Crossbow dependencies
42-
run: pip install -e arrow/dev/archery[bot]
42+
run: pip install -e dev/archery[bot]
4343
- name: Handle Github comment event
4444
env:
4545
ARROW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -49,78 +49,6 @@ jobs:
4949
--event-name ${{ github.event_name }} \
5050
--event-payload ${{ github.event_path }}
5151
52-
autotune:
53-
name: "Fix all the things"
54-
if: startsWith(github.event.comment.body, '@github-actions autotune')
55-
runs-on: ubuntu-latest
56-
steps:
57-
- uses: actions/checkout@v2
58-
- uses: r-lib/actions/pr-fetch@master
59-
with:
60-
repo-token: ${{ secrets.GITHUB_TOKEN }}
61-
- name: See what is different
62-
run: |
63-
set -ex
64-
git remote add upstream https://github.com/apache/arrow
65-
git fetch upstream
66-
changed() {
67-
git diff --name-only HEAD..upstream/master | grep -e "$1" >/dev/null 2>&1
68-
}
69-
if changed '^r/.*\.R$'; then
70-
echo "R_DOCS=true" >> $GITHUB_ENV
71-
fi
72-
if changed 'cmake' || changed 'CMake'; then
73-
echo "CMAKE_FORMAT=true" >> $GITHUB_ENV
74-
fi
75-
if changed '^cpp/src'; then
76-
echo "CLANG_FORMAT_CPP=true" >> $GITHUB_ENV
77-
fi
78-
if changed '^r/src'; then
79-
echo "CLANG_FORMAT_R=true" >> $GITHUB_ENV
80-
fi
81-
- name: Run cmake_format
82-
if: env.CMAKE_FORMAT == 'true' || endsWith(github.event.comment.body, 'everything')
83-
run: |
84-
set -ex
85-
export PATH=/home/runner/.local/bin:$PATH
86-
python3 -m pip install --upgrade pip setuptools wheel
87-
python3 -m pip install -r dev/archery/requirements-lint.txt
88-
python3 run-cmake-format.py
89-
- name: Run clang-format on cpp
90-
if: env.CLANG_FORMAT_CPP == 'true' || endsWith(github.event.comment.body, 'everything')
91-
run: |
92-
. .env # To get the clang version we use
93-
cpp/build-support/run_clang_format.py \
94-
--clang_format_binary=clang-format-${CLANG_TOOLS} \
95-
--exclude_glob=cpp/build-support/lint_exclusions.txt \
96-
--source_dir=cpp/src --quiet --fix
97-
- name: Run clang-format on r
98-
if: env.CLANG_FORMAT_R == 'true' || endsWith(github.event.comment.body, 'everything')
99-
run: |
100-
. .env # To get the clang version we use
101-
cpp/build-support/run_clang_format.py \
102-
--clang_format_binary=clang-format-${CLANG_TOOLS} \
103-
--exclude_glob=cpp/build-support/lint_exclusions.txt \
104-
--source_dir=r/src --quiet --fix
105-
- uses: r-lib/actions/setup-r@v1
106-
if: env.R_DOCS == 'true' || endsWith(github.event.comment.body, 'everything')
107-
- name: Update R docs
108-
if: env.R_DOCS == 'true' || endsWith(github.event.comment.body, 'everything')
109-
shell: Rscript {0}
110-
run: |
111-
source("ci/etc/rprofile")
112-
install.packages(c("remotes", "roxygen2"))
113-
remotes::install_deps("r")
114-
roxygen2::roxygenize("r")
115-
- name: Commit results
116-
run: |
117-
git config user.name "$(git log -1 --pretty=format:%an)"
118-
git config user.email "$(git log -1 --pretty=format:%ae)"
119-
git commit -a -m 'Autoformat/render all the things [automated commit]' || echo "No changes to commit"
120-
- uses: r-lib/actions/pr-push@master
121-
with:
122-
repo-token: ${{ secrets.GITHUB_TOKEN }}
123-
12452
rebase:
12553
name: "Rebase"
12654
if: startsWith(github.event.comment.body, '@github-actions rebase')

.github/workflows/dev.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,18 @@ jobs:
2727
name: Lint C++, Python, R, Rust, Docker, RAT
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v2
30+
- name: Checkout Arrow
31+
uses: actions/checkout@v2
32+
with:
33+
repository: apache/arrow
34+
submodules: true
35+
fetch-depth: 0
3136
- name: Setup Python
32-
uses: actions/setup-python@v1
37+
uses: actions/setup-python@v2
3338
with:
3439
python-version: 3.8
3540
- name: Setup Archery
36-
run: pip install -e dev/archery[docker]
41+
run: pip install -e dev/archery[lint]
3742
- name: Lint
3843
run: archery lint --rat
3944

@@ -49,11 +54,8 @@ jobs:
4954
run: |
5055
# if you encounter error, try rerun the command below with --write instead of --check
5156
# and commit the changes
52-
npx prettier@2.3.0 --check {ballista,datafusion,datafusion-examples,dev,docs,python}/**/*.md README.md DEVELOPERS.md
53-
- name: Prettier check for Ballista UI
54-
run: |
55-
cd ballista/ui/scheduler
56-
npx yarn
57-
# if you encounter error, try rerun the command below with --write instead of --check
58-
# and commit the changes
59-
npx yarn prettier --check **/*.{ts,tsx}
57+
npx prettier@2.3.2 --check \
58+
{ballista,datafusion,datafusion-examples,docs,python}/**/*.md \
59+
README.md \
60+
DEVELOPERS.md \
61+
ballista/**/*.{ts,tsx}

dev/.gitignore

Lines changed: 0 additions & 21 deletions
This file was deleted.

dev/README.md

Lines changed: 0 additions & 199 deletions
This file was deleted.

dev/archery/MANIFEST.in

Lines changed: 0 additions & 4 deletions
This file was deleted.

dev/archery/archery/__init__.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

dev/archery/archery/benchmark/__init__.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)