CSHARP-6189: Make the license headers, encoding and line endings uniform and enforce them in CI - #2096
Open
papafe wants to merge 2 commits into
Open
CSHARP-6189: Make the license headers, encoding and line endings uniform and enforce them in CI#2096papafe wants to merge 2 commits into
papafe wants to merge 2 commits into
Conversation
…orm and enforce them in CI
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
https://jira.mongodb.org/browse/CSHARP-6189
This normalizes every header to a single banner with a uniform 2010 year, updates the Rider file templates to match, and adds a CI check so they cannot drift apart again. It also sets
charset = utf-8andend_of_line = lffor.csfiles and normalizes the tree to match, so encoding and line endings are enforced by thedotnet formatcheck we already run.Nothing changes beyond license headers, the BOM and line endings.
src/MongoDB.Driver/Authentication/SaslPrepHelper.csis excluded, as Apache-2.0 section 4 requires retaining its dual-license attribution.