-
Notifications
You must be signed in to change notification settings - Fork 18.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mavlink_spec
- Loading branch information
Showing
5,201 changed files
with
777,006 additions
and
168,568 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
[flake8] | ||
ignore = | ||
extend-ignore = | ||
# H301: one import per line | ||
H301, | ||
# H306: imports not in alphabetical order (time, os) | ||
H306, | ||
# E226: missing whitespace around arithmetic operator | ||
E226, | ||
# E261 at least two spaces before inline comment | ||
E261 | ||
E261, | ||
# W504 line break after binary operator | ||
W504, | ||
# E203 whitespace before ':' | ||
E203, | ||
# E221 multiple spaces before operator | ||
E221 | ||
|
||
extend-exclude = | ||
build, | ||
modules, | ||
.git | ||
|
||
max-line-length = 127 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file allows ignoring commits in git blame view on Github. | ||
# For more info, see here: | ||
# https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view | ||
|
||
# Tools: ros2: Run ament_black on all files | ||
85172b56467668bee9fa0e68081027b13bc18c4a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"__comment": "by buzz try to match common autotest warnings and errors that arent caught by gcc.json or python.json", | ||
"problemMatcher": [ | ||
{ | ||
"owner": "autotest-fail-matcher", | ||
"severity": "error", | ||
"pattern": [ | ||
{ | ||
"regexp": "^(.*)(TIMEOUT|Build failed|FAILED STEP):(.*)$", | ||
"column": 1, | ||
"code": 2, | ||
"message": 3 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"__comment": "by buzz try to match common autotest warnings and errors that arent caught by gcc.json or python.json", | ||
"problemMatcher": [ | ||
{ | ||
"owner": "autotest-warn-matcher", | ||
"severity": "warning", | ||
"pattern": [ | ||
{ | ||
"regexp": "^(.*)(WARN|WARNING):(.*)$", | ||
"column": 1, | ||
"code": 2, | ||
"message": 3 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"__comment": "Taken from vscode-cpptools's Extension/package.json gcc rule", | ||
"problemMatcher": [ | ||
{ | ||
"owner": "gcc-problem-matcher", | ||
"pattern": [ | ||
{ | ||
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"severity": 4, | ||
"message": 5 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"__comment": "inspired by https://github.com/microsoft/vscode-python/issues/3828#issuecomment-575439587", | ||
"problemMatcher": [ | ||
{ | ||
"owner": "python-problem-matcher", | ||
"pattern": [ | ||
{ | ||
"regexp": "^.*File \\\"([^\\\"]|.*)\\\", line (\\d+).*", | ||
"file": 1, | ||
"line": 2 | ||
}, | ||
{ | ||
"regexp": "^.*raise.*$" | ||
}, | ||
{ | ||
"regexp": "^\\s*(.*)\\s*$", | ||
"message": 1 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: cleanup caches by a branch | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
cleanup: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
# `actions:write` permission is required to delete caches | ||
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id | ||
actions: write | ||
contents: read | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cleanup | ||
run: | | ||
gh extension install actions/gh-actions-cache | ||
REPO=${{ github.repository }} | ||
BRANCH=refs/pull/${{ github.event.pull_request.number }}/merge | ||
echo "Fetching list of cache key" | ||
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 ) | ||
## Setting this to not fail the workflow while deleting cache keys. | ||
set +e | ||
echo "Deleting caches..." | ||
for cacheKey in $cacheKeysForPR | ||
do | ||
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm | ||
done | ||
echo "Done" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# common ccache env vars for CI | ||
export CCACHE_SLOPPINESS=file_stat_matches | ||
|
||
mkdir -p ~/.ccache | ||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf | ||
echo "compression = true" >> ~/.ccache/ccache.conf | ||
echo "compression_level = 6" >> ~/.ccache/ccache.conf | ||
echo "max_size = 400M" >> ~/.ccache/ccache.conf | ||
ccache -s | ||
ccache -z |
Oops, something went wrong.