tarantool / tarantool/tt

`binaries switch` does not accept hash format from `binaries list`

Open
#894 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2sp bug teamE
Dominant language
Go
Stars
113
Forks
18
Avg merge
4d 11h
Merged PRs (30d)
23

Description

Can't switch binary file from provided binaries list.

How to reproduce
$ tt install tt ff03d11ce0b6ab3db2749bfaf1929c8534674150

$ tt install tt master

$ tt binaries list             
List of installed binaries:
   • tt:                      
	master [active]
	ff03d11

$ tt binaries switch tt ff03d11
   • Switching to tt ff03d11. 
   ⨯ tt ff03d11 is not installed in current environment

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the binaries list and binaries switch command entry points, comparing how the displayed short hash is produced with how the switch argument is matched. Reproduce the commands shown in the issue and confirm that switching with the hash printed by binaries list succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.