making a clean break

Posted by jacqui maher on December 19, 2007 at 12:42 AM

I was upgrading our rspec to v1.1 when my friend Josh suggested chided me for using script/plugin install. Yeah, I had heard of piston, but it was one of the many things on that imaginary list of things to learn and do. If he hadn’t done that, I wouldn’t have done this:

   1  tinsel:trunk jm$ sudo gem install piston -y
   2  Need to update 18 gems from http://gems.rubyforge.org
   3  complete
   4  Successfully installed piston-1.3.3

Of course, after I typed the last command out I realized that I was in the svn checkout, and we’re using git. Err… and Josh mentioned one other thing - giston.

Wtf is giston?

Well, apparently Christi, aka evil chelu, wrote it. I met him in Vienna at Euruko, and he is not only a cool guy who writes neat stuff like giston, he’s also really funny. But, I’m digressing. Giston is a git version of piston, basically. It lets you manage revisions of your plugins just like piston does, only now you can do it in git instead of svn.

Neat. Christi has instructions on how to install it on his page that I already linked to, so I’ll skip that here.

I installed rspec and rspec_on_rails with giston. Damn, git is fast, so much faster than svn. I could get used to this, once I finally RTFM :)

   1  tinsel:workspace jm$ giston add http://rspec.rubyforge.org/svn/trunk/rspec vendor/plugins/rspec
   2  giston: Adding mirror for http://rspec.rubyforge.org/svn/trunk/rspec in vendor/plugins/rspec. You must call giston update vendor/plugins/rspec to fetch the data.
   3  tinsel:workspace jm$ giston update vendor/plugins/rspec
   4  giston: Updating vendor/plugins/rspec from http://rspec.rubyforge.org/svn/trunk/rspec
   5  giston: Local revision: 3189. Remote revision: 3189
   6  tinsel:workspace jm$ giston add http://rspec.rubyforge.org/svn/trunk/rspec_on_rails vendor/plugins/rspec_on_rails
   7  giston: Adding mirror for http://rspec.rubyforge.org/svn/trunk/rspec_on_rails in vendor/plugins/rspec_on_rails. You must call giston update vendor/plugins/rspec_on_rails to fetch the data.
   8  tinsel:workspace jm$ giston update vendor/plugins/rspec_on_rails
   9  giston: Updating vendor/plugins/rspec_on_rails from http://rspec.rubyforge.org/svn/trunk/rspec_on_rails
  10  giston: Local revision: 3176. Remote revision: 3176

Now… do my tests pass?

Tags: (none)
Hierarchy: previous, next

Comments

There are 0 comments on this post. Post yours →

Post a comment

Required fields in bold.