You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/05/18 15:11:26 UTC

[1/3] incubator-ignite git commit: # ignite-456: patch test

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-456 629fdf3d0 -> 2715f5eaa


# ignite-456: patch test


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a5c45579
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a5c45579
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a5c45579

Branch: refs/heads/ignite-456
Commit: a5c45579abf4af4396af144f34932c1eb273f3e2
Parents: 629fdf3
Author: Artem Shutak <as...@gridgain.com>
Authored: Mon May 18 15:33:45 2015 +0300
Committer: Artem Shutak <as...@gridgain.com>
Committed: Mon May 18 15:53:45 2015 +0300

----------------------------------------------------------------------
 dev-tools/src/main/groovy/test_patching_file.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a5c45579/dev-tools/src/main/groovy/test_patching_file.txt
----------------------------------------------------------------------
diff --git a/dev-tools/src/main/groovy/test_patching_file.txt b/dev-tools/src/main/groovy/test_patching_file.txt
new file mode 100644
index 0000000..b5f1f78
--- /dev/null
+++ b/dev-tools/src/main/groovy/test_patching_file.txt
@@ -0,0 +1 @@
+Some text for test


[3/3] incubator-ignite git commit: # ignite-456: fix git am

Posted by sb...@apache.org.
# ignite-456: fix git am


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/2715f5ea
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/2715f5ea
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/2715f5ea

Branch: refs/heads/ignite-456
Commit: 2715f5eaa83d4e403d1e1bca5ff5147e573dc718
Parents: 16997ae
Author: Artem Shutak <as...@gridgain.com>
Authored: Mon May 18 16:12:15 2015 +0300
Committer: Artem Shutak <as...@gridgain.com>
Committed: Mon May 18 16:12:15 2015 +0300

----------------------------------------------------------------------
 dev-tools/src/main/groovy/jiraslurp.groovy | 39 +++++++++----------------
 1 file changed, 13 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2715f5ea/dev-tools/src/main/groovy/jiraslurp.groovy
----------------------------------------------------------------------
diff --git a/dev-tools/src/main/groovy/jiraslurp.groovy b/dev-tools/src/main/groovy/jiraslurp.groovy
index 6d287bf..0971577 100644
--- a/dev-tools/src/main/groovy/jiraslurp.groovy
+++ b/dev-tools/src/main/groovy/jiraslurp.groovy
@@ -109,40 +109,27 @@ def checkprocess = { process ->
     }
 }
 
-def create_gitbranch = { jira, attachementURL ->
-    println jira
-    GIT_REPO
-    println "$ATTACHMENT_URL/$attachementURL/"
-
-    def patchFile = new File("${jira}.patch")
-
-    patchFile << new URL("$ATTACHMENT_URL/$attachementURL/").text
-
-    checkprocess "git clone --depth 1 $GIT_REPO".execute()
-    checkprocess "git checkout -b ignite-sprint-5 origin/ignite-sprint-5".execute(null, new File('incubator-ignite'))
-    checkprocess "git am ../${patchFile.name}".execute(null, new File('incubator-ignite'))
-
-    patchFile.delete()
-}
-
 def applyPatch = { jira, attachementURL ->
     println jira
     println "$ATTACHMENT_URL/$attachementURL/"
 
-    def patchFile = new File("${jira}-${attachementURL}.patch")
+    try {
+        def patchFile = new File("${jira}-${attachementURL}.patch")
 
-    patchFile << new URL("$ATTACHMENT_URL/$attachementURL/").text
+        patchFile << new URL("$ATTACHMENT_URL/$attachementURL/").text
 
-    try {
-        checkprocess "git am ../${patchFile.name}".execute(null, new File('incubator-ignite'))
-    }
-    catch (Exception e) {
-        checkprocess "git am --abort".execute
+        try {
+            checkprocess "git am dev-tools/${patchFile.name}".execute(null, new File('incubator-ignite'))
+        }
+        catch (Exception e) {
+            checkprocess "git am --abort".execute
 
-        throw e;
+            throw e;
+        }
+    }
+    finally {
+        assert patchFile.delete(), 'Could not delete patch file.'
     }
-
-    assert patchFile.delete(), 'Could not delete patch file.'
 }
 
 def JIRA_xml = { jiranum ->


[2/3] incubator-ignite git commit: # ignite-456: delete from index

Posted by sb...@apache.org.
# ignite-456: delete from index


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/16997ae3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/16997ae3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/16997ae3

Branch: refs/heads/ignite-456
Commit: 16997ae312e5ae1cae2e04e1f824ca8ded44f2de
Parents: a5c4557
Author: Artem Shutak <as...@gridgain.com>
Authored: Mon May 18 15:57:38 2015 +0300
Committer: Artem Shutak <as...@gridgain.com>
Committed: Mon May 18 15:57:38 2015 +0300

----------------------------------------------------------------------
 dev-tools/src/main/groovy/test_patching_file.txt | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/16997ae3/dev-tools/src/main/groovy/test_patching_file.txt
----------------------------------------------------------------------
diff --git a/dev-tools/src/main/groovy/test_patching_file.txt b/dev-tools/src/main/groovy/test_patching_file.txt
deleted file mode 100644
index b5f1f78..0000000
--- a/dev-tools/src/main/groovy/test_patching_file.txt
+++ /dev/null
@@ -1 +0,0 @@
-Some text for test