Skip to content

Copyright Attributions for RepoDB #1299 - #1304

Merged
mikependon merged 3 commits into
masterfrom
copyright-attributions
Aug 30, 2026
Merged

Copyright Attributions for RepoDB #1299#1304
mikependon merged 3 commits into
masterfrom
copyright-attributions

Conversation

@mikependon

Copy link
Copy Markdown
Owner

Summary

Adds copyright attribution headers to every .cs file 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:

#region Copyright Attributions

// Copyright (c) 20XX Michael Camara Pendon.
// Licensed under the Apache License, Version 2.0.
// See the LICENSE file in the project root for full license information.

#endregion
  • Solo — created and only ever touched by mikependon (as above).
  • Co-authored — created by mikependon, later touched by others: adds // Portions copyright their respective RepoDB contributors.
  • Created by another contributor: // Copyright (c) 20XX {Contributor} and Michael Camara Pendon.

Scope

  • 2,530 .cs files repo-wide: RepoDb/RepoDb.Core, RepoDb.Extensions, every DB provider package, RepoDb.Benchmarks, and RepoDb.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).
  • 919 of those files — the newer provider packages (Oracle, ClickHouse, Db2, MariaDb, MariaDbConnector, Vertica, Firebird, EnterpriseDb, and their *.BulkOperations counterparts, plus MySql/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:

Contributor Files created Files modified
SergerGood 64 544
Bert Huijben 3 50
Simon Cropp 216
Bradley Grainger 50
Tommaso Bertoni 3 3
Calum Chisholm 40
mertkokusen 29
Nabil Gardon 26
fredliex 2 13
Pavel Anpin 14
Rodel Dagumampan 7
chrissolutions 7
David Rothmann 1 2
orthoxerox 1 2
Andrii Chebukin 5
alexn-tinwell 5
Paolo Bassi 1
Bob Sanders 4
ESB16687 3
say25 3
Milan Dendis 3
Andrew Nikolin 2
Rodolfo Ferreira 2
SpaceOgre 2
Swoorup Joshi 2
herocod3r 2
fakefur 2
Andreas Ekdahl 1
Stefan de Vogelaere 1
Nick Dodd 1
prjanitor 1
mbrzozowski 1
Paulo Mattos 1
XperiAndri 1
Pawel 1

("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.

@mikependon
mikependon merged commit b49d990 into master Aug 30, 2026
606 of 616 checks passed
@mikependon
mikependon deleted the copyright-attributions branch August 30, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant