Describe a way how to migrate from cartridge-cli pack
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 113
- Forks
- 18
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 23
Description
There are several points that I faced during migration:
- Need to create tt.yaml file
- Need to specify
env.instances_enabledin that config (expected behaviour is to be able to provide path to directory with a project as incartridge pack app /path/to/projector choose current directory). BTW, I didn't find any mentions in doc (I found all info in tests). - Recursive handling of pre/post build scripts. I had some scripts for performance tesing in depth of my project. It was unexpected that
test/performance/<...>/cartridge.pre-buildis handled somehow - unzip requirement:
Error: Failed installing dependency: /opt/tarantool-enterprise/rocks/metrics-1.0.0-1.all.rock - Failed unpacking rock file: /opt/tarantool-enterprise/rocks/metrics-1.0.0-1.all.rock: 'unzip -n' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/etc/luarocks/config-5.1.lua') - Strange message about Lua headers (they should be shipped as a part of Tarantool headers):
Error: Failed finding Lua header files. You may need to install them or configure LUA_INCDIR.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the migration from cartridge-cli pack with the current CLI behavior, starting with the existing documentation and the tests where the issue found configuration details. Document tt.yaml, env.instances_enabled, project-path handling, recursive pre/post-build scripts, the unzip requirement, and Lua header setup so users can complete the migration without relying on tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100