HBASE-4611 Add support for Phabricator/Differential as an alternative code review tool

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicolas Spiegelberg 2011-11-01 20:23:50 +00:00
parent 1b70625b81
commit c7489d1ebb
3 changed files with 43 additions and 0 deletions

11
.arcconfig Normal file
View File

@ -0,0 +1,11 @@
{
"project_id" : "hbase",
"conduit_uri" : "https://reviews.facebook.net/",
"copyright_holder" : "Apache Software Foundation",
"phutil_libraries" : {
"arclib" : ".arc_jira_lib"
},
"arcanist_configuration" : "ArcJIRAConfiguration",
"jira_project" : "HBASE",
"jira_api_url" : "https://issues.apache.org/jira/si/"
}

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/.arc_jira_lib
/.classpath
/.externalToolBuilders
/.project

31
pom.xml
View File

@ -589,6 +589,37 @@
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>arc-setup</id>
<phase>initialize</phase>
<configuration>
<tasks if="arc">
<get dest="${project.build.directory}/arc-jira.tar.gz"
src="https://github.com/facebook/arc-jira/tarball/master"/>
<untar src="${project.build.directory}/arc-jira.tar.gz" compression="gzip"
dest="${project.build.directory}">
<patternset>
<include name="facebook-arc-jira-*/arc_jira_lib/**"/>
</patternset>
</untar>
<move todir="${basedir}">
<fileset dir="${project.build.directory}">
<include name="facebook-arc-jira-*/arc_jira_lib/**"/>
</fileset>
<mapper type="regexp" from="^facebook-arc-jira-([^/])*/(.*)" to="\.\2"/>
</move>
<delete includeemptydirs="true">
<fileset dir="${project.build.directory}">
<include name="facebook-arc-jira-*"/>
<include name="arc-jira.tar.gz"/>
</fileset>
</delete>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>generate</id>
<phase>generate-sources</phase>