Copyright Attributions for RepoDB #1299 - #1304
Merged
Merged
Conversation
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.
Summary
Adds copyright attribution headers to every
.csfile across all RepoDb solutions (source and tests), derived from git commit history rather than a blanket assumption.Method
For each file, walked its full history with
git log --follow(a single bulk history pass was tried first but discarded — this repo has 15+ structurally-similar provider packages, which makes git's content-similarity rename detection prone to false cross-project matches when run in bulk). Based on the earliest commit and the full set of contributors, each file got one of:// Portions copyright their respective RepoDB contributors.// Copyright (c) 20XX {Contributor} and Michael Camara Pendon.Scope
.csfiles repo-wide:RepoDb/RepoDb.Core,RepoDb.Extensions, every DB provider package,RepoDb.Benchmarks, andRepoDb.Telemetry.*— 1,510 solo, 943 co-authored, 77 created by another contributor (SergerGood, Bert Huijben, Tommaso Bertoni, fredliex, Mauro Cardillo, Paolo Bassi, orthoxerox, David Rothmann, Nabil Gardon, Rodel Dagumampan).*.BulkOperationscounterparts, plusMySql/MySqlConnector.BulkOperations) — were normalized to a single flat line,// Copyright (c) 2026 Michael Camara Pendon., regardless of co-authorship history.Contributor breakdown
Of the files not covered by the 919-file flat-date normalization above, 685 still carry a "Portions copyright..." line (created by Michael, modified by someone else) and 75 were created entirely by another contributor. By contributor:
("Modified" counts a file once per contributor who touched it, so files with several contributors are counted more than once — 685 files produce 1,046 modification credits.)
Testing
Header-only change (comments), verified programmatically: every targeted file has exactly one attribution block, no duplicates, no gaps, and no other lines touched.