[ANNOUNCE] Changes to generated avro files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANNOUNCE] Changes to generated avro files

Chesnay Schepler-3
Hello,

in FLINK-20790 we have changed where generated Avro files are
placed.Until then they were put directly under the src/ tree, with some
committed to git, other being ignored via .gitignore.

This has caused issues when switching branches (specifically, not being
able to compile 1.11 after having compiled the master branch), because
these files stayed around and were not deleted by maven. The only way to
resolve the issue was a manual deletion of said files.

These files are now put under target/generated[-test]-sources/
directories, which means they are now deleted when doing a mvn clean.
The corresponding .gitignore entries have been removed.

Because of that, after a rebase on the latest
master/release-1.12/release-1.11 branches you might find that git tells
you that there are some new files all of a sudden. These are remnants
from before this change, and can be safely removed, either manually or
via git clean -fd.

In practice this should have little effect on your work, but you may
have to run mvn generate[-test]-sources from time to time when switching
between versions.

Regards,

Chesnay