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

Iox #841 upgrade gtest gmock to v1.10 #1006

Merged

Conversation

elBoberido
Copy link
Member

@elBoberido elBoberido commented Jan 4, 2022

Pre-Review Checklist for the PR Author

  1. Code follows the coding style of CONTRIBUTING.md
  2. Tests follow the best practice for testing
  3. Changelog updated in the unreleased section including API breaking changes
  4. Branch follows the naming format (iox-#123-this-is-a-branch)
  5. Commits messages are according to this guideline
    • Commit messages have the issue ID (iox-#123 commit text)
    • Commit messages are signed (git commit -s)
    • Commit author matches Eclipse Contributor Agreement (and ECA is signed)
  6. Update the PR title
    • Follow the same conventions as for commit messages
    • Link to the relevant issue
  7. Relevant issues are linked
  8. Add sensible notes for the reviewer
  9. All checks have passed (except task-list-completed)
  10. Assign PR to reviewer

Notes for Reviewer

This PR updates GTest/GMock to v1.10 and removes some workarounds caused by v1.8.

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Code according to our coding style and naming conventions
  • Unit tests have been written for new behavior
  • Public API changes are documented via doxygen
  • Copyright owner are updated in the changed files
  • PR title describes the changes

Post-review Checklist for the PR Author

  1. All open points are addressed and tracked via issues

References

@elBoberido elBoberido added refactoring Refactor code without adding features technical debt unclean code and design flaws labels Jan 4, 2022
@elBoberido elBoberido self-assigned this Jan 4, 2022
@elBoberido elBoberido added the test A module/integration/stress/etc test for a component label Jan 4, 2022
@codecov
Copy link

codecov bot commented Jan 4, 2022

Codecov Report

Merging #1006 (d46593d) into master (a41fd66) will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1006      +/-   ##
==========================================
- Coverage   77.69%   77.64%   -0.05%     
==========================================
  Files         338      338              
  Lines       12397    12397              
  Branches     1841     1841              
==========================================
- Hits         9632     9626       -6     
- Misses       2137     2143       +6     
  Partials      628      628              
Flag Coverage Δ
unittests 76.57% <ø> (-0.04%) ⬇️
unittests_timing 30.03% <ø> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...x_posh/include/iceoryx_posh/iceoryx_posh_types.inl 70.96% <0.00%> (-9.68%) ⬇️
...lude/iceoryx_posh/internal/capro/capro_message.inl 82.92% <0.00%> (-7.32%) ⬇️
iceoryx_posh/source/popo/listener.cpp 81.25% <0.00%> (-2.50%) ⬇️
iceoryx_hoofs/source/concurrent/loffli.cpp 85.29% <0.00%> (+5.88%) ⬆️

Copy link
Contributor

@mossmaurice mossmaurice left a comment

Choose a reason for hiding this comment

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

LGTM! I know it's tiresome, but please adapt the year in all files with new code 🙃

@elBoberido
Copy link
Member Author

LGTM! I know it's tiresome, but please adapt the year in all files with new code upside_down_face

Sorry, but no. It was either code removal or mass search & replace. This is too trivial for a copyright update and we already handled it this way for other contributors.

@elBoberido elBoberido force-pushed the iox-#841-upgrade-gtest-gmock-to-v1.10 branch 2 times, most recently from 0fb9e0e to f8a77df Compare January 7, 2022 12:12
@mossmaurice
Copy link
Contributor

Sorry, but no. It was either code removal or mass search & replace. This is too trivial for a copyright update and we already handled it this way for other contributors.

Understood and I think you're right to keep the copyright update process as simple as possible! As IANL and our previous workflow was:

  • Remove code -> Old copyright header
  • Code was changed or added -> Adapt copyright header

Hence, I would appreciate if we could discuss this topic in the next developer meetup.

cc @budrus

@elBoberido
Copy link
Member Author

elBoberido commented Jan 10, 2022

@mossmaurice IANAL too but the last time I talked with one about this topic the answer was The change should be substantive before we claim Copyright protection and I got a thumbs up for my so we can use common sense for this question. I hereby claim to not be insane (was not tested, so it's only a claim) and a mass search and replace does not count for copyright update ;)

cc @budrus

@elBoberido elBoberido merged commit 6c92309 into eclipse-iceoryx:master Jan 11, 2022
@elBoberido elBoberido deleted the iox-#841-upgrade-gtest-gmock-to-v1.10 branch January 11, 2022 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactor code without adding features technical debt unclean code and design flaws test A module/integration/stress/etc test for a component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade GTest/GMock to v1.10
3 participants