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

feat: Replace copyright header with SPDX identifier #17801

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kimbor
Copy link
Member

@kimbor kimbor commented Feb 10, 2025

Description:
-Replace all copyright headers with SPDX identifiers. This is a requirement before migration to Linux Foundation repo. See here for description of SPDX
-Update spotless to use new header

IMPORTANT: This PR touches nearly every file in the hedera-services repo. That means that it will cause conflicts with all open PRs. To fix the conflict in your local branch, run spotlessApply.

Related issue(s):
Fixes #17796

Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
@kimbor kimbor changed the title Update copyright header feat: Update copyright header Feb 10, 2025
@kimbor kimbor self-assigned this Feb 10, 2025
@kimbor kimbor added this to the v0.60 milestone Feb 10, 2025
@kimbor kimbor changed the title feat: Update copyright header feat: Replace copyright header with SPDX identifier Feb 10, 2025
Copy link

codacy-production bot commented Feb 10, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.01% (target: -1.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (91492a1) 99096 72252 72.91%
Head commit (c914977) 99096 (+0) 72247 (-5) 72.91% (-0.01%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#17801) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.98%. Comparing base (91492a1) to head (c914977).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #17801      +/-   ##
============================================
- Coverage     68.99%   68.98%   -0.01%     
+ Complexity    22952    22929      -23     
============================================
  Files          2646     2646              
  Lines         99313    99326      +13     
  Branches      10253    10252       -1     
============================================
  Hits          68521    68521              
- Misses        26909    26925      +16     
+ Partials       3883     3880       -3     
Files with missing lines Coverage Δ
.../src/main/java/com/hedera/hapi/util/HapiUtils.java 59.11% <ø> (ø)
...m/hedera/hapi/util/UnknownHederaFunctionality.java 100.00% <ø> (ø)
.../node/app/hapi/fees/calc/OverflowCheckingCalc.java 98.38% <ø> (ø)
...edera/node/app/hapi/fees/pricing/AssetsLoader.java 100.00% <ø> (ø)
...node/app/hapi/fees/pricing/BaseOperationUsage.java 98.85% <ø> (ø)
...edera/node/app/hapi/fees/pricing/FeeSchedules.java 100.00% <ø> (ø)
...node/app/hapi/fees/pricing/RequiredPriceTypes.java 100.00% <ø> (ø)
...a/node/app/hapi/fees/pricing/ResourceProvider.java 100.00% <ø> (ø)
.../node/app/hapi/fees/pricing/ScheduleGenerator.java 100.00% <ø> (ø)
...era/node/app/hapi/fees/pricing/UsableResource.java 100.00% <ø> (ø)
... and 16 more

... and 2620 files with indirect coverage changes

Impacted file tree graph

Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
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.

replace copyright headers with SPDX identifiers
1 participant