You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jv...@apache.org on 2011/10/27 01:33:12 UTC

svn commit: r1189535 - in /hive/trunk: ./ .arcconfig .gitignore build.xml

Author: jvs
Date: Wed Oct 26 23:33:12 2011
New Revision: 1189535

URL: http://svn.apache.org/viewvc?rev=1189535&view=rev
Log:
HIVE-2486. Phabricator for code review
(Marek Sapota via jvs)


Added:
    hive/trunk/.arcconfig
Modified:
    hive/trunk/   (props changed)
    hive/trunk/.gitignore
    hive/trunk/build.xml

Propchange: hive/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Oct 26 23:33:12 2011
@@ -1,7 +1,10 @@
 build
 build-eclipse
-.classpath
+.arc_jira_lib
+.classpath*
 .externalToolBuilders
 .project
 .settings
 *.launch
+*~
+metastore_db

Added: hive/trunk/.arcconfig
URL: http://svn.apache.org/viewvc/hive/trunk/.arcconfig?rev=1189535&view=auto
==============================================================================
--- hive/trunk/.arcconfig (added)
+++ hive/trunk/.arcconfig Wed Oct 26 23:33:12 2011
@@ -0,0 +1,10 @@
+{
+  "project_id" : "hive",
+  "conduit_uri" : "https://reviews.facebook.net/",
+  "copyright_holder" : "Apache Software Foundation",
+  "phutil_libraries" : {
+    "arc_jira_lib" : ".arc_jira_lib"
+  },
+  "arcanist_configuration" : "ArcJIRAConfiguration",
+  "jira_api_url" : "https://issues.apache.org/jira/si/"
+}

Modified: hive/trunk/.gitignore
URL: http://svn.apache.org/viewvc/hive/trunk/.gitignore?rev=1189535&r1=1189534&r2=1189535&view=diff
==============================================================================
--- hive/trunk/.gitignore (original)
+++ hive/trunk/.gitignore Wed Oct 26 23:33:12 2011
@@ -1,5 +1,6 @@
 build
 build-eclipse
+.arc_jira_lib
 .classpath*
 .externalToolBuilders
 .project

Modified: hive/trunk/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build.xml?rev=1189535&r1=1189534&r2=1189535&view=diff
==============================================================================
--- hive/trunk/build.xml (original)
+++ hive/trunk/build.xml Wed Oct 26 23:33:12 2011
@@ -561,6 +561,34 @@
     </delete>
   </target>
 
+  <!-- ====================================================== -->
+  <!-- Get Arc-JIRA library.                                  -->
+  <!-- ====================================================== -->
+  
+  <target name="arc-setup" description="Get Arc-JIRA library" depends="init">
+    <get
+      dest="${build.dir.hive}/arc-jira.tar.gz"
+      src="https://github.com/facebook/arc-jira/tarball/master"/>
+    <untar src="${build.dir.hive}/arc-jira.tar.gz" compression="gzip"
+ 		dest="${build.dir.hive}">
+      <patternset>
+        <include name="facebook-arc-jira-*/arc_jira_lib/**"/>
+      </patternset>
+    </untar>
+    <move todir="${hive.root}">
+      <fileset dir="${build.dir.hive}">
+        <include name="facebook-arc-jira-*/arc_jira_lib/**"/>
+       </fileset>
+      <mapper type="regexp" from="^facebook-arc-jira-([^/])*/(.*)" to="\.\2"/>
+    </move>
+    <delete includeemptydirs="true">
+      <fileset dir="${build.dir.hive}">
+        <include name="facebook-arc-jira-*"/>
+        <include name="arc-jira.tar.gz"/>
+      </fileset>
+    </delete> 
+  </target>
+
   <!-- ================================================================== -->
   <!-- Documentation                                                      -->
   <!-- ================================================================== -->