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

BaseTools: Add ProductDataFormatter [Rebase & FF] #942

Conversation

kenlautner
Copy link
Contributor

@kenlautner kenlautner commented Jun 25, 2024

Description

The following commits from 202311 are linked here:
d188c8d
7a6a30a
86dfe9b

The changes are listed below:


Added versioning to the buildrule_template.


Added the OemDataFormatter to basetools. This includes the name change to ProductDataFormatter.

  • 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

CI

Integration Instructions

N/A

@kenlautner kenlautner changed the base branch from release/202311 to release/202405 June 25, 2024 01:58
@github-actions github-actions bot added impact:non-functional Does not have a functional impact language:python Pull requests that update Python code labels Jun 25, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (release/202405@3f36dc0). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/202405     #942   +/-   ##
=================================================
  Coverage                  ?   43.42%           
=================================================
  Files                     ?      180           
  Lines                     ?    25101           
  Branches                  ?     6016           
=================================================
  Hits                      ?    10901           
  Misses                    ?    14135           
  Partials                  ?       65           
Flag Coverage Δ
MdeModulePkg 17.80% <ø> (?)
MdePkg 51.59% <ø> (?)
NetworkPkg 8.51% <ø> (?)
UefiCpuPkg 39.84% <ø> (?)
UnitTestFrameworkPkg 6.01% <ø> (?)

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 changed the title Add OemDataFormatter to basetools BaseTools: Add OemDataFormatter Jun 25, 2024
@makubacki makubacki changed the title BaseTools: Add OemDataFormatter BaseTools: Add OemDataFormatter [Rebase & FF] Jun 25, 2024
@kenlautner kenlautner force-pushed the personal/klautner/add_OemDataFormatter branch 2 times, most recently from a04b72b to 17323a8 Compare June 27, 2024 22:05
BaseTools/Conf/build_rule.template Outdated Show resolved Hide resolved
BaseTools/Conf/build_rule.template Outdated Show resolved Hide resolved
BaseTools/Conf/build_rule.template Outdated Show resolved Hide resolved
BaseTools/Conf/target.template Outdated Show resolved Hide resolved
BaseTools/Conf/tools_def.template Outdated Show resolved Hide resolved
BaseTools/Conf/tools_def.template Show resolved Hide resolved
BaseTools/Conf/build_rule.template Outdated Show resolved Hide resolved
@kenlautner kenlautner force-pushed the personal/klautner/add_OemDataFormatter branch 2 times, most recently from a9518ba to 6ccf5b9 Compare June 29, 2024 01:58
BaseTools/Conf/target.template Outdated Show resolved Hide resolved
BaseTools/Conf/build_rule.template Outdated Show resolved Hide resolved
@Javagedes
Copy link
Contributor

PR Title should be ProductDataFormatter

@kenlautner kenlautner changed the title BaseTools: Add OemDataFormatter [Rebase & FF] BaseTools: Add ProductDataFormatter [Rebase & FF] Jul 1, 2024
@kenlautner kenlautner force-pushed the personal/klautner/add_OemDataFormatter branch 3 times, most recently from 5570976 to bbe90bd Compare July 1, 2024 21:36
uefibot and others added 2 commits July 1, 2024 16:35
Adds a new build rule for OEM data files which are structured
compiled data. The rule provides support for MSFT, GCC, and
Clang toolchains.

Deletes the intermediate binary files in a module output directory
after the final binary is written using the files. This is
important to prevent intermediate files from potentially being
used in future incremental builds if the corresponding source
file is no longer present.

BaseTools/OemDataFormatter: Rename to ProductDataFormatter

Renames the tool to ProductDataFormatter to align with a change in
data name from "OEM data" to "product data".
@kenlautner kenlautner force-pushed the personal/klautner/add_OemDataFormatter branch from bbe90bd to 017f59f Compare July 1, 2024 23:35
@kenlautner kenlautner merged commit 419fc77 into microsoft:release/202405 Jul 2, 2024
35 checks passed
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 language:python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants