Comments (7)
I think that tt
should get information about the location of external modules through the config, which by default it searches in the same directory (or the location of the config can be passed through an argument / environment variable). The config should describe the name of the module and its parameters. For example:
{
name_of_module: {
path: path/to/module,
type: type_of_the_module
},
name_of_module_2: {
path: path/to/module_2,
type: type_of_the_module
}
}
But it may be easier and user friendly to specify in the config only the path to the directory with the modules, and take the module name from the file names or "ask" the module.
from tt.
For mercurial, the full path to the extension is specified if it is not located in the "standard" path. (https://www.mercurial-scm.org/wiki/UsingExtensions)
from tt.
from tt.
I think that
tt
should get information about the location of external modules through the config, which by default it searches in the same directory (or the location of the config can be passed through an argument / environment variable). The config should describe the name of the module and its parameters. For example:{ name_of_module: { path: path/to/module, type: type_of_the_module }, name_of_module_2: { path: path/to/module_2, type: type_of_the_module } }
But it may be easier and user friendly to specify in the config only the path to the directory with the modules, and take the module name from the file names or "ask" the module.
I think it would be nice
- To get plugins dir list from
.tt.conf
(default value:/usr/lib/tt/plugins
for the system and./tt/plugins
for local) - To separate module types by thier file types, for example:
file.plugin
- is a plugin, the other - is the other - If a module is represented twice, type
plugin
has the lowest priority.
from tt.
Tarantool ticket tarantool/tarantool#6211 to provide local start
from tt.
rename .tt.conf
to tarantool.yaml
from tt.
- find
tarantool.yaml
- a bundle cofig (from$CURDIR
upto/
). If the config doesn't exists let's think that$CURDIR
is a base bundle path)
Why do we want to use this kind of search logic? I understand if we search a config in the current directory, home, /etc/tt
, but why we want to search a config in/
?
from tt.
Related Issues (20)
- tt coredump inspection enhancements
- Consider extending default ignore list on pack HOT 6
- Update luarocks dependency to the latest version
- Allow to ignore paths on artifact pack
- Please respect TT_CLI_CFG environment variable as a path to tt.yaml HOT 1
- tt clean always fails with multiple rm attempts HOT 1
- Support the manual master switch using the failover coordinator HOT 3
- Look up failover coordinators status
- Describe a way how to migrate from cartridge-cli pack
- tt help mustn't require config
- tt crashes with "Operation is not permitted" HOT 3
- ``tt replicaset status``: no clear error when incorrect orchestrator is forced
- cartridge app is failing to start after `tt clean` HOT 1
- Improve data display in table/ttable mode HOT 3
- Tarantool 3 config instance fails to use 108 symbols control socket on tt start HOT 1
- `tt status`: show RO/RW status HOT 2
- `tt status`: give more status information
- Publish workflow and tests on self-hosted mac os runners do not work. HOT 2
- pack: duplicate environment directories and configs if instances.enabled=.
- `instances_enabled: "."` in `tt.yaml` leads to incorrect app naming in some cases HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tt.