GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
We probably want to leave 1.0.3 as the HEAD, but it would be nice to have 2.0.1 available as one of the versions listed in "brew versions hadoop".
Point the hadoop formula to Hadoop 2.0.1 for the bleeding-edge people.
url should always point to the latest stable release; pre-release things should use devel. grep the formula directory for examples.
Closing per Jack's explanation. Will accept a --devel patch though.
there's one problem... the "devel do" is not working for me,
since the steps in "def install" are not backward compatible
how can we handle such situation? tap? homebrew/versions?
v1:Formula zeph$ git diff
diff --git a/Library/Formula/hadoop.rb b/Library/Formula/hadoop.rb
index 2f8ee9d..5a355e7 100644
@@ -2,11 +2,14 @@ require 'formula'
class Hadoop < Formula
- url 'http://www.apache.org/dyn/closer.cgi?path=hadoop/core/hadoop-2.0.2-alpha/hadoop-2.0.2-alpha.tar.gz'
- sha1 '44206b2d4b657a8efa47dbe78725c58233e17a9d'
- version '2.0.2'
+ url 'http://www.apache.org/dyn/closer.cgi?path=hadoop/core/hadoop-1.1.1/hadoop-1.1.1.tar.gz'
+ sha1 '3b7f226e437a30bb8eee12093179c81ae94e7896'
- depends_on 'protobuf'
+ devel do
+ url 'http://www.apache.org/dyn/closer.cgi?path=hadoop/core/hadoop-2.0.2-alpha/hadoop-2.0.2-alpha.tar.gz'
+ sha1 '44206b2d4b657a8efa47dbe78725c58233e17a9d'
+ version '2.0.2'
libexec.install %w[bin lib libexec share]