meet-tarantino / tarantino Goto Github PK
View Code? Open in Web Editor NEWDirector of our little world.
License: MIT License
Director of our little world.
License: MIT License
Perhaps this happened because I blew away the workspace directory before removing it from Tarantino. Or maybe it is related to using local Tarantino?
mpareja ~/projects
$ rm -rf ttws/
mpareja ~/projects
$ ~/projects/tarantino-oss/tt workspace rm sample
sample is not a registered workspace
mpareja ~/projects
$ ~/projects/tarantino-oss/tt workspace ls
sample tix ts
mpareja ~/projects
$ ~/projects/tarantino-oss/tt workspace rm sample
sample is not a registered workspace
mpareja ~/projects
$ ~/projects/tarantino-oss/tt workspace current
sample -> /home/mpareja/projects/ttws
just in general, for example tt workspace rm
PR #9 introduced the usage of declare which is a bash 4 feature (osx is on bash 3)
first brought up here:
#14 (comment)
Docker compose files allow you to specify a container_name
for services. Attempting to reference those containers with tarantino will result in an error. Example: tt ip someservice
fails because the container name was set to someservice
, rather than the typical <namespace>_someservice_<instance number>
.
ie.
it will install docker (for current user), docker-compose etc....
easiest way to get this without having to change our workflow is to make use of the command:
git describe --always --tags
and maybe pushing a tag or two on milestones
what do you think? @mpareja
Below is the approach we've taken so far. Not sure if I like it but it worked. We should either
Here's what I've done to address this in the interim:
save_function() {
local ORIG_FUNC=$(declare -f $1)
local NEWNAME_FUNC="$2${ORIG_FUNC#$1}"
eval "$NEWNAME_FUNC"
}
save_function tt_usage tt_old_usage
tt_usage() {
tt_old_usage
echo
echo custom commands:
echo
echo ' api - launch the api homepage in your browser'
echo ' data [command] - load stubbed out data'
echo ' grafana - launch grafana in your browser'
echo ' logs - launch real-time log monitoring in your browser'
echo ' smithers - launch smithers in your browser'
echo ' utopia - launch utopia in your browser'
}
reference commit: 92cf55d
lots of out of date stuff in there, and some 360 stuff
We like that Tarantino can clone your source control repositories on the fly. We also like that Tarantino doesn't try and clone repositories for services that aren't source control backed (like mongo, redis, etc.).
We have a few responsibilities that need to be filled one way or another, implicitly or explicitly:
Our original Tarantino model assumed a few things about source control:
docker-compose
service namesWe need to decide how to add this functionality. We need to be cognizant that changing how we fulfill the set of responsibilities noted above will impact Tarantino users - even if that's only 360 for now.
It might be trivial:
md5sum "$services_cache_file" >> "$md5check"
I'm thinking we only support this for SSH based repository URLs.
meet-tarantino/jules
=> [email protected]:meet-tarantino/jules.git
Parent Issue, see label "OSX Support"
Tarantino uses some coreutils features that are not available in the older version of coreutils that is included in OSX (due to GPL issues). Here are the instances of this that I have noticed:
md5sum
is not available in OSX. See here and here.sort
on OSX does not support the -V
option. See here and here.ln
on OSX does not support the -r
option. See here.There may be more occurrences of this kind of thing that I haven't found yet.
One (quick) fix is to use brew install coreutils
to get the latest version of GNU coreutils. In order to avoid conflicts with the existing version of coreutils, these versions are prefixed with the letter g
. This means that we would have to use if [[ "$OSTYPE" == "darwin"* ]]
in the scripts to determine the OS type. I'm not sure whether or not this is a good approach, but it works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.