-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add a build step which validates each source file for the inclusion of our license header #46
Conversation
d19af63
to
d181260
Compare
|
||
# License conformance | ||
travis_fold_open "License conformance" | ||
./ci/validate_license_conformance.sh {include/SPTDataLoader/*.h,SPTDataLoader/*.{h,m}} |
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.
I put the license validation after the general build actions. However as they run so fast, and they will fail the build, should we have the check before building and test? Wondering if that would make the fail/fix cycle quicker.
Downside to that is that youβd have to fix the license issue (trivial) before youβre even told about potential code failures.
I'm for putting it before the build, it seems like it is better to fail fast |
@8W9aG Ok, I moved it. |
Awesome efforts! I am mostly against merging 'revert' and 'fixup' commits into mainline from a topic branch. How do others feel about squashing into the winner commits? |
I think each to their own on this issue, there are valid arguments for both |
760a77a
to
32b4abb
Compare
32b4abb
to
c6e4ca5
Compare
@jgavris @8W9aG @dflems Ready for review! @jgavris I went ahead and squashed the commits a bit. It should be less noisy now. However I left the commits which do separate things separate. Also some commits would have been annoying to squash (specifically squashing 5d0cafa into 838963f) so I left those as-is. |
π Very nice |
- This was hiding the reason for why our CI script started failing.
- Moves the sections around and groups them a bit more. This way the matrix is at the end of the file. Taking up less visual space and also only messing up the highlighting for itself.
- Quotes! Use quotes liberally when bashing. - Make the travis_fold function take a heading title.
03d2fae
to
28d8166
Compare
- Also updates existing headers for 2016!
28d8166
to
ab9ade4
Compare
π |
1 similar comment
π |
Add a build step which validates each source file for the inclusion of our license header
This PR adds a build step which validates that all source files contains our license header. The script did find a few files which where missing it π
It also adds Travis-CI group folding to our different steps, to make the output pretties and easier to find.
Credits for the nice little
diff
command goes to @dflems πExample output