Piston 1.9.0: Official Preview Release
March 16th, 2008
I’m making it official. I’m releasing 1.9.0 today:
http://github.com/francois/piston/tree/1.9.0
I’ll put up a gem tomorrow, but if you want to play with Piston now, the best way is to either clone the repository, or grab a tarball directly from GitHub.
What’s implemented in this release ?
- piston import
But you can import from either SVN or Git, into either SVN or Git. All Piston metadata is stored in a .piston.yml file in the pistonized dir’s root.
If you have questions, problems, comments, go ahead and comment right here, or use Piston’s tracker
March 17th, 2008 at 02:52 PM
This is excellent, and I must say I can’t recall the last time I saw an open source project move so quickly from “I have an idea” to “I have a release candidate.”
I did run into a couple snags importing a git plugin (I tried a few technoweenie’s git repositories).
First, this error popped up: F, [2008-03-17T11:29:38.782955 #1874] FATAL—: Is a directory – vendor/plugins/.restful-authentication.tmp/lib (Errno::EISDIR)
I was able to get past it by adding the following line to the following file: piston/git/commit.rb 34 next if File.directory?(path)
Then I got this error: F, [2008-03-17T12:14:40.887222 #2863] FATAL—: No such file or directory – vendor/plugins/restful-authentication/lib/restful_authentication/rails_commands.rb (Errno::ENOENT)
Which I was able to resolve by adding the following line to the following file: pison/git/commit.rb 40 Pathname.new(abspath).dirname.mkpath rescue nil
And it gave an error if I didn’t provide a destination directory: F, [2008-03-17T12:34:21.957992 #3053] FATAL—: can’t dup Symbol (TypeError)
If in piston/working_copy.rb I change line 15 to the following, it no longer errors out (but it stick everything in a directory in my project root called repository, so I just went back to specifying a directory):
path = path.kind_of?(Pathname) ? path : Pathname.new(path.to_s)
Hope this is helpful. If you need more information, I’d be happy to help.