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

IGNITE-22108 Rename options in CLI #3750

Merged
merged 15 commits into from
May 22, 2024

Conversation

PakhomovAlexander
Copy link
Contributor

@PakhomovAlexander PakhomovAlexander commented May 14, 2024

Some options were reviewed. For example, cluster-name
-> name. Also, short options that clash with each other
are dropped.

https://issues.apache.org/jira/browse/IGNITE-22108

…-22108

# Conflicts:
#	modules/cli/src/integrationTest/java/org/apache/ignite/internal/cli/commands/ItClusterCommandTest.java
#	modules/cli/src/integrationTest/java/org/apache/ignite/internal/cli/commands/cluster/init/ItClusterInitTest.java
#	modules/cli/src/integrationTest/java/org/apache/ignite/internal/cli/commands/configuration/ItConfigCommandTest.java
#	modules/cli/src/integrationTest/java/org/apache/ignite/internal/cli/commands/unit/ItDeploymentUnitTest.java
#	modules/cli/src/test/java/org/apache/ignite/internal/cli/IgniteCliInterfaceTest.java
Some options were reviewed. For example, cluster-name
-> name. Also, short options that clash with each other
are dropped.
docs/_docs/installation/installing-using-docker.adoc Outdated Show resolved Hide resolved
docs/_docs/installation/installing-using-docker.adoc Outdated Show resolved Hide resolved

/** Meta storage node name option short name. */
public static final String META_STORAGE_NODE_NAME_OPTION_SHORT = "-m";
public static final String META_STORAGE_NODE_NAME_OPTION = "--ms-node";
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this abbreviation is something user is expecting, maybe we could keep the full option name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How do you think if we keep both --ms-node and --meta-storage-node?

Copy link
Contributor

Choose a reason for hiding this comment

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

How do you think if we keep both --ms-node and --meta-storage-node?

I think it could be confusing for users

PakhomovAlexander and others added 9 commits May 15, 2024 16:56
…nds/cluster/unit/ClusterUnitUndeployCommand.java

Co-authored-by: Vadim Pakhnushev <8614891+valepakh@users.noreply.github.com>
…nds/sql/SqlReplCommand.java

Co-authored-by: Vadim Pakhnushev <8614891+valepakh@users.noreply.github.com>
…repl/completer/cluster/ClusterUrlDynamicCompleterFactory.java

Co-authored-by: Vadim Pakhnushev <8614891+valepakh@users.noreply.github.com>
@PakhomovAlexander PakhomovAlexander merged commit 5fb15c2 into apache:main May 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants