Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into gerth2_elevator_mot…
Browse files Browse the repository at this point in the history
…ion_profiling
  • Loading branch information
gerth2 committed Nov 22, 2024
2 parents 963760d + 9df3116 commit cff4af3
Show file tree
Hide file tree
Showing 1,274 changed files with 16,998 additions and 20,540 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
build-pdf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pip'
Expand All @@ -34,8 +34,8 @@ jobs:
build-html:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pip'
Expand All @@ -59,16 +59,16 @@ jobs:
build-html-translation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: wpilibsuite/frc-docs-translations
- name: Delete old submodule
run: |
rm -rf ./frc-docs
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: frc-docs
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pip'
Expand All @@ -89,13 +89,13 @@ jobs:
# Changes have been made.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
Expand All @@ -118,8 +118,8 @@ jobs:
check-linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
Expand All @@ -132,8 +132,8 @@ jobs:
check-image-size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
Expand All @@ -146,21 +146,22 @@ jobs:
check-spelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: misspell
uses: reviewdog/action-misspell@v1
with:
locale: "US"
reporter: "github-check"
fail_on_error: "true"

check-redirects:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Checkout main
run: |
git fetch origin main --depth=1
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
Expand All @@ -176,8 +177,8 @@ jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Python Dependencies
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/base-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ jobs:
check-base-branch:
runs-on: ubuntu-latest
steps:
- uses: wpilibsuite/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
protected-branches: stable
default-branch: main
update-branch: true
- name: Base Branch
run: |
echo "::error ::Base branch of PR is stable. It should be main. Please retarget the base branch of the PR."
exit 1
8 changes: 4 additions & 4 deletions .github/workflows/inspector.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
{
"baseUrl": "https://raw.githubusercontent.com/wpilibsuite/allwpilib/",
"versionScheme": "v\\d{4}\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
"latestVersion": "v2024.3.1"
"latestVersion": "v2025.1.1-beta-2"
},
{
"baseUrl": "https://github.com/wpilibsuite/allwpilib/raw/",
"versionScheme": "v\\d{4}\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
"latestVersion": "v2024.3.1"
"latestVersion": "v2025.1.1-beta-2"
},
{
"baseUrl": "https://raw.githubusercontent.com/robotpy/examples/",
Expand All @@ -18,13 +18,13 @@
{
"baseUrl": "https://raw.githubusercontent.com/wpilibsuite/vscode-wpilib/",
"versionScheme": "v\\d{4}\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
"latestVersion":"v2024.3.1"
"latestVersion": "v2025.1.1-beta-1"
},
{
"baseUrl": "https://raw.githubusercontent.com/wpilibsuite/StandaloneAppSamples/",
"versionScheme": "v\\d{4}\\.\\d\\.\\d(?:-(?:alpha|beta)-\\d)?|[0-9a-f]{40}",
"latestVersion":"6a5b6352807a8759bd0f012e57695c47f7ef7324"
}
],
"ignoredFiles": ["source/docs/software/commandbased/command-scheduler.rst", "source/docs/software/hardware-apis/pneumatics/pressure.rst", "source/docs/software/hardware-apis/pneumatics/solenoids.rst", "source/docs/software/advanced-gradlerio/code-formatting.rst", "source/docs/software/advanced-controls/state-space/state-space-pose-estimators.rst", "source/docs/software/commandbased/pid-subsystems-commands.rst", "source/docs/software/commandbased/profilepid-subsystems-commands.rst", "source/docs/software/commandbased/subsystems.rst", "source/docs/software/telemetry/writing-sendable-classes.rst"]
"ignoredFiles": ["source/docs/software/commandbased/command-scheduler.rst", "source/docs/software/hardware-apis/pneumatics/pressure.rst", "source/docs/software/hardware-apis/pneumatics/solenoids.rst", "source/docs/software/advanced-controls/state-space/state-space-pose-estimators.rst", "source/docs/software/commandbased/subsystems.rst", "source/docs/software/telemetry/writing-sendable-classes.rst", "source/docs/software/advanced-controls/trajectories/troubleshooting.rst", "source/docs/software/hardware-apis/motors/wpi-drive-classes.rst", "source/docs/software/pathplanning/trajectory-tutorial/creating-drive-subsystem.rst", "source/docs/software/pathplanning/trajectory-tutorial/creating-following-trajectory.rst", "source/docs/software/pathplanning/trajectory-tutorial/entering-constants.rst", "source/docs/software/convenience-features/event-based.rst", "source/docs/software/dashboards/glass/field2d-widget.rst", "source/docs/software/dashboards/smartdashboard/choosing-an-autonomous-program-from-smartdashboard.rst", "source/docs/software/hardware-apis/misc/addressable-leds.rst"]
}
5 changes: 1 addition & 4 deletions .github/workflows/publish_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'wpilibsuite' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Merge
Expand All @@ -33,8 +33,5 @@ jobs:
git merge --ff-only main
- name: Push
if: env.PUBLISH_STABLE == 'true' || github.event.action == 'workflow_dispatch'
env:
PUBLISH_STABLE: ${{ secrets.PUBLISH_STABLE }}
run: |
git push origin stable
14 changes: 7 additions & 7 deletions .github/workflows/update-rli-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# ---- Find Trigger States ----
# Run Inspector autofix on everything
- name: Trigger-Check
uses: shanegenschaw/pull-request-comment-trigger@v2
uses: shanegenschaw/pull-request-comment-trigger@v3.0.0
id: trigger-check-all
with:
trigger: '\inspector check all'
Expand All @@ -22,7 +22,7 @@ jobs:

# Run Inspector autofix only on files changed by the PR
- name: Trigger-Diff
uses: shanegenschaw/pull-request-comment-trigger@v2
uses: shanegenschaw/pull-request-comment-trigger@v3.0.0
id: trigger-diff
with:
trigger: '\inspector fix diff'
Expand All @@ -33,7 +33,7 @@ jobs:

# Run Inspector autofix on everything
- name: Trigger-All
uses: shanegenschaw/pull-request-comment-trigger@v2
uses: shanegenschaw/pull-request-comment-trigger@v3.0.0
id: trigger-all
with:
trigger: '\inspector fix all'
Expand All @@ -48,7 +48,7 @@ jobs:
run: exit 1

- name: Checkout [Common]
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout PR [Comment]
run: gh pr checkout $NUMBER
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
# ---- Common - Post Report ----
- name: Find Comment
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: fc
with:
issue-number: ${{ github.event.issue.number }}
Expand All @@ -110,14 +110,14 @@ jobs:

- name: Create comment
if: ${{ steps.fc.outputs.comment-id == 0 }}
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
body: ${{ env.REPORT }}
issue-number: ${{ github.event.issue.number }}

- name: Update comment
if: ${{ steps.fc.outputs.comment-id != 0 }}
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
body: |
${{ env.REPORT }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPHINXOPTS = -W --keep-going -q -T
SPHINXBUILD = sphinx-build
SOURCEDIR = source
BUILDDIR = build
LINTER = doc8
LINTER = python3 scripts/doc8_redown.py
LINTEROPTS = --ignore D001 # D001 is linelength
SIZECHECKER = python3 -m scripts.imagesizechecker
CONFEXCLUDE = --exclude-file source/conf.py
Expand Down
2 changes: 1 addition & 1 deletion make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if "%SPHINXBUILD%" == "" (
set SOURCEDIR=source
set BUILDDIR=build
set SPHINXOPTS=-W --keep-going -q -T
set LINTER=doc8
set LINTER=python scripts/doc8_redown.py
set LINTEROPTS=--ignore D001 --ignore D004
set SIZECHECKER=python -m scripts.imagesizechecker
set CONFEXCLUDE=--exclude-file source/conf.py
Expand Down
Loading

0 comments on commit cff4af3

Please sign in to comment.