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

Merge gz-fuel-tools8 ➡️ main #363

Merged
merged 18 commits into from
Jul 24, 2023
Merged

Merge gz-fuel-tools8 ➡️ main #363

merged 18 commits into from
Jul 24, 2023

Conversation

scpeters
Copy link
Member

➡️ Forward port

Port gz-fuel-tools8 ➡️ main

Branch comparison: main...gz-fuel-tools8

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

nkoenig and others added 16 commits March 29, 2023 11:11
* Support downloading from a referal link

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

* spelling

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

* Address comments

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

---------

Signed-off-by: Nate Koenig <natekoenig@gmail.com>
* 4.8.3 release

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

* 4.8.3

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

---------

Signed-off-by: Nate Koenig <natekoenig@gmail.com>
The ModelIter iterator was fetching all available pages before making the first model available. This PR makes it so that each page is fetched from Fuel when the iterator is advanced.

This also adds a new member function FuelClient::Models(onst ModelIdentifier &_id, bool _checkCache) that allows bypassing the cache when getting a list of models owned by a user from the server.

---------

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Merge ign-fuel-tools4 ➡️  ign-fuel-tools7
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
* Replace ign log macros with gz

Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>

* Clangtidy fixes

Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>

* More clangtidy fixes

Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>

---------

Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
Co-authored-by: Nate Koenig <natekoenig@gmail.com>
Signed-off-by: Silvio Traversaro <silvio.traversaro@iit.it>
Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Co-authored-by: Nate Koenig <natekoenig@gmail.com>
Fixes compiler warnings on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Merge ign-fuel-tools4 ➡️  ign-fuel-tools7
Merge ign-fuel-tools7 ➡️  gz-fuel-tools8
@scpeters scpeters requested a review from nkoenig as a code owner July 20, 2023 19:58
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jul 20, 2023
@@ -30,6 +30,6 @@

#define GZ_FUEL_TOOLS_VERSION_HEADER "Gazebo Fuel Tools, version ${PROJECT_VERSION_FULL}\nCopyright (C) 2017 Open Source Robotics Foundation.\nReleased under the Apache 2.0 License.\n\n"

#define GZ_FUEL_INITIAL_CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/ignition/${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}/"
#define GZ_FUEL_INITIAL_CONFIG_PATH _Pragma ("GCC warning \"'GZ_FUEL_INITIAL_CONFIG_PATH' macro is deprecated and should not be used. \"") "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/ignition/${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}/"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

removed in ae5dbe1 and added to Migration guide

endif()
# Unlike other gz libraries, the ruby script for the fuel_tools library is called cmdfuel.rb instead of cmdfuel_tools.rb
set(CMD_NAME cmdfuel)
set(cmd_script_generated_test "${CMAKE_BINARY_DIR}/test/lib/$<CONFIG>/ruby/ignition/${CMD_NAME}${PROJECT_VERSION_MAJOR}.rb")
Copy link
Contributor

Choose a reason for hiding this comment

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

ignition -> gz?

Copy link
Member Author

Choose a reason for hiding this comment

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

I amended the merge commit to 31bb997 with this change

@scpeters
Copy link
Member Author

scpeters commented Jul 20, 2023

@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #363 (c4f634d) into main (7390bbe) will increase coverage by 0.02%.
The diff coverage is 92.85%.

❗ Current head c4f634d differs from pull request most recent head ae5dbe1. Consider uploading reports for the commit ae5dbe1 to get more accurate results

@@            Coverage Diff             @@
##             main     #363      +/-   ##
==========================================
+ Coverage   75.30%   75.32%   +0.02%     
==========================================
  Files          20       20              
  Lines        2911     2910       -1     
==========================================
  Hits         2192     2192              
+ Misses        719      718       -1     
Impacted Files Coverage Δ
src/Model.cc 87.50% <ø> (ø)
src/FuelClient.cc 68.86% <84.00%> (+0.29%) ⬆️
src/ClientConfig.cc 82.08% <100.00%> (ø)
src/Interface.cc 85.71% <100.00%> (ø)
src/ModelIdentifier.cc 92.44% <100.00%> (ø)
src/ModelIter.cc 100.00% <100.00%> (ø)
src/WorldIdentifier.cc 100.00% <100.00%> (ø)
src/Zip.cc 71.08% <100.00%> (ø)

@scpeters
Copy link
Member Author

as in #362 (comment), the windows test failures are already present on the main branch

@scpeters scpeters merged commit fd7340f into main Jul 24, 2023
8 checks passed
@scpeters scpeters deleted the scpeters/merge_8_9 branch July 24, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants