diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-06-01 17:27:05 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-06-01 17:27:05 -0700 |
commit | d17d221487fa7a3af6f4af2217f1d4889ceb084d (patch) | |
tree | e54f3d7c4fa84e32a60f5fd5776672401f00929a /tools | |
parent | eea3aab4f29de5ee11670340245039f7395ab26e (diff) | |
download | spark-d17d221487fa7a3af6f4af2217f1d4889ceb084d.tar.gz spark-d17d221487fa7a3af6f4af2217f1d4889ceb084d.tar.bz2 spark-d17d221487fa7a3af6f4af2217f1d4889ceb084d.zip |
Better explanation for how to use MIMA excludes.
This patch does a few things:
1. We have a file MimaExcludes.scala exclusively for excludes.
2. The test runner tells users about that file if a test fails.
3. I've added back the excludes used from 0.9->1.0. We should keep
these in the project as an official audit trail of times where
we decided to make exceptions.
Author: Patrick Wendell <pwendell@gmail.com>
Closes #937 from pwendell/mima and squashes the following commits:
7ee0db2 [Patrick Wendell] Better explanation for how to use MIMA excludes.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala b/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala index 011db50b7d..6a261e19a3 100644 --- a/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala +++ b/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala @@ -105,9 +105,9 @@ object GenerateMIMAIgnore { } def main(args: Array[String]) { - scala.tools.nsc.io.File(".mima-excludes"). + scala.tools.nsc.io.File(".generated-mima-excludes"). writeAll(classesPrivateWithin("org.apache.spark").mkString("\n")) - println("Created : .mima-excludes in current directory.") + println("Created : .generated-mima-excludes in current directory.") } |