Skip to content

Conversation

@elhimov
Copy link
Contributor

@elhimov elhimov commented Mar 29, 2025

Arguments of an internal command are not parsed if it is forced over its existent external counterpart.

I didn't forget about:

  • Well-written commit messages (see documentation how to write a commit message)
  • Don't forget about TarantoolBot in a commit message (see example)
  • Tests (see documentation for a testing package)
  • Changelog (see documentation for changelog format)

Related issues:

Closes #1134

@elhimov elhimov force-pushed the elhimov/gh-1134-parse-arguments-if-internal-forced-over-external branch from cfbcfc8 to b8b58ae Compare March 29, 2025 11:47
@elhimov elhimov added the full-ci Enables full ci tests label Mar 29, 2025
rc, output = run_command_and_get_output(cmd, cwd=tmp_path)
rc, output = utils.run_command_and_get_output(cmd, cwd=tmp_path)
assert rc == 0
assert re.match(r"(\d+.\d+.\d+|<unknown>)", output)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
assert re.match(r"(\d+.\d+.\d+|<unknown>)", output)
assert re.match(r"(\d+.\d+.\d+$|<unknown>)", output)

Copy link
Contributor Author

@elhimov elhimov Mar 31, 2025

Choose a reason for hiding this comment

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

Applied in separate commit (but $ is injected at the end of regexp to be applied to <unknown> as well).

@elhimov elhimov force-pushed the elhimov/gh-1134-parse-arguments-if-internal-forced-over-external branch 2 times, most recently from d04b7c3 to 020ffb1 Compare April 3, 2025 10:54
elhimov added 2 commits April 3, 2025 15:48
@elhimov elhimov force-pushed the elhimov/gh-1134-parse-arguments-if-internal-forced-over-external branch from 020ffb1 to 5677812 Compare April 3, 2025 12:49
@dmyger dmyger merged commit ca144e9 into master Apr 3, 2025
24 checks passed
@dmyger dmyger deleted the elhimov/gh-1134-parse-arguments-if-internal-forced-over-external branch April 3, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Enables full ci tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arguments of an internal command are not considered if it is forced over the external command.

5 participants