Skip to content

search: add search TCM in customer zone #1154

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dmyger
Copy link
Collaborator

@dmyger dmyger commented Apr 17, 2025

Added a new command:tt search tcm to search a tarantool cluster manager (TCM) in the customer zone or local distfiles directory.

Split search code into separate files for each search type [git, local, sdk].

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-1094

@dmyger dmyger force-pushed the dmyger/tntp-1094_tcm_search branch 3 times, most recently from 8de0879 to 670b923 Compare April 21, 2025 15:36
@dmyger dmyger added the full-ci Enables full ci tests label Apr 21, 2025
@dmyger dmyger force-pushed the dmyger/tntp-1094_tcm_search branch 3 times, most recently from 7a37e1c to d929d66 Compare April 21, 2025 16:46
@dmyger dmyger marked this pull request as ready for review April 21, 2025 16:49
@dmyger dmyger force-pushed the dmyger/tntp-1094_tcm_search branch 3 times, most recently from 07225a8 to 382ee7c Compare April 22, 2025 15:44
@oleg-jukovec
Copy link
Contributor

Please, update the PR title and message.

@dmyger dmyger force-pushed the dmyger/tntp-1094_tcm_search branch from 382ee7c to b9a1c56 Compare April 24, 2025 18:12
@dmyger dmyger requested a review from oleg-jukovec April 24, 2025 18:13
@dmyger dmyger force-pushed the dmyger/tntp-1094_tcm_search branch from b9a1c56 to 5f9b283 Compare April 24, 2025 18:15
@oleg-jukovec
Copy link
Contributor

@dmyger tests are red.

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.

Tests are red.

@dmyger dmyger force-pushed the dmyger/tntp-1094_tcm_search branch from 5f9b283 to acd224a Compare April 25, 2025 09:35
@dmyger dmyger changed the title search: refactoring search code search: add search TCM in customer zone Apr 25, 2025
dmyger added 2 commits April 25, 2025 15:12
1. Added `tt search tcm` command to searching for tarantool cluster
manager (TCM) in the customer zone or local directory.
It displays the available versions in a user-friendly format.

2. Refactoring search - split code into separate files for each
searching types: [git, local, sdk].

@TarantoolBot
Title: added `tt search tcm`

The command performs a search for tarantool cluster manager (TCM)
in the customer zone or local directory configured as `distfiles` in
the tt.yaml. It displays the available versions in a user-friendly format.

**Usage Example**:
```bash
tt search tcm
```

**Output Example**:
```
   • Available versions of tcm:
1.2.0-11-g2d0a0f495
1.2.1-0-gc2199e13e
1.2.3-0-geae7e7d49
1.3.0-0-g3857712a
1.3.1-0-g074b5ffa
```

Closes #TNTP-1094
@dmyger dmyger force-pushed the dmyger/tntp-1094_tcm_search branch from acd224a to 38e4d8e Compare April 25, 2025 12:13
@dmyger
Copy link
Collaborator Author

dmyger commented Apr 25, 2025

Please, update the PR title and message.

Done.

@dmyger
Copy link
Collaborator Author

dmyger commented Apr 25, 2025

tests are red

Now they are "green"

@dmyger dmyger requested a review from oleg-jukovec April 25, 2025 12:23
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