-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Update EIP-1: Add License Checker #5379
Closed
Closed
Changes from 9 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
51a20de
Add license checker
Pandapip1 12f8113
Voilà
Pandapip1 533d083
O o p s
Pandapip1 bdc1bcb
Add a bunch of exceptions, because nothing is perfect
Pandapip1 7534f97
Or I thought I had made that change
Pandapip1 d261332
If it works don't fix it
Pandapip1 51dcb81
Bug :P
Pandapip1 f045a7a
Remove exceptions
Pandapip1 7f275ac
Quick EIP-1 modification
Pandapip1 b56fac8
Merge branch 'ethereum:master' into patch-2
Pandapip1 0f41e29
You asked for it
Pandapip1 43e3066
Merge branch 'ethereum:master' into patch-2
Pandapip1 fa04c9c
Update EIPS/eip-1.md
Pandapip1 d342bfb
Merge branch 'master' into patch-2
Pandapip1 f8ee6d1
Merge branch 'master' into patch-2
Pandapip1 c8df641
Allow bypass
Pandapip1 984ce97
Merge branch 'master' into patch-2
Pandapip1 7568e6d
testing: does this syntax work
Pandapip1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"**/*.{sol}": "// SPDX-License-Identifier: CC0-1.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
While not a hard blocker, I'm not a huge fan of obscure uncommented shell scripts. Is there any way to easily turn this into something that is more readable like a python or TS script (or perhaps a GitHub action for "remove all unchanged files"?
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.
Alternatively, some comments may help make this block more understandable... at the moment, I'm pretty sure that
shopt -u dotglob
was a cat walking across your keyboard while you were in the middle of authoring this.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.
Yea, I'm planning on making it an action. This is a nice stop-gap.
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.
And no,
shopt -u dotglob
is not due to an unherded Ethereum cat.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 have been thinking about this more, and I think I preferred the file ignore-list approach as it was overall simpler than this one, which requires an extra two steps, one of which is an external dependency and one of which is an obscure script. In general, I really like simple solutions as our CI already has enough problems as it is due largely (I suspect) to its complexity. If you were able to create a single action that handled all of this I would be more compelled to keep the pattern as it is, but 4 actions just to check for the presence of first line of files feels like overkill on complexity.