Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate and automate license attribution #398
Closed
Labels
Comments
|
You can use a commit hook. But in the scheme of things, this probably isn't worth changing every file. Just enforce as we introduce new files. Also, the worst offender in this IMO is the uppercase 'Y' mid-sentence |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have to keep the license at the top of each file. We can use the one we are currently using or the one being used in Core. Since the one we are using is 3 lines and the one in core is 4, I think we should stick to what we have. My proposal is to move it to use
//
instead of
/* */
for the ridiculous reason that I find it nicer to look at with the left justified slashes.
Additionaly, I wonder if there is some type of automated process to ensure this license is added with a single space underneath via a pre-determined selection of folders? i.e. everything in
srcget this attribution snippet added in some way via automation.