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

[cmd] Allow escaping : in run names with \: #3536

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

whisperity
Copy link
Contributor

Fixes #3535.

In certain scenarios, the run name might contain a : character that does NOT separate a tag from a name.
Commands such as server and cmd results accept : as a literal in the name, but cmd diff previously cut it as the "run tag" separator.

In certain scenarios, the run name might contain a `:` character that
does NOT separate a tag from a name.
Commands such as `server` and `cmd results` accept `:` as a literal in
the name, but `cmd diff` previously cut it as the "run tag" separator.
@whisperity whisperity added enhancement 🌟 CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands labels Dec 6, 2021
@whisperity
Copy link
Contributor Author

@csordasmarton Should, or could, this go into 6.18.1? It is not a bugfix in the strictest terms, but does lessen a weird discrepancy in operation. (It would also help a pet project I was working on recently to have the initial release with it auto-suggesting x/y: z run names.)

@whisperity whisperity added this to the release 6.19.0 milestone Dec 20, 2021
Copy link
Contributor

@csordasmarton csordasmarton left a comment

Choose a reason for hiding this comment

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

LGTM!

@csordasmarton csordasmarton merged commit 4c8817d into Ericsson:master Dec 21, 2021
whisperity added a commit to whisperity/CodeChecker-Action that referenced this pull request Dec 24, 2021
This reverts commit d0c913f.

As Ericsson/codechecker#3536 got merged, we can return to using `:`.
whisperity added a commit to whisperity/CodeChecker-Action that referenced this pull request Dec 24, 2021
This reverts commit d0c913f.

As Ericsson/codechecker#3536 got merged, we can return to using `:`.
whisperity added a commit to whisperity/CodeChecker-Action that referenced this pull request Dec 24, 2021
This reverts commit d0c913f.

As Ericsson/codechecker#3536 got merged, we can return to using `:`.
whisperity added a commit to whisperity/CodeChecker-Action that referenced this pull request Dec 24, 2021
This reverts commit d0c913f.

As Ericsson/codechecker#3536 got merged, we can return to using `:`.
csordasmarton added a commit to csordasmarton/codechecker that referenced this pull request Jan 5, 2022
…diff

[cmd] Allow escaping `:` in run names with `\:`
@whisperity whisperity deleted the escape-colon-in-cmd-diff branch April 11, 2022 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands enhancement 🌟
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cmd diff] Run names with literal : in them understood differently than store and cmd runs commands
2 participants