cartridge-cli icon indicating copy to clipboard operation
cartridge-cli copied to clipboard

Use Tarantool version structure across the project

Open DifferentialOrange opened this issue 4 years ago • 1 comments

PR #629 introduced Tarantool version as a structure (both in module and pytest) to solve the issue of migrating to new release policy (#619). Tarantool version as a string is stored in context https://github.com/tarantool/cartridge-cli/blob/ba2f832cad7e164f0b072449eb51b28dfaebc020/cli/context/context.go#L125 and validated with its own regexp https://github.com/tarantool/cartridge-cli/blob/7edd6f9c9e5d83407a8872305118192007131c10/cli/common/tarantool.go#L21

We should explore the code, replace excessive regexps and parsings (if there are some) by replacing them with version as a structure.

Follows up https://github.com/tarantool/cartridge-cli/pull/629#discussion_r757381175

DifferentialOrange avatar Nov 26 '21 12:11 DifferentialOrange

Blocked until #629 is merged

DifferentialOrange avatar Nov 26 '21 12:11 DifferentialOrange