Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tachikoma

Updating Library Dependencies Off and On with Tachikoma

Japanese Famous Phrases

Converting n-click to 1-click becomes a business. Converting 1-click to 0-click becomes a revolution. - otsune, 2008

No one knows this, because I translate this today. I waste a lot of time for clicking. I wish less effort brought more value! It is worthwhile to make habit of good behavior. If this is easy, awesome!

I'm talking about Application how NOT to die. My tool supports this. I feel this is "revolution". The tool name is Tachikoma.


Me

@sanemat サネマツ - Oh My Glasses Inc. We offer e-commerce system based on Spree and sell eye-wears in Japan.

www.ohmyglasses.jp

Spree is rails engine for e-commerce. Are there any People who know Spree here? Are there any People who use Spree here?

Thanks, but spree is not a topic in this talk. sorry :)


Changeless Application

Changeless application will die gradually. (Matz said same)

In PHP case (PHPConf2013 in Japan)

@kentaro said: How to Continuously Upgrade Web Services Written in PHP

PHPアプリケーションの継続的アップデート @kentaro PHPアプリケーションの継続的アップデート @kentaro PHPアプリケーションの継続的アップデート @kentaro

  • Continue to respond changes is a destiny of web service.
  • Important thing is keeping upgrade continuously.
    • This includes hardware, middleware, library, development method, and so on.

This is all I want to say here :)

How NOT to die w/ Ruby App

Run bundle update simply and easily.

Tachikoma fills a gap between this. Tachikoma automatically does git clone, bundle update, git commit and send pull request.

tachikoma tachikoma

Usage

Set environment variables, and run rake task.

$ export BUILD_FOR=gist-mail
$ export GIST_MAIL=GITHUB_TOKEN
$ bundle exec rake tachikoma:run_bundle

Tachikoma automatically does git clone, bundle update, git commit and send pull request. This is amazing, isn't it?

You only do Merge Pull Request off and on.

Points

Application will die without bundle update frequently.

Almost NO bundle update.

You probably understand this, but NO.

As a result, the application will die gradually.

How about using Tachikoma? Tachikoma automatically does git clone, bundle update, git commit and send pull request.

Other good solutions (not mine)

gemnasium

Gemnasium notifies gem update and degree of risk.

gemnasium

ci hsbt org

ci.hsbt.org builds major applications against ruby-trunk. Everyone loves chef, rails, sinatra and redmine!

ci hsbt org

gem-changelog

gem-changelog opens change log in your machine easily. like gem changelog rspec-core

gem-changelog

Tachikoma Original Idea

Tachikoma does

  • Better implementation
  • Run jenkins job with setting yaml
  • Achieve out of application code
  • Easy to use!

Lack of solutions

  • How to get diff of gem?
    • I use Github compare view

Google this

If you are interested in tachikoma, you can google 'tachikoma'.

google tachikoma

Tachikoma is animation character in Japan. You can not find my tachikoma ;(

You can google 'tachikoma ruby'. I want your github star!

google tachikoma ruby

Repeat after me, please. "Tachikoma Ruby".

One more thing

Have a plan: Tachikoma as a Service

How NOT to die

Converting n-click to 1-click becomes a business. Converting 1-click to 0-click becomes a revolution. - otsune, 2008

Keep changing, and have a 'revolution'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment