-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ros:master' into master
- Loading branch information
Showing
76 changed files
with
109,505 additions
and
8,128 deletions.
There are no files selected for viewing
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,9 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
# only notify on security updates and not version updates. | ||
open-pull-requests-limit: 0 |
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,43 @@ | ||
--- | ||
# Add 'noetic' label if any files in noetic/ folder are changed by a PR | ||
noetic: | ||
- noetic/* | ||
|
||
# Add 'humble' label if any files in humble/ folder are changed by a PR | ||
humble: | ||
- humble/* | ||
|
||
# Add 'iron' label if any files in iron/ folder are changed by a PR | ||
iron: | ||
- iron/* | ||
|
||
# Add 'jazzy' label if any files in jazzy/ folder are changed by a PR | ||
jazzy: | ||
- jazzy/* | ||
|
||
# Add 'rolling' label if any files in rolling/ folder are changed by a PR | ||
rolling: | ||
- rolling/* | ||
|
||
# Add 'rosdep' label if any files in rosdep/ folder are changed by a PR | ||
rosdep: | ||
- rosdep/* | ||
|
||
# Add 'end-of-life' label if any files are in folders for versions that are no longer supported | ||
end-of-life: | ||
# ROS 1 | ||
- groovy/* | ||
- hydro/* | ||
- indigo/* | ||
- jade/* | ||
- kinetic/* | ||
- lunar/* | ||
- melodic/* | ||
# ROS 2 | ||
- ardent/* | ||
- bouncy/* | ||
- crystal/* | ||
- dashing/* | ||
- eloquent/* | ||
- foxy/* | ||
- galactic/* |
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,27 @@ | ||
--- | ||
pull_request_rules: | ||
- name: Comment on PRs with an end-of-life label | ||
conditions: | ||
- label=end-of-life | ||
actions: | ||
comment: | ||
message: > | ||
This pull request changes files for a ROS distribution | ||
that is no longer supported (End Of Life) | ||
and the distribution will not have any future syncs to include this change. | ||
- name: Close on changes only to EOL folders | ||
conditions: | ||
- and: | ||
- label=end-of-life | ||
# Active ROS 1 distros | ||
- label!=melodic | ||
- label!=noetic | ||
# Active ROS 2 distros | ||
- label!=foxy | ||
- label!=galactic | ||
- label!=humble | ||
- label!=rolling | ||
# Other labels | ||
- label!=rosdep | ||
actions: | ||
close: |
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,66 @@ | ||
<!-- Thank you for contributing a change to the rosdistro. There are two primary types of submissions. | ||
Please select the appropriate template from below: ROSDEP_RULE_TEMPLATE or DOC_INDEX_TEMPLATE | ||
If you're making a new release with bloom please use bloom to create the pull request automatically (except for the naming review request which must be made manually). | ||
If you've already run the release bloom has a `--pull-request-only` option you can use.--> | ||
|
||
<!-- ROSDEP_RULE_TEMPLATE: Submitter Please review the contributing guidelines: https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md --> | ||
|
||
Please add the following dependency to the rosdep database. | ||
|
||
## Package name: | ||
|
||
TODO | ||
|
||
## Package Upstream Source: | ||
|
||
TODO link to source repository | ||
|
||
## Purpose of using this: | ||
|
||
TODO Replace. This dependency is being used for this reason. This is why I think it's valuable to be added to the rosdep database. | ||
|
||
Distro packaging links: | ||
|
||
## Links to Distribution Packages | ||
|
||
<!-- Replace the REQUIRED areas with the URL to the package. For IF AVAILABLE areas, either put in the URL to the package or state 'not available'. | ||
More info at https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md#guidelines-for-rosdep-rules --> | ||
|
||
- Debian: https://packages.debian.org/ | ||
- REQUIRED | ||
- Ubuntu: https://packages.ubuntu.com/ | ||
- REQUIRED | ||
- Fedora: https://packages.fedoraproject.org/ | ||
- IF AVAILABLE | ||
- Arch: https://www.archlinux.org/packages/ | ||
- IF AVAILABLE | ||
- Gentoo: https://packages.gentoo.org/ | ||
- IF AVAILABLE | ||
- macOS: https://formulae.brew.sh/ | ||
- IF AVAILABLE | ||
- Alpine: https://pkgs.alpinelinux.org/packages | ||
- IF AVAILABLE | ||
- NixOS/nixpkgs: https://search.nixos.org/packages | ||
- OPTIONAL | ||
- openSUSE: https://software.opensuse.org/package/ | ||
- IF AVAILABLE | ||
- rhel: https://rhel.pkgs.org/ | ||
- IF AVAILABLE | ||
|
||
<!-- DOC_INDEX_TEMPLATE: add package to rosdistro for documentation indexing --> | ||
|
||
<!--- Templated for adding a package to be indexed in a rosdistro: http://wiki.ros.org/rosdistro/Tutorials/Indexing%20Your%20ROS%20Repository%20for%20Documentation%20Generation --> | ||
|
||
# Please Add This Package to be indexed in the rosdistro. | ||
|
||
ROSDISTRO NAME | ||
|
||
# The source is here: | ||
|
||
http://sourcecode_url | ||
|
||
# Checks | ||
- [ ] All packages have a declared license in the package.xml | ||
- [ ] This repository has a LICENSE file | ||
- [ ] This package is expected to build on the submitted rosdistro |
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,53 @@ | ||
--- | ||
name: Validate rosdistro | ||
# this is fine since gha runs with yaml 1.2 | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: ['master'] | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
checks: | ||
name: rosdistro / rosdep checks | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Fetch upstream (to enable diff) | ||
run: | | ||
git remote add unittest_upstream_comparison https://github.com/ros/rosdistro.git \ | ||
|| git remote set-url unittest_upstream_comparison https://github.com/ros/rosdistro.git | ||
git fetch --no-tags --depth=1 unittest_upstream_comparison master | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install -r test/requirements.txt | ||
- name: Run Tests | ||
run: pytest -s test | ||
yamllint: | ||
name: Yaml Linting | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip install yamllint | ||
- name: Run yamllint | ||
run: yamllint . |
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,20 @@ | ||
--- | ||
name: "Pull Request Labeler" | ||
# this is fine since gha runs with yaml 1.2 | ||
on: # yamllint disable-line rule:truthy | ||
- pull_request_target | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read # for actions/labeler to determine modified files | ||
pull-requests: write # for actions/labeler to add labels to PRs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: ".github/labeler-config.yaml" |
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,26 @@ | ||
--- | ||
name: Automated review | ||
on: # yamllint disable-line rule:truthy | ||
pull_request_target: | ||
types: | ||
- opened | ||
- ready_for_review | ||
- reopened | ||
- synchronize | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
automated_review: | ||
name: Generate automated review | ||
runs-on: ubuntu-latest | ||
if: ${{ !github.event.pull_request.draft }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- run: git fetch origin ${{ github.event.pull_request.head.sha }} | ||
- uses: ros-infrastructure/rosdistro-reviewer@main | ||
with: | ||
token: ${{ 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,29 @@ | ||
--- | ||
name: 'Label inactive PRs as stale' | ||
|
||
# this is fine since gha runs with yaml 1.2 | ||
on: # yamllint disable-line rule:truthy | ||
schedule: | ||
- cron: '0 11 * * *' # runs at 11am UTC every day => early morning in US | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 # https://github.com/marketplace/actions/close-stale-issues | ||
with: | ||
stale-pr-label: 'stale' | ||
stale-pr-message: > | ||
This PR hasn't been activity in 14 days. | ||
If you are still are interested in getting it merged | ||
please provide an update. | ||
Otherwise it will likely be closed by a rosdistro maintainer | ||
following our [contributing policy](https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md). | ||
It's been labeled "stale" for visibility to the maintainers. | ||
If this label isn't appropriate, | ||
you can ask a maintainer to remove the label and add the 'persistent' label. | ||
days-before-pr-stale: 14 | ||
days-before-pr-close: -1 # don't close PRs automatically | ||
days-before-issue-stale: -1 # don't label issues as stale | ||
days-before-issue-close: -1 # don't close issues automatically | ||
exempt-pr-labels: 'persistent' |
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,3 +1,4 @@ | ||
*~ | ||
.DS_STORE | ||
*.pyc | ||
.venv/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,21 @@ | ||
--- | ||
extends: | ||
default | ||
|
||
rules: | ||
# braces: | ||
# min-spaces-inside: 0 | ||
# max-spaces-inside: 0 | ||
# brackets: | ||
# min-spaces-inside: 0 | ||
# max-spaces-inside: 0 | ||
# colons: | ||
# max-spaces-before: 0 | ||
# max-spaces-after: 1 | ||
# commas: | ||
# max-spaces-before: 0 | ||
# min-spaces-after: 1 | ||
# max-spaces-after: 1 | ||
# comments: | ||
# level: warning | ||
# require-starting-space: yes | ||
# min-spaces-from-content: 2 | ||
# comments-indentation: | ||
# level: warning | ||
# document-end: disable | ||
# document-start: | ||
# level: warning | ||
# present: false | ||
# empty-lines: | ||
# max: 2 | ||
# max-start: 0 | ||
# max-end: 0 | ||
# hyphens: | ||
# max-spaces-after: 1 | ||
# indentation: | ||
# spaces: consistent | ||
# indent-sequences: yes | ||
# check-multi-line-strings: no | ||
document-start: | ||
ignore: | | ||
releases/*.yaml | ||
rosdep/*.yaml | ||
indentation: | ||
spaces: consistent | ||
indent-sequences: false | ||
key-duplicates: enable | ||
# line-length: | ||
# max: 999 | ||
# allow-non-breakable-words: yes | ||
# new-line-at-end-of-file: enable | ||
# new-lines: | ||
# type: unix | ||
# trailing-spaces: enable | ||
line-length: | ||
max: 125 | ||
allow-non-breakable-words: true | ||
ignore: | | ||
rosdep/*.yaml | ||
|
||
ignore: | | ||
.venv |
Oops, something went wrong.