[Review Required] Adding more file formats to license_header.py (.m, .mk, .R, .cfg) #9472
Conversation
Would it be possible not to change the whitespaces inside the codebase? |
Changes were made by the script automatically. Let me see if it can be avoided. |
That'd be great, otherwise we could run into merge problems if this PR has to be reverted (think about the last case we've had when we were in Palo Alto) |
I think the license_header script is doing the correct thing by removing extraneous white spaces at the end of each line of code -- I would +1 to having them removed. |
While I agree that it's entirely valid to format the code properly, I don't
think that it should be part of a header insertion task to change the body
in such a wide number of cases. What do you think about splitting it into
two PRs?
Am 18.01.2018 3:36 vorm. schrieb "Bhavin Thaker" <notifications@github.com>:
… I think the license_header script is doing the correct thing by removing
extraneous white spaces at the end of each line of code -- I would +1 to
having them removed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9472 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARxB66pfVu4AB7D1ajkrIAQTSQfS8IH9ks5tLq4WgaJpZM4RiL3L>
.
|
@marcoabreu I agree with Bhavin. Since the license_header.py script is performing this blankspace stripping for all files in the src, its best to keep it. Making a separate PR is not straightforward since git does not provide an easy way of only committing the non whitespace changes. |
@mbaijal The issue that sometimes comes up with large commits is that when you squash two different types of changes together you make it difficult for other devs to merge the commit, and you make it quite hard to revert one of the changes at a later period in time. Given this I'd recommend splitting the whitespace changes into their own commit and then merging without squashing. |
Thanks Marco, Kellen, Bhavin for your comments. Closing this PR. |
Fixing Apache RAT failures - Part 1##
PLEASE HELP REVIEW! @bhavinthaker @gautamkmr
Added some file formats to the license_header.py script and then added the Apache license to the files that were failing the updated check.
For further details, Refer to this wiki -
https://cwiki.apache.org/confluence/display/MXNET/MXNet+Source+Licenses
Checklist
Essentials
make lint
)Changes
'.m':'%', '.R':'#', '.mk':'#'
Please Review the following -
Comments -
Also To be added to the script (in a separate PR after release)