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

support wildcard matching for params file (backport #987) #1003

Merged
merged 3 commits into from Sep 9, 2022

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 8, 2022

This is an automatic backport of pull request #987 done by Mergify.
Cherry-pick of 3586009 has failed:

On branch mergify/bp/galactic/pr-987
Your branch is up to date with 'origin/galactic'.

You are currently cherry-picking commit 3586009.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   rclpy/test/resources/test_node/complicated_wildcards.yaml
	new file:   rclpy/test/resources/test_node/params_by_order.yaml
	new file:   rclpy/test/resources/test_node/wildcards.yaml
	modified:   rclpy/test/test_node.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   rclpy/src/rclpy/node.cpp

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* support regex for params file

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

* add test

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

* flake8

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

Signed-off-by: Chen Lihui <lihui.chen@sony.com>
(cherry picked from commit 3586009)

# Conflicts:
#	rclpy/src/rclpy/node.cpp
@fujitatomoya
Copy link
Collaborator

@iuhilnehc-ynos could you help to resolve conflict?

@iuhilnehc-ynos
Copy link
Contributor

iuhilnehc-ynos commented Sep 9, 2022

@fujitatomoya

I don't have permission to push a commit into mergify/bp/galactic/pr-987 directly, so I'll create a new PR for it.

@iuhilnehc-ynos iuhilnehc-ynos mentioned this pull request Sep 9, 2022
@iuhilnehc-ynos iuhilnehc-ynos removed their assignment Sep 9, 2022
* resolve conflict

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

* cpp headers should be put after c

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

Signed-off-by: Chen Lihui <lihui.chen@sony.com>
@fujitatomoya
Copy link
Collaborator

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@iuhilnehc-ynos iuhilnehc-ynos mentioned this pull request Sep 9, 2022
… c system headers (#1005)

excepts some headers defines in _CPP_HEADERS

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

Signed-off-by: Chen Lihui <lihui.chen@sony.com>
@fujitatomoya
Copy link
Collaborator

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Collaborator

  • Linux Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Collaborator

unstable warnings are unrelated.

@fujitatomoya fujitatomoya merged commit cb45737 into galactic Sep 9, 2022
@delete-merged-branch delete-merged-branch bot deleted the mergify/bp/galactic/pr-987 branch September 9, 2022 18:55
tonynajjar pushed a commit to pixel-robotics/rclpy that referenced this pull request Sep 10, 2022
)

* support wildcard matching for params file (ros2#987)

* support regex for params file

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

* add test

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

* flake8

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

Signed-off-by: Chen Lihui <lihui.chen@sony.com>
(cherry picked from commit 3586009)

# Conflicts:
#	rclpy/src/rclpy/node.cpp

* resolve conflict (ros2#1004)

* resolve conflict

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

* cpp headers should be put after c

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

* ament_cpplint recognizes headers with extensions in angle brackets as c system headers (ros2#1005)

excepts some headers defines in _CPP_HEADERS

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

Signed-off-by: Chen Lihui <lihui.chen@sony.com>

Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Co-authored-by: Chen Lihui <lihui.chen@sony.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants