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

[foxy backport] Refactor parser.c for better testability (#754) #784

Merged
merged 2 commits into from
Oct 6, 2020

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Sep 2, 2020

Backports #754

This one needs to be ABI checked
Signed-off-by: Stephen Brawner [email protected]

@brawner
Copy link
Contributor Author

brawner commented Sep 2, 2020

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

@brawner brawner self-assigned this Sep 2, 2020
@brawner brawner changed the title Refactor parser.c for better testability (#754) [foxy backport] Refactor parser.c for better testability (#754) Sep 2, 2020
@brawner brawner force-pushed the brawner/rcl_yaml-backport-780 branch from 2798b69 to 1c31fe4 Compare October 1, 2020 22:08
@brawner brawner changed the base branch from brawner/rcl_yaml-backport-780 to foxy October 1, 2020 23:25
* Refactor rcl_yaml_param_parser for better testability

Signed-off-by: Stephen Brawner <[email protected]>

* Reorder parser.c to match parser.h

Signed-off-by: Stephen Brawner <[email protected]>

squash! Reorder parser.c to match parser.h

* Refactor yaml_variant.c for deduplication

Signed-off-by: Stephen Brawner <[email protected]>

* ADD_VALUE_TO_SIMPLE_ARRAY for deduplication

Signed-off-by: Stephen Brawner <[email protected]>

* Remove fprintf

Signed-off-by: Stephen Brawner <[email protected]>

* PR Fixup

Signed-off-by: Stephen Brawner <[email protected]>

* Move headers to src directory

Signed-off-by: Stephen Brawner <[email protected]>

* PR Fixup

Signed-off-by: Stephen Brawner <[email protected]>

* Rebase #780

Signed-off-by: Stephen Brawner <[email protected]>
@brawner brawner force-pushed the brawner/rcl_yaml-backport-754 branch from c5b70a9 to 31df555 Compare October 1, 2020 23:27
@brawner
Copy link
Contributor Author

brawner commented Oct 1, 2020

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

@brawner brawner requested a review from jacobperron October 1, 2020 23:28
@jacobperron
Copy link
Member

@ros-pull-request-builder retest this please

@jacobperron
Copy link
Member

@brawner I'm not sure why the Fpr job is failing but manually triggered CI looks okay.

@brawner
Copy link
Contributor Author

brawner commented Oct 2, 2020

It might be a missing include that get's picked up in the CI job? I'll try digging into this

Signed-off-by: Stephen Brawner <[email protected]>
@brawner brawner force-pushed the brawner/rcl_yaml-backport-754 branch 2 times, most recently from d437319 to 8f52813 Compare October 6, 2020 00:44
@brawner
Copy link
Contributor Author

brawner commented Oct 6, 2020

Added the missing includes to get the Fpr job to pass.

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

@brawner brawner merged commit 2c513aa into foxy Oct 6, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/rcl_yaml-backport-754 branch October 6, 2020 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants