Skip to content
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

Consistent look and feel of licenses #1788

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

madolson
Copy link
Member

@madolson madolson commented Feb 27, 2025

Use a consistent set of licenses for Valkey files. I took a look and applied sort of a "did we make a material change in this file?" and tried to be conservative in adding the trademark. We could also be liberal as well.

Resolves: #1692.

Included documentation about the licensing here: #1787.

Licenses are now also always explicitly first, even above documentation in files.

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.15%. Comparing base (54c4bbc) to head (461b170).
Report is 20 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1788      +/-   ##
============================================
+ Coverage     71.09%   71.15%   +0.05%     
============================================
  Files           123      123              
  Lines         65552    65641      +89     
============================================
+ Hits          46604    46704     +100     
+ Misses        18948    18937      -11     
Files with missing lines Coverage Δ
src/allocator_defrag.c 100.00% <ø> (ø)
src/asciilogo.h 100.00% <ø> (ø)
src/blocked.c 91.38% <ø> (ø)
src/cluster.c 89.17% <ø> (-0.02%) ⬇️
src/cluster_legacy.c 85.87% <ø> (+0.05%) ⬆️
src/cluster_slot_stats.c 94.35% <ø> (ø)
src/commandlog.c 96.58% <ø> (ø)
src/defrag.c 92.74% <ø> (+2.60%) ⬆️
src/dict.c 72.11% <ø> (ø)
src/eval.c 88.66% <ø> (ø)
... and 17 more

... and 14 files with indirect coverage changes

Copy link
Member

@PingXie PingXie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @madolson!

@hwware hwware merged commit 089b830 into valkey-io:unstable Feb 27, 2025
51 checks passed
@zuiderkwast
Copy link
Contributor

Did you add this only to files where we have >= 100 lines changed since forking? I saw you wrote this in the guideline.

zuiderkwast pushed a commit that referenced this pull request Mar 18, 2025
Use a consistent set of licenses for Valkey files. I took a look and
applied sort of a "did we make a material change in this file?" and
tried to be conservative in adding the trademark. We could also be
liberal as well.

Resolves: #1692.

Included documentation about the licensing here:
#1787.

Licenses are now also always explicitly first, even about documentation
files.

Signed-off-by: Madelyn Olson <[email protected]>
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.

Ensure Consistent Per-File License Headers
5 participants