Skip to content

Conversation

dmyger
Copy link
Collaborator

@dmyger dmyger commented May 16, 2025

Add support to manage installed tcm versions via tt binaries CLI.

@TarantoolBot
Title: add support for manage TCM binaries

Add support to manage installed tcm versions via tt binaries CLI.

Example usage:

List of all installed versions

tt binaries list

Possible output:

List of installed binaries:
   • tarantool:
    2.11.6
    3.4.0 [active]
   • tarantool-ee:
    gc64-3.4.0-0-r60 [active]
    gc64-2.11.6-0-r683
   • tcm:
    1.3.1-0-g074b5ffa
    1.2.3-0-geae7e7d49
    1.2.0-11-g2d0a0f495 [active]

Switch to the specified version

tt binaries switch tcm 1.2.3-0-geae7e7d49

Possible output:

   • Switching to tcm 1.2.3-0-geae7e7d49.
   • Done

I didn't forget about (remove if it is not applicable):

  • 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)
  • Documentation (see documentation for documentation style guide)

Closes #TNTP-2764

@dmyger dmyger force-pushed the dmyger/tntp-2764_switch_binaries branch 4 times, most recently from 0641a71 to 1b87e24 Compare May 16, 2025 13:08
@dmyger dmyger changed the base branch from dmyger/tntp-1096_tcm_uninstall to master May 16, 2025 13:08
@dmyger dmyger force-pushed the dmyger/tntp-2764_switch_binaries branch 3 times, most recently from 6a7d531 to afd52c4 Compare May 16, 2025 17:38
dmyger added 2 commits May 19, 2025 18:18
Add support to manage installed `tcm` versions via `tt binaries` CLI.

@TarantoolBot
Title: add support for manage TCM binaries

Add support to manage installed `tcm` versions via `tt binaries` CLI.

**Example usage:**

List of all installed versions
```sh
tt binaries list
```

**Possible output:**
```
List of installed binaries:
   • tarantool:
    2.11.6
    3.4.0 [active]
   • tarantool-ee:
    gc64-3.4.0-0-r60 [active]
    gc64-2.11.6-0-r683
   • tcm:
    1.3.1-0-g074b5ffa
    1.2.3-0-geae7e7d49
    1.2.0-11-g2d0a0f495 [active]
```

Switch to the specified version
```sh
tt binaries switch tcm 1.2.3-0-geae7e7d49
```

**Possible output:**
```
   • Switching to tcm 1.2.3-0-geae7e7d49.
   • Done
```

Closes #TNTP-2764
@dmyger dmyger force-pushed the dmyger/tntp-2764_switch_binaries branch from afd52c4 to 5260245 Compare May 19, 2025 15:20
@dmyger dmyger marked this pull request as ready for review May 19, 2025 15:20
@dmyger dmyger added the full-ci Enables full ci tests label May 19, 2025
Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

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

LGTM, but I didn't look at the test very carefully. All hope is on @patapenka-alexey @AlexandrLitkevich .

Copy link
Contributor

@patapenka-alexey patapenka-alexey left a comment

Choose a reason for hiding this comment

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

Thank you for the patch. LGTM.

@dmyger dmyger merged commit 922d3ee into master May 20, 2025
44 checks passed
@dmyger dmyger deleted the dmyger/tntp-2764_switch_binaries branch May 20, 2025 18:08
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.

3 participants