Convert 2.5.x MiMa excludes to subdirectory style
Using this script: ```sh set -ex FILE=$1 DIR=`dirname $FILE` TMP_FILE=$DIR/_existing.excludes FINAL_FILE=$DIR/2.5.x.backwards.excludes/_existing.excludes mv $FILE $TMP_FILE mkdir $DIR/2.5.x.backwards.excludes (echo "# This file contains all excludes added before changing to the subdirectory style" && cat $TMP_FILE) > $FINAL_FILE rm $TMP_FILE git add $FINAL_FILE ```
This commit is contained in:
parent
ba67d6205c
commit
650068aa45
14 changed files with 18 additions and 1 deletions
|
|
@ -227,7 +227,11 @@ an error like this:
|
|||
[error] filter with: ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOps.foldAsync")
|
||||
```
|
||||
|
||||
In such situations it's good to consult with a core team member if the violation can be safely ignored (by adding the above snippet to `<module>/src/main/mima-filters/<last-version>.backwards.excludes`), or if it would indeed break binary compatibility.
|
||||
In such situations it's good to consult with a core team member whether the violation can be safely ignored or if it would indeed
|
||||
break binary compatibility. If the violation can be ignored add exclude statements from the mima output to
|
||||
a new file named `<module>/src/main/mima-filters/<last-version>.backwards.excludes/<pr-or-issue>-<issue-number>-<description>.excludes`,
|
||||
e.g. `akka-actor/src/main/mima-filters/2.5.x.backwards.excludes/pr-12345-rename-internal-classes.excludes`. Make sure to add a comment
|
||||
in the file that describes briefly why the incompatibility can be ignored.
|
||||
|
||||
Situations when it may be fine to ignore a MiMa issued warning include:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue