Git Product home page Git Product logo

tacoma's Issues

No output when config lacks "repo" param

Trying to switch to a project which configuration has no "repo" param ends execution without action nor output.

For example, with this .tacoma.yml:

foo:
  aws_identity_file: "$HOME/.ssh/id_rsa"
  aws_secret_access_key: [real_key_here]
  aws_access_key_id: [real_key_id_here]

You get:

$> tacoma switch foo
$>

An error message would be appreciated.

Anyway, if you don't want to set a repo, you can use as workaround:

repo: ""

Wrong documentation on ENV

The Readme states:

Will display the export commands for the AWS_SECRET_ACCESS_KEY, AWS_ACCESS_KEY_ID credential environment variables

This is not true unless you pass the --with-exports to the switch command.

BTW, why show the export commands instead of show and execute by default?

1.0.14 Error: 'realpath'

After updating to 1.0.14, with Ruby 2.1.2 raise this error:

/home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/tacoma-1.0.14/lib/tacoma/command.rb:162:in `build_template_path': undefined method `realpath' for #<String:0x00000002a7b050> (NoMethodError)
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/tacoma-1.0.14/lib/tacoma/command.rb:110:in `block in switch'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/tacoma-1.0.14/lib/tacoma/command.rb:109:in `each'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/tacoma-1.0.14/lib/tacoma/command.rb:109:in `switch'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/gems/tacoma-1.0.14/bin/tacoma:4:in `<top (required)>'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/bin/tacoma:23:in `load'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/bin/tacoma:23:in `<main>'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/bin/ruby_executable_hooks:15:in `eval'
	from /home/faustobanares/.rvm/gems/ruby-2.1.2@edo-entradas/bin/ruby_executable_hooks:15:in `<main>'

Nothing changed in tacoma files between 1.0.13 and this new version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.