Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from ros-tooling:master #326

Open
wants to merge 197 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
3b8e1b3
Install setuptools<60.0 (#462)
christophebedard Feb 1, 2022
3e3bb87
Bump actions/setup-node from 2.4.1 to 2.5.1
dependabot[bot] Feb 1, 2022
4c0f37d
Temporarily restrict pip version on Windows to avoid failures (#467)
christophebedard Feb 14, 2022
d3d0cf8
Fix 'pip* install' for checked out repos containing a root setup.cfg …
christophebedard Feb 17, 2022
fff47da
Update tests to remove & replace EOL distros with latest distros (#468)
christophebedard Feb 17, 2022
cf74162
0.2.2
christophebedard Feb 17, 2022
272b778
Bump ajv from 6.10.2 to 6.12.6
dependabot[bot] Feb 17, 2022
824b6c5
Bump actions/setup-node from 2.5.1 to 3.0.0
dependabot[bot] Feb 24, 2022
44272f4
Add note about required-ros-distributions caveat on Ubuntu (#464)
christophebedard Feb 25, 2022
c51bc80
Bump actions/checkout from 2 to 3
dependabot[bot] Mar 2, 2022
cedd5a2
remove EOL ros distros (#473)
ijnek Mar 3, 2022
19d11b7
add Ubuntu Jammy (#474)
ijnek Mar 4, 2022
695af20
add rolling-jammy to README (#475)
ijnek Mar 4, 2022
e915d4f
0.3.0
christophebedard Mar 4, 2022
c135f47
Bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Mar 24, 2022
cb7bbfa
Bump pascalgn/automerge-action from 0.14.3 to 0.15.2
dependabot[bot] Mar 25, 2022
2b11f82
Bump actions/setup-node from 3.0.0 to 3.1.0
dependabot[bot] Apr 1, 2022
f2a51a0
Bump hmarr/auto-approve-action from 2.1.0 to 2.2.0
dependabot[bot] Apr 4, 2022
c7aa318
Bump hmarr/auto-approve-action from 2.2.0 to 2.2.1
dependabot[bot] Apr 5, 2022
11bf284
Bump actions/setup-node from 3.1.0 to 3.1.1
dependabot[bot] Apr 11, 2022
fce6fde
Add support for Humble (#484)
christophebedard Apr 29, 2022
a2020e8
0.3.1
christophebedard Apr 29, 2022
56efcc6
Make Connext version distro-specific (#486)
christophebedard May 12, 2022
cb90d70
0.3.2
christophebedard May 12, 2022
75d4100
Bump pascalgn/automerge-action from 0.15.2 to 0.15.3
dependabot[bot] May 13, 2022
83f67b9
Bump actions/setup-node from 3.1.1 to 3.2.0
dependabot[bot] May 16, 2022
c8f2d20
Update tests and README after official Humble release (#489)
christophebedard May 24, 2022
fdd129b
Add support for Humble on Windows (#490)
christophebedard May 24, 2022
dd88a18
0.3.3
christophebedard May 24, 2022
90cf87d
Sync Windows choco dependencies with ROS 2 CI (#493)
christophebedard Jun 2, 2022
29ad23e
0.3.4
christophebedard Jun 2, 2022
a9222f6
Bump actions/setup-node from 3.2.0 to 3.3.0
dependabot[bot] Jun 6, 2022
f3e8ba5
Bump jsdom from 16.4.0 to 16.7.0
dependabot[bot] Jun 25, 2022
d0860ec
Bump actions/setup-node from 3.3.0 to 3.4.0
dependabot[bot] Jul 11, 2022
aad6582
Bump actions/setup-node from 3.4.0 to 3.4.1
dependabot[bot] Jul 14, 2022
e5f54bb
Bump @actions/core from 1.4.0 to 1.9.1
dependabot[bot] Aug 18, 2022
e5c1d12
Bump hmarr/auto-approve-action from 2.2.1 to 2.4.0
dependabot[bot] Aug 22, 2022
087d813
Do not install 'libc++*' on Jammy (#507)
orensbruli Sep 7, 2022
4ec03ee
0.4.0
christophebedard Sep 7, 2022
d22d0e8
Update version to v0.4 in README
christophebedard Sep 7, 2022
57bc9dc
Run 'apt upgrade' (#510)
christophebedard Sep 9, 2022
a04c0f0
Bump actions/setup-node from 3.4.1 to 3.5.0
dependabot[bot] Sep 27, 2022
dde7079
Add `pyopenssl` to list of pip3 dependencies, fixes #515. (#516)
achim-k Oct 3, 2022
34ec331
0.4.1
christophebedard Oct 4, 2022
e8bfc2d
Bump actions/setup-node from 3.5.0 to 3.5.1
dependabot[bot] Oct 13, 2022
16c95b5
Bump hmarr/auto-approve-action from 2.4.0 to 3.0.0
dependabot[bot] Oct 14, 2022
85d9af3
Bump pascalgn/automerge-action from 0.15.3 to 0.15.5
dependabot[bot] Oct 18, 2022
0fc6657
Bump hmarr/auto-approve-action from 3.0.0 to 3.1.0
dependabot[bot] Oct 21, 2022
d7da852
Bump decode-uri-component from 0.2.0 to 0.2.2
dependabot[bot] Dec 4, 2022
edc3092
add python3-rosinstall-generator as dependency (#528)
ijnek Jan 3, 2023
7ecf08e
0.4.2
christophebedard Jan 3, 2023
d3456a2
Bump json5 from 2.1.2 to 2.2.3
dependabot[bot] Jan 3, 2023
5a2bb17
Bump actions/setup-node from 3.5.1 to 3.6.0
dependabot[bot] Jan 5, 2023
c99f75e
Fix ``husky: not found`` (#532)
ijnek Jan 12, 2023
261fa8c
install colcon-meson (#533)
christianrauch Jan 23, 2023
a34af94
Bump colcon-* versions (#534)
christophebedard Jan 24, 2023
3039875
0.5.0
christophebedard Jan 24, 2023
6388a2a
Update version to v0.5 in README
christophebedard Jan 24, 2023
d4d6ce5
Mention updating version in README as part of release process
christophebedard Jan 24, 2023
cea5b36
Remove Galactic since it is EOL (#536)
christophebedard Jan 31, 2023
b074834
Upgrade to Node.js v16 (#521)
christophebedard Feb 14, 2023
967c886
Bump pascalgn/automerge-action from 0.15.5 to 0.15.6
dependabot[bot] Feb 20, 2023
03b4488
Temporarily work around apt error with grub-efi-amd64-signed (#543)
lhstrh Feb 25, 2023
63c2fa1
0.6.0
christophebedard Feb 26, 2023
41dc2ee
Update version to v0.6 in README
christophebedard Feb 26, 2023
a91bc35
Bump jest-circus from 29.4.2 to 29.4.3
dependabot[bot] Feb 26, 2023
4876d32
Bump @typescript-eslint/eslint-plugin from 5.51.0 to 5.53.0
dependabot[bot] Feb 27, 2023
3c9996d
Bump @typescript-eslint/eslint-plugin from 5.53.0 to 5.54.0
dependabot[bot] Feb 28, 2023
163cec9
Bump @typescript-eslint/parser from 5.51.0 to 5.54.0
dependabot[bot] Mar 1, 2023
d0ac946
Update to latest binary ros2 windows distributions (#548)
hoffmann-stefan Mar 8, 2023
cc461ca
Bump hmarr/auto-approve-action from 3.1.0 to 3.2.0
dependabot[bot] Mar 9, 2023
9ead317
0.6.1
christophebedard Mar 9, 2023
f77bfa3
Bump hmarr/auto-approve-action from 3.2.0 to 3.2.1
dependabot[bot] Mar 16, 2023
32a5099
Bump yaml from 2.2.1 to 2.2.2
dependabot[bot] Apr 25, 2023
40a8769
Bump @types/node from 16.18.12 to 20.0.0
dependabot[bot] May 5, 2023
c760405
Bump typescript from 4.9.5 to 5.0.4
dependabot[bot] May 8, 2023
83eb50d
Bump eslint-config-prettier from 8.6.0 to 8.8.0
dependabot[bot] May 8, 2023
8540aff
Bump @actions/io from 1.1.2 to 1.1.3
dependabot[bot] May 9, 2023
d0b2b8a
Bump eslint from 8.34.0 to 8.40.0
dependabot[bot] May 10, 2023
90803cf
Bump @typescript-eslint/eslint-plugin from 5.54.0 to 5.59.5
dependabot[bot] May 11, 2023
1135685
Bump @typescript-eslint/parser from 5.54.0 to 5.59.5
dependabot[bot] May 12, 2023
d405933
Bump lint-staged from 13.1.1 to 13.2.2
dependabot[bot] May 15, 2023
6acc2d0
Bump jest and @types/jest
dependabot[bot] May 16, 2023
96747d0
Bump ts-jest from 29.0.5 to 29.1.0
dependabot[bot] May 17, 2023
ee866a5
Bump @typescript-eslint/eslint-plugin from 5.59.5 to 5.59.6
dependabot[bot] May 18, 2023
430929d
Bump prettier from 2.8.4 to 2.8.8
dependabot[bot] May 19, 2023
f331e80
Bump @typescript-eslint/parser from 5.59.5 to 5.59.6
dependabot[bot] May 22, 2023
3bce810
Bump @types/node from 20.0.0 to 20.2.3
dependabot[bot] May 23, 2023
ff1a156
Add support for Iron (#568)
hoffmann-stefan May 24, 2023
0395475
0.6.2
christophebedard May 24, 2023
34737b7
Bump @typescript-eslint/parser from 5.59.6 to 5.59.7
dependabot[bot] May 24, 2023
0f8a7a4
Bump @typescript-eslint/eslint-plugin from 5.59.6 to 5.59.7
dependabot[bot] May 25, 2023
5f0a71b
Bump @types/node from 20.2.3 to 20.2.4
dependabot[bot] May 26, 2023
5bf0808
Bump eslint from 8.40.0 to 8.41.0
dependabot[bot] May 29, 2023
9f73258
Bump @typescript-eslint/parser from 5.59.7 to 5.59.8
dependabot[bot] May 30, 2023
d89b6e5
Bump @typescript-eslint/eslint-plugin from 5.59.7 to 5.59.8
dependabot[bot] May 31, 2023
ff93902
Bump @types/jest from 29.5.1 to 29.5.2
dependabot[bot] Jun 1, 2023
3f094ce
Bump typescript from 5.0.4 to 5.1.3
dependabot[bot] Jun 2, 2023
2e85742
Bump eslint from 8.41.0 to 8.42.0
dependabot[bot] Jun 5, 2023
7647afe
Bump @typescript-eslint/eslint-plugin from 5.59.8 to 5.59.9
dependabot[bot] Jun 6, 2023
f773327
Bump @types/node from 20.2.4 to 20.3.0
dependabot[bot] Jun 12, 2023
3a9162f
Bump @typescript-eslint/parser from 5.59.8 to 5.59.11
dependabot[bot] Jun 13, 2023
c2f3cc8
Bump @types/node from 20.3.0 to 20.3.1
dependabot[bot] Jun 14, 2023
b94d404
Bump @typescript-eslint/eslint-plugin from 5.59.9 to 5.59.11
dependabot[bot] Jun 15, 2023
86fff8f
Bump eslint from 8.42.0 to 8.43.0
dependabot[bot] Jun 19, 2023
acb4796
Bump @typescript-eslint/parser from 5.59.11 to 5.60.0
dependabot[bot] Jun 20, 2023
cb19ea5
Bump @typescript-eslint/eslint-plugin from 5.59.11 to 5.60.0
dependabot[bot] Jun 21, 2023
eaa69aa
Bump @typescript-eslint/eslint-plugin from 5.60.0 to 5.60.1
dependabot[bot] Jun 27, 2023
585dea3
Bump lint-staged from 13.2.2 to 13.2.3
dependabot[bot] Jun 28, 2023
a478b3d
Bump @typescript-eslint/parser from 5.60.0 to 5.60.1
dependabot[bot] Jun 29, 2023
f44a369
Bump typescript from 5.1.3 to 5.1.6
dependabot[bot] Jun 30, 2023
6c3a899
Bump actions/setup-node from 3.6.0 to 3.7.0
dependabot[bot] Jul 5, 2023
9b16a33
Drop support for EOL distros and Ubuntu Bionic (#592)
christophebedard Jul 10, 2023
d5e6985
Bump semver from 6.3.0 to 6.3.1
dependabot[bot] Jul 11, 2023
ac6b74f
Bump eslint from 8.43.0 to 8.44.0
dependabot[bot] Jul 11, 2023
75c08bd
Bump jest-circus from 29.5.0 to 29.6.1
dependabot[bot] Jul 11, 2023
e8569de
Update README.md - Fix broken URL (#595)
SamerKhshiboun Jul 11, 2023
0827768
Prefer system packages over pip packages for Linux (#593)
christophebedard Jul 18, 2023
43873f0
0.7.0
christophebedard Jul 18, 2023
05ea8c3
Bump actions/setup-node from 3.7.0 to 3.8.0
dependabot[bot] Aug 14, 2023
09eb3f4
Bump actions/setup-node from 3.8.0 to 3.8.1
dependabot[bot] Aug 17, 2023
b8c3cd5
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
47e46e6
Bump @babel/traverse from 7.20.13 to 7.23.2
dependabot[bot] Oct 18, 2023
8aa198d
Bump actions/setup-node from 3.8.1 to 4.0.0
dependabot[bot] Oct 23, 2023
31940cc
Bump @vercel/ncc from 0.36.1 to 0.38.1
dependabot[bot] Oct 25, 2023
2c77f9c
Bump typescript from 5.1.6 to 5.2.2
dependabot[bot] Oct 26, 2023
956ee51
Bump jest and @types/jest
dependabot[bot] Oct 27, 2023
79d9bc7
Bump @types/node from 20.3.1 to 20.8.9
dependabot[bot] Oct 30, 2023
7bf4142
Bump prettier from 2.8.8 to 3.0.3
dependabot[bot] Oct 31, 2023
7293e28
Bump @actions/core from 1.10.0 to 1.10.1
dependabot[bot] Nov 1, 2023
16ca519
Fix prettier==3 and eslint-plugin-prettier==4 incompatibility (#633)
christophebedard Dec 1, 2023
31d6bfa
Bump ts-jest from 29.1.0 to 29.1.1 (#630)
dependabot[bot] Dec 1, 2023
722f1dd
Pin version of empy to <4 (#632)
Taka-Kazu Dec 1, 2023
33715fb
0.7.1
christophebedard Dec 1, 2023
b2cc2c3
Bump @types/node from 20.8.9 to 20.10.3 (#635)
dependabot[bot] Dec 4, 2023
fe9c31f
Bump actions/setup-node from 4.0.0 to 4.0.1 (#637)
dependabot[bot] Dec 19, 2023
e987cec
Bump eslint from 8.44.0 to 8.56.0 (#641)
dependabot[bot] Feb 5, 2024
489dccd
Bump lint-staged from 13.2.3 to 14.0.1 (#642)
dependabot[bot] Feb 8, 2024
07ea65e
Bump eslint-config-prettier from 8.8.0 to 9.1.0 (#643)
dependabot[bot] Feb 10, 2024
253b380
Bump pascalgn/automerge-action from 0.15.6 to 0.16.2 (#639)
dependabot[bot] Feb 10, 2024
6d4a4a7
Bump eslint-plugin-prettier from 5.0.0 to 5.1.3 (#644)
dependabot[bot] Feb 12, 2024
a3dd48e
Bump actions/setup-node from 4.0.1 to 4.0.2 (#645)
dependabot[bot] Feb 12, 2024
43e3b72
Bump hmarr/auto-approve-action from 3.2.1 to 4.0.0 (#647)
dependabot[bot] Feb 13, 2024
52a9c62
Bump @types/node from 20.10.3 to 20.11.18 (#649)
dependabot[bot] Feb 15, 2024
3d2a1b8
Bump @typescript-eslint/eslint-plugin from 5.60.1 to 5.62.0 (#650)
dependabot[bot] Feb 16, 2024
9e7b0d8
Lower dependabot update frequency (#646)
christophebedard Feb 21, 2024
fabf78c
Bump @typescript-eslint/parser from 5.60.1 to 5.62.0 (#655)
dependabot[bot] Feb 21, 2024
437deb5
Bump typescript from 5.2.2 to 5.3.3 (#653)
dependabot[bot] Feb 22, 2024
a1bf38e
Bump prettier from 3.1.0 to 3.2.5 (#652)
dependabot[bot] Feb 22, 2024
ec1b086
Bump eslint from 8.56.0 to 8.57.0 (#656)
dependabot[bot] Feb 26, 2024
326be42
Add Ubuntu 24.04 Noble and switch Rolling to it (#658)
christophebedard Mar 27, 2024
64b7b57
Remove python3-flake8 workaround for Noble (#669)
christophebedard Apr 15, 2024
254ab4e
0.7.2
christophebedard Apr 21, 2024
39a8d22
Add support for Jazzy (#673)
christophebedard Apr 25, 2024
8b8e60b
0.7.3
christophebedard Apr 25, 2024
ea6216c
ci: temporary testing for rolling (#676)
wep21 Apr 28, 2024
cfa8b33
pin python3.10 for osx (#678)
wep21 Apr 29, 2024
1692fc1
fix: modify macos ci (#675)
wep21 Apr 30, 2024
9019de2
Bump Python to 3.8 on Windows (#677)
christophebedard Apr 30, 2024
d04d8ba
0.7.4
christophebedard Apr 30, 2024
cb56f12
Bump typescript from 5.3.3 to 5.4.5
dependabot[bot] Apr 30, 2024
708543a
Bump @types/node from 20.11.18 to 20.12.7
dependabot[bot] Apr 30, 2024
910b021
Migrate to Node.js v20 (#679)
mikaelarguedas May 11, 2024
8147828
Bump pascalgn/automerge-action from 0.16.2 to 0.16.3
dependabot[bot] May 11, 2024
1703ae0
0.7.5
christophebedard May 17, 2024
2674a06
Bump @typescript-eslint/parser from 7.8.0 to 7.9.0
dependabot[bot] May 20, 2024
d31854a
Bump @typescript-eslint/eslint-plugin from 7.8.0 to 7.9.0
dependabot[bot] May 20, 2024
943b81b
Switch to main repo for Jazzy in tests (#682)
christophebedard May 23, 2024
18ba945
Update README to include Jazzy (#683)
christophebedard May 23, 2024
5ee72ee
Add support for Jazzy binaries on Windows (#684)
christophebedard May 23, 2024
197788c
0.7.6
christophebedard May 23, 2024
d8f32e5
Explicitly install libclang-rt-dev on Noble (#686)
christophebedard May 24, 2024
b8a261a
Bump @typescript-eslint/parser from 7.9.0 to 7.10.0
dependabot[bot] May 27, 2024
b7b0ec2
Bump @typescript-eslint/eslint-plugin from 7.9.0 to 7.10.0
dependabot[bot] May 27, 2024
44e00e2
0.7.7
christophebedard May 27, 2024
31b8b26
Adapt husky config to v9 (#689)
christophebedard May 29, 2024
17263f0
Bump @typescript-eslint/parser from 7.10.0 to 7.11.0
dependabot[bot] Jun 3, 2024
66ab18c
Bump @types/node from 20.12.11 to 20.14.0
dependabot[bot] Jun 3, 2024
d510b35
Bump @typescript-eslint/eslint-plugin from 7.10.0 to 7.11.0
dependabot[bot] Jun 3, 2024
8295aba
Bump prettier from 3.2.5 to 3.3.0
dependabot[bot] Jun 3, 2024
cc95d7b
Bump @typescript-eslint/eslint-plugin from 7.11.0 to 7.12.0
dependabot[bot] Jun 10, 2024
a18f8de
Bump @typescript-eslint/parser from 7.11.0 to 7.12.0
dependabot[bot] Jun 10, 2024
4e5f33e
RHEL support (#694)
christianrauch Jun 13, 2024
29b892e
Bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jun 13, 2024
acd3837
Bump @typescript-eslint/parser from 7.12.0 to 7.13.0
dependabot[bot] Jun 17, 2024
10068a7
Bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.13.0
dependabot[bot] Jun 17, 2024
dad3600
Bump typescript from 5.4.5 to 5.5.2
dependabot[bot] Jun 24, 2024
aeaf5f0
Bump @typescript-eslint/parser from 7.13.0 to 7.14.1
dependabot[bot] Jul 1, 2024
26f023a
Bump @typescript-eslint/eslint-plugin from 7.13.0 to 7.14.1
dependabot[bot] Jul 1, 2024
b860e7f
Bump @typescript-eslint/parser from 7.14.1 to 7.15.0
dependabot[bot] Jul 8, 2024
013031a
Bump @typescript-eslint/eslint-plugin from 7.14.1 to 7.15.0
dependabot[bot] Jul 8, 2024
39bfed0
Bump actions/setup-node from 4.0.2 to 4.0.3
dependabot[bot] Jul 15, 2024
ecd2111
Bump @typescript-eslint/eslint-plugin from 7.15.0 to 7.16.1
dependabot[bot] Jul 15, 2024
406e253
Bump @typescript-eslint/parser from 7.15.0 to 7.16.1
dependabot[bot] Jul 16, 2024
a56b022
Bump ts-jest from 29.1.2 to 29.2.2
dependabot[bot] Jul 16, 2024
87a80a4
Bump husky from 9.0.11 to 9.1.1
dependabot[bot] Jul 22, 2024
fc5eff8
Bump eslint-plugin-prettier from 5.1.3 to 5.2.1
dependabot[bot] Jul 22, 2024
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
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {}
"rules": {},
"ignorePatterns": ["dist", "coverage", "*.md", "*.yml", "*.yaml"]
}
11 changes: 5 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "16:00"
open-pull-requests-limit: 1
interval: weekly
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "16:00"
open-pull-requests-limit: 1
interval: weekly
2 changes: 1 addition & 1 deletion .github/workflows/autoapprove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies')
steps:
- uses: hmarr/auto-approve-action@v2.1.0
- uses: hmarr/auto-approve-action@v4.0.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
steps:
- uses: pascalgn/automerge-action@v0.14.3
- uses: pascalgn/automerge-action@v0.16.3
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "dependencies"
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/build-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ set -euxo pipefail

npm install -g codecov

# When running inside a Docker container, by default, we're root and all files belond to root.
# However, calling the npm scripts (build, etc.) with 'npm run ...' runs the commands as user
# ID=1001, which means we can't open or write to any files. Therefore, if we're in Docker, chown
# everything under /__w (which is the workspace directory on the host: /home/runner/work) to user
# ID=1001. See:
# * https://github.com/ros-tooling/setup-ros/pull/521
# * https://github.com/npm/cli/issues/4589
docker_workdir="/__w"
if [ -d "${docker_workdir}" ]; then
chown -R 1001:1001 "${docker_workdir}"
fi

npm ci
npm run build
npm test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-ros2-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# ./check-ros-distribution.sh <ROS distribution>
# ROS distribution must match the directory name for this distribution
# in /opt. E.g. dashing
# in /opt. E.g. humble

readonly ROS_DISTRIBUTION="$1"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
name: "Lint sources and check build artifacts"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "12.x"
node-version: "20.x"
- run: npm install && npm run lint
- run: npm run build && git diff --exit-code
154 changes: 83 additions & 71 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,37 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macOS-latest, windows-latest]
os:
- macOS-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "12.x"
node-version: "20.x"
- run: .github/workflows/build-and-test.sh
- uses: ./ # Uses an action in the root directory
- run: .github/workflows/check-environment.sh

test_environment_linux:
name: "Check development tools"
runs-on: ubuntu-latest
container:
image: ${{ matrix.docker_image }}
strategy:
fail-fast: false
matrix:
docker_image:
- "ubuntu:bionic"
- "ubuntu:focal"
- "ubuntu:xenial"
container:
image: ${{ matrix.docker_image }}
- ubuntu:20.04
- ubuntu:22.04
- ubuntu:24.04
- almalinux:8
- almalinux:9
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "12.x"
node-version: "20.x"
- run: .github/workflows/build-and-test.sh
- uses: ./ # Uses an action in the root directory
- run: .github/workflows/check-environment.sh
Expand All @@ -68,16 +72,17 @@ jobs:
# - macOS-latest
- windows-latest
ros_distribution:
# Dashing Diademata (May 2019 - May 2021)
- dashing

# Eloquent Elusor (November 2019 - November 2020)
- eloquent
# Humble Hawksbill (May 2022 - May 2027)
- humble
# Iron Irwini (May 2023 - November 2024)
- iron
# Jazzy Jalisco (May 2024 - May 2029)
- jazzy
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "12.x"
node-version: "20.x"
- run: .github/workflows/build-and-test.sh
- uses: ./ # Uses an action in the root directory
with:
Expand All @@ -91,65 +96,52 @@ jobs:
shell: cmd
if: matrix.os == 'windows-latest'

test_ros_binary_install_ubuntu:
test_ros_binary_install_linux:
name: "Check ROS distribution"
strategy:
fail-fast: false
matrix:
ros_distribution:
- kinetic
- melodic
- noetic
- dashing
- eloquent
- foxy
- galactic
- rolling

# Define the Docker image(s) associated with each ROS distribution.
# The include syntax allows additional variables to be defined, like
# docker_image in this case. See documentation:
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-configurations-in-a-matrix-build
#
# Platforms are defined in REP 3: https://ros.org/reps/rep-0003.html
include:
# Kinetic Kame (May 2016 - May 2021)
- docker_image: ubuntu:xenial
ros_distribution: kinetic
ros_version: 1

# Melodic Morenia (May 2018 - May 2023)
- docker_image: ubuntu:bionic
ros_distribution: melodic
ros_version: 1

# Noetic Ninjemys (May 2020 - May 2025)
- docker_image: ubuntu:focal
ros_distribution: noetic
ros_version: 1

# Dashing Diademata (May 2019 - May 2021)
- docker_image: ubuntu:bionic
ros_distribution: dashing
# Humble Hawksbill (May 2022 - May 2027)
- docker_image: ubuntu:jammy
ros_distribution: humble
ros_version: 2

# Eloquent Elusor (November 2019 - November 2020)
- docker_image: ubuntu:bionic
ros_distribution: eloquent
- docker_image: almalinux:8
ros_distribution: humble
ros_version: 2

# Foxy Fitzroy (June 2020 - May 2023)
- docker_image: ubuntu:focal
ros_distribution: foxy
# Iron Irwini (May 2023 - November 2024)
- docker_image: ubuntu:jammy
ros_distribution: iron
ros_version: 2

# Galactic Geochelone (May 2021 - November 2022)
- docker_image: ubuntu:focal
ros_distribution: galactic
# Jazzy Jalisco (May 2024 - November 2029)
- docker_image: ubuntu:noble
ros_distribution: jazzy
ros_version: 2

- docker_image: almalinux:9
ros_distribution: jazzy
ros_version: 2

# Rolling Ridley (see REP 2002: https://www.ros.org/reps/rep-2002.html)
- docker_image: ubuntu:focal
- docker_image: ubuntu:noble
ros_distribution: rolling
ros_version: 2

- docker_image: almalinux:9
ros_distribution: rolling
ros_version: 2

Expand All @@ -158,10 +150,10 @@ jobs:
image: ${{ matrix.docker_image }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "12.x"
node-version: "20.x"
- run: .github/workflows/build-and-test.sh
- uses: ./ # Uses an action in the root directory
with:
Expand All @@ -172,32 +164,52 @@ jobs:
- run: .github/workflows/check-ros2-distribution.sh "${{ matrix.ros_distribution }}"
if: matrix.ros_version == 2

test_multiple_ros_installations:
name: "ROS and ROS 2 Binary Install Test Suite (Linux only)"
test_repo_with_root_setup_cfg:
name: "Test with setup.cfg file in root directory (Linux only)"
runs-on: ubuntu-latest
container:
image: ubuntu:bionic
image: ubuntu:24.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "12.x"
node-version: "20.x"
- run: .github/workflows/build-and-test.sh
- run: cp .github/workflows/test_setup.cfg setup.cfg
- uses: ./ # Uses an action in the root directory
with:
required-ros-distributions: melodic dashing
- run: .github/workflows/check-ros2-distribution.sh dashing
- run: .github/workflows/check-ros-distribution.sh melodic
- run: colcon --help

test_on_setup_ros_docker_container:
name: "Test on a setup-ros-docker container"
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-focal-latest
image: rostooling/setup-ros-docker:ubuntu-noble-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "20.x"
- run: .github/workflows/build-and-test.sh
- uses: ./

test_install_connext:
name: "Test with RTI Connext DDS"
runs-on: ubuntu-latest
container:
image: ${{ matrix.docker_image }}
strategy:
fail-fast: false
matrix:
docker_image:
- ubuntu:24.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version: "12.x"
node-version: "20.x"
- run: .github/workflows/build-and-test.sh
- uses: ./
with:
install-connext: true
- run: .github/workflows/check-environment.sh
- run: dpkg -l | grep rti-connext-dds-
4 changes: 4 additions & 0 deletions .github/workflows/test_setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[develop]
script_dir=$base/lib/package_name
[install]
install_scripts=$base/lib/package_name
4 changes: 2 additions & 2 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
"*": [
"eslint --cache --fix --ignore-path .eslintignore",
"prettier --write --ignore-path .eslintignore --ignore-unknown",
"eslint --cache --fix --config .eslintrc.json",
"prettier --write --config .prettierrc --ignore-path .prettierignore --ignore-unknown",
// Note: doing the build here ensures we omit unstaged changes
() => "npm run build",
() => "git add dist/index.js",
Expand Down
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dist
coverage
*.md
*.yml
*.yaml
12 changes: 9 additions & 3 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@

Install [Node.js](https://nodejs.org/en/download/).

We are currently using Node.js v12.
We are currently using Node.js v20.

## Install dependencies

```sh
npm install
```

## Setup git hooks

Expand All @@ -17,8 +23,6 @@ npm run prepare
## Build and test

```sh
# install dependencies
npm install
# autoformat sources to meet enforced linter style
npm run fixup
# generate build artifacts (run automatically when committing if git hooks are installed)
Expand Down Expand Up @@ -47,3 +51,5 @@ Release process
1. Create a new release and publish it to the marketplace via https://github.com/ros-tooling/setup-ros/releases/new using the patch-level tag that you created
1. Push the minor version tag now that the release is officially out. Users will get the new version automatically
* `git push -f origin v0.1`
1. For a new minor release, update version in examples given in `README.md`
* Search for `ros-tooling/setup-ros@v0.N`
Loading