New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Add ASF license to optional XML files and last gradle file." #3705
Conversation
This reverts commit 2cc2227.
@cbickel can you explain the reason for reverting - ie how are the comment/license headers an issue? Thanks. |
@rabbah Sorry, I updated the description. |
Codecov Report
@@ Coverage Diff @@
## master #3705 +/- ##
======================================
Coverage 74.5% 74.5%
======================================
Files 126 126
Lines 5994 5994
Branches 392 392
======================================
Hits 4466 4466
Misses 1528 1528 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
That’s odd how come adding comments at the top of an xml brakes functionality? |
What’s the root cause? How do we fix instead of doing a drastic revert with no other options being proposed? |
For the most part all files should have an ASF header, if someone can proposed how can we get the xml files with the header or state why logging brakes and there is no workaround and we are forced to excempt the files with explanation from having the ASF license header |
This is the exception occurring with the XML comment:
|
did you try having |
^^^That is the definitive solution |
What @rabbah mentioned should work as we use similar approach at https://github.com/apache/jackrabbit-oak/blob/trunk/oak-run/src/main/resources/logback.xml |
yeah it looks having the |
@mrutkows ^^ |
@cbickel @jeremiaswerner since you reverted and took the ASF license header out, What do you think of having the files include the ASF header and the files start with Would you revert again ? |
Now that I think about it how come Travis didn't catch this problem in the PR that introduce the header? |
Yeah I see Travis is 💚 but I see the failure
and just continue and some tests actually ran. 🤔 |
I see it looks like it only cause problems with generating the logs.
|
…pache#3705) This reverts commit 2cc2227.
Reverts #3702
The PR above breaks the logging of all our components. After this, all our logs do not appear anymore.
This affects all our components and gatling tests.
Therefore this PR reverts this commit.