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

ign -> gz Namespace Migration : gz-common #356

Merged
merged 29 commits into from
May 28, 2022
Merged

Conversation

methylDragon
Copy link
Contributor

@methylDragon methylDragon requested a review from mjcarroll as a code owner May 18, 2022 05:23
@github-actions github-actions bot added the 🌱 garden Ignition Garden label May 18, 2022
@methylDragon methylDragon force-pushed the namespace_migration branch from 0c350c9 to 5aabd90 Compare May 18, 2022 05:24
@chapulina chapulina added ign to gz Renaming Ignition to Gazebo. needs upstream release Blocked by a release of an upstream library labels May 18, 2022
@methylDragon methylDragon force-pushed the namespace_migration branch 3 times, most recently from fc57967 to abfe3e8 Compare May 20, 2022 12:44
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

LGTM besides the comments below.

include/gz/common/Console.hh Outdated Show resolved Hide resolved
Migration.md Show resolved Hide resolved
@@ -15,20 +15,20 @@
*
*/

#include "ignition/common/PluginMacros.hh"
#include "gz/common/PluginMacros.hh"
Copy link
Contributor

Choose a reason for hiding this comment

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

Ahh I'm undoing the plugin header migration on

We can either merge that first and update this PR, or the other way around. I think it may be easier to do the former so we have less changes to update here. I need to address reviewer feedback on that PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's do the former! I'll be updating this one in the meantime.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rebased after the merge of the PR!

The rebase was not nice to do, and I had to do some manual additions and changes, might want to take another look at the changes:

Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
@methylDragon methylDragon force-pushed the namespace_migration branch from c02cc76 to c6c7825 Compare May 26, 2022 21:49
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Co-authored-by: Louise Poubel <louise@openrobotics.org>

Signed-off-by: methylDragon <methylDragon@gmail.com>
@methylDragon methylDragon force-pushed the namespace_migration branch from c5db01c to 7552295 Compare May 26, 2022 23:33
Signed-off-by: methylDragon <methylDragon@gmail.com>
@methylDragon methylDragon force-pushed the namespace_migration branch from 2220535 to 7f5dd4e Compare May 26, 2022 23:58
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

LGTM with 🟢 CI!

@chapulina chapulina merged commit c021582 into main May 28, 2022
@chapulina chapulina deleted the namespace_migration branch May 28, 2022 21:08
@chapulina chapulina removed the needs upstream release Blocked by a release of an upstream library label May 29, 2022
#include <gz/common/Export.hh>
#include <gz/utils/SuppressWarning.hh>

namespace ignition
namespace gz
Copy link
Member

Choose a reason for hiding this comment

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

was it intentional to change the namespace for the deprecated Plugin header files to gz? It would be a stronger signal of deprecation if gz::common::Plugin didn't exist. On the other hand, this way people will get deprecation warnings instead of compilation failures if they search / replace ignition:: for gz:: everywhere. Just checking that it was intentional

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah it's not ideal but there are some advantages to it, see this discussion: #356 (comment)

luca-della-vedova pushed a commit that referenced this pull request Jul 27, 2022
Signed-off-by: methylDragon <methylDragon@gmail.com>

Co-authored-by: Louise Poubel <louise@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden ign to gz Renaming Ignition to Gazebo.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants