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

IpmiFeaturePkgPkg: apply cpp uncrustify changes #197

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

VivianNK
Copy link
Contributor

@VivianNK VivianNK commented Dec 19, 2023

Description

Updating Mu projects to apply uncrusty formatting for Cpp files, config updated upstream in edk2 tianocore/edk2#4957 .

Config will be updated in mu_basecore microsoft/mu_basecore#609.

For each item, place an "x" in between [ and ] if true. Example: [x].
(you can also check items in the GitHub UI)

  • Impacts functionality?
    • Functionality - Does the change ultimately impact how firmware functions?
    • Examples: Add a new library, publish a new PPI, update an algorithm, ...
  • Impacts security?
    • Security - Does the change have a direct security impact on an application,
      flow, or firmware?
    • Examples: Crypto algorithm change, buffer overflow fix, parameter
      validation improvement, ...
  • Breaking change?
    • Breaking change - Will anyone consuming this change experience a break
      in build or boot behavior?
    • Examples: Add a new library class, move a module to a different repo, call
      a function in a new library class in a pre-existing module, ...
  • Includes tests?
    • Tests - Does the change include any explicit test code?
    • Examples: Unit tests, integration tests, robot tests, ...
  • Includes documentation?
    • Documentation - Does the change contain explicit documentation additions
      outside direct code modifications (and comments)?
    • Examples: Update readme file, add feature readme file, link to documentation
      on an a separate Web page, ...

How This Was Tested

Local CI build

Integration Instructions

N/A

@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Dec 19, 2023
@codecov-commenter
Copy link

codecov-commenter commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cc8ef84) 26.04% compared to head (d38a8ae) 13.41%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #197       +/-   ##
===========================================
- Coverage   26.04%   13.41%   -12.63%     
===========================================
  Files          43       43               
  Lines        3195     2870      -325     
  Branches      270      270               
===========================================
- Hits          832      385      -447     
+ Misses       2357     2348        -9     
- Partials        6      137      +131     
Flag Coverage Δ
IpmiFeaturePkg 13.41% <ø> (-12.63%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@makubacki makubacki self-requested a review December 19, 2023 18:24
Copy link
Member

@makubacki makubacki left a comment

Choose a reason for hiding this comment

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

Approved with request to update PR description.

@VivianNK VivianNK requested a review from apop5 December 21, 2023 20:33
@VivianNK VivianNK force-pushed the vnowkakeane/uncrustify_cpp branch from 4eb2d39 to d38a8ae Compare December 22, 2023 19:04
@VivianNK VivianNK enabled auto-merge (squash) December 22, 2023 19:04
@VivianNK VivianNK merged commit 6eac048 into microsoft:main Dec 22, 2023
11 checks passed
VivianNK added a commit to microsoft/mu_basecore that referenced this pull request Dec 22, 2023
## Description

Cherry pick uncrustify changes for cpp from edk2 and apply them to
relevant files.

- [ ] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [x] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Implements new uncrustify standard that needs to be applied to all
.cpp files and some cpp-related .h files(GoogleTests). Will need to
update the following repos:
- mu feature config (not dependent on this PR - only cpp file changes)
[PR](microsoft/mu_feature_config#291)
- mu feature ipmi (not dependent on this PR - only cpp file changes)
[PR](microsoft/mu_feature_ipmi#197)
- mu tiano plus [Draft
PR](microsoft/mu_tiano_plus#215)

- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

## How This Was Tested

Local CI build

## Integration Instructions

WIll need to have up to date mu_tiano_plus branch once merged.

---------

Signed-off-by: Vivian Nowka-Keane <[email protected]>
kenlautner pushed a commit to microsoft/mu_basecore that referenced this pull request Jan 19, 2024
Cherry pick uncrustify changes for cpp from edk2 and apply them to
relevant files.

- [ ] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [x] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Implements new uncrustify standard that needs to be applied to all
.cpp files and some cpp-related .h files(GoogleTests). Will need to
update the following repos:
- mu feature config (not dependent on this PR - only cpp file changes)
[PR](microsoft/mu_feature_config#291)
- mu feature ipmi (not dependent on this PR - only cpp file changes)
[PR](microsoft/mu_feature_ipmi#197)
- mu tiano plus [Draft
PR](microsoft/mu_tiano_plus#215)

- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

Local CI build

WIll need to have up to date mu_tiano_plus branch once merged.

---------

Signed-off-by: Vivian Nowka-Keane <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:non-functional Does not have a functional impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants