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

Fix requester oneway example. #233

Merged
merged 4 commits into from
Mar 31, 2021
Merged

Fix requester oneway example. #233

merged 4 commits into from
Mar 31, 2021

Conversation

caguero
Copy link
Collaborator

@caguero caguero commented Mar 29, 2021

Signed-off-by: Carlos Agüero [email protected]

🦟 Bug fix

It fixes one of the examples from the services tutorial.

Summary

To test:

  • Run responser_oneway in one terminal.
  • Run requester_oneway in another terminal. You should see the next message in the responser terminal:
Request received: [HELLO]

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

🎉 New feature

Closes #

Summary

Test it

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

➡️ Forward port

Port <FROM_BRANCH> to <TO_BRANCH>

Branch comparison: https://github.com/ignitionrobotics//compare/<TO_BRANCH>...<FROM_BRANCH>

Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

🎈 Release

Preparation for <X.Y.Z> release.

Comparison to <x.y.z>: https://github.com/ignitionrobotics//compare/<LATEST_TAG_BRANCH>...<RELEASE_BRANCH>

Needed by <PR(s)>

Checklist

  • Asked team if this is a good time for a release
  • There are no changes to be ported from the previous major version
  • No PRs targeted at this major version are close to getting in
  • Bumped minor for new features, patch for bug fixes
  • Updated changelog
  • Updated migration guide (as needed)
  • Link to PR updating dependency versions in appropriate repository in ignition-release (as needed):

Note to maintainers: Remember to use Squash-Merge

Signed-off-by: Carlos Agüero <[email protected]>
@github-actions github-actions bot added the 🏢 edifice Ignition Edifice label Mar 29, 2021
@codecov
Copy link

codecov bot commented Mar 29, 2021

Codecov Report

Merging #233 (f7fe4a7) into main (a93722c) will not change coverage.
The diff coverage is n/a.

❗ Current head f7fe4a7 differs from pull request most recent head 7cfbc75. Consider uploading reports for the commit 7cfbc75 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main     #233   +/-   ##
=======================================
  Coverage   89.07%   89.07%           
=======================================
  Files          49       49           
  Lines        4678     4678           
=======================================
  Hits         4167     4167           
  Misses        511      511           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a93722c...7cfbc75. Read the comment docs.

Copy link
Contributor

@adlarkin adlarkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also update the code snippet in the tutorial to match these changes? (https://github.com/ignitionrobotics/ign-transport/blob/fix_oneway_example/tutorials/05_services.md#oneway-requester)

@adlarkin
Copy link
Contributor

Also, in the Building the code section of the tutorial, can we add a note that users should make a msgs directory and then wget the CMakeLists.txt and stringmsg.proto files in the msgs directory?

@caguero
Copy link
Collaborator Author

caguero commented Mar 31, 2021

Should we also update the code snippet in the tutorial to match these changes? (https://github.com/ignitionrobotics/ign-transport/blob/fix_oneway_example/tutorials/05_services.md#oneway-requester)

Good catch! c274828

@caguero
Copy link
Collaborator Author

caguero commented Mar 31, 2021

Also, in the Building the code section of the tutorial, can we add a note that users should make a msgs directory and then wget the CMakeLists.txt and stringmsg.proto files in the msgs directory?

I added it in c274828.

Copy link
Contributor

@adlarkin adlarkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates; feel free to merge!

@caguero caguero merged commit 222d4d6 into main Mar 31, 2021
@caguero caguero deleted the fix_oneway_example branch March 31, 2021 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏢 edifice Ignition Edifice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants