tarantool / tt

Command-line utility to manage Tarantool applications
Other
101 stars 12 forks source link

tt install for non-stable identifiers is cached #925

Closed DifferentialOrange closed 3 months ago

DifferentialOrange commented 3 months ago

tt install tarantool master fetches current master commit and builds a binary. If some other tarantool was installed later, after running tt install tarantool master one more time tt 2.4.0 checks out installed master.

   • Checking existing...     
   • tarantool_master version of tarantool already exists, updating symlinks...
   • Done

But in case the master was updated and I want to install newer master, I don't have any flag to rebuild and reinstall checked-out version. Moreover, maybe the best solution is to automatically reinstall master in case the branch have changed.

As far as I understand, the issue is related not only to the master branch, but any branch install.

DifferentialOrange commented 3 months ago

Is this a bug? Is this a feature? I'll leave the controversial triage questions to the maintainer.

oleg-jukovec commented 3 months ago

So what behavior do you want?

Re-install/re-build a latest commit on the master branch with tt install master? If so than it is a bug and should be fixed with: https://github.com/tarantool/tt/pull/888 . Re-install/re-build a commit that was installed before?

DifferentialOrange commented 3 months ago

It seems that you work faster than I update my binaries