<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Plugin/DebugMacroCheck, branch dependabot/github_actions/actions/github-script-9</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-03-13T15:39:06+00:00</updated>
<entry>
<title>BaseTools: Fix Debug Macro Checking to Include Scanning Files</title>
<updated>2025-03-13T15:39:06+00:00</updated>
<author>
<name>Jason1 Lin</name>
<email>jason1.lin@intel.com</email>
</author>
<published>2025-03-13T12:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1e0051e293aedc1a196ae5678a1e953e5ed946f1'/>
<id>urn:sha1:1e0051e293aedc1a196ae5678a1e953e5ed946f1</id>
<content type='text'>
- In the commit 42a141800c0c26a09d2344e84a89ce4097a263ae
  there was a misuse of "is_dir" method.

- Treating it as an object rather than function call,
  which caused if-condition to always as "false".

- No files would be added to scanning list due to incorrect usage.

- This patch corrects the issue by properly using "is_dir()".

Signed-off-by: Jason1 Lin &lt;jason1.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>DebugMacroCheck: Do not show progress bar with zero items</title>
<updated>2025-03-06T15:35:40+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-03-05T21:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=67df979ad2ea0a5d344bd997a7b3b1e87c7e5cc8'/>
<id>urn:sha1:67df979ad2ea0a5d344bd997a7b3b1e87c7e5cc8</id>
<content type='text'>
In the case that the total provided to the `_show_progress()`
function is zero, do not show a progress bar to prevent aborts
`ZeroDivisionError` when calculating the progress percentage.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Skip directories with code extensions in the name</title>
<updated>2025-01-07T04:56:24+00:00</updated>
<author>
<name>Alexander Gryanko</name>
<email>xpahos@gmail.com</email>
</author>
<published>2024-12-24T23:18:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=42a141800c0c26a09d2344e84a89ce4097a263ae'/>
<id>urn:sha1:42a141800c0c26a09d2344e84a89ce4097a263ae</id>
<content type='text'>
Currently openssl has an Open Quantum Safe provider submodule with
directories like oqs-provider/oqs-template/oqsprov/oqsprov.c or
oqs-provider/oqs-template/oqsprov/oqsprov/oqsprov_capabilities.c
that are used as templates, but DebugMacroCheck tries to read them
as a file when recursively traversing the subdirectories.

Fail message:

  File "/usr/lib/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
  IsADirectoryError: [Errno 21] Is a directory: '/CryptoPkg/Library
/OpensslLib/openssl/oqs-provider/oqs-template/oqsprov/oqsprov.c'

Signed-off-by: Alexander Gryanko &lt;xpahos@gmail.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Plugin: Integration of edk2-pytools</title>
<updated>2023-10-28T14:59:29+00:00</updated>
<author>
<name>Joey Vagedes</name>
<email>joeyvagedes@microsoft.com</email>
</author>
<published>2023-10-27T15:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7806713f00e92b37799ef920daae3ebf14c5b07f'/>
<id>urn:sha1:7806713f00e92b37799ef920daae3ebf14c5b07f</id>
<content type='text'>
Performs Integration instructions necessary to upgrade edk2-pytool-library
to 0.19.3 and edk2-pytool-extensions to 0.25.1. This includes resolving the
deprecation of builder.mws and replacing it with builder.edk2path
functionality.

Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Signed-off-by: Joey Vagedes &lt;joeyvagedes@gmail.com&gt;
Message-Id: &lt;20231027151551.1043941-3-joeyvagedes@microsoft.com&gt;
Reviewed-by: Rebecca Cran &lt;rebecca@os.amperecomputing.com&gt;
Reviewed-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/Plugin: Add DebugMacroCheck</title>
<updated>2023-09-19T01:20:27+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2023-08-10T21:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=cbcf0428e83bbe8314de47207072b3b4f1557dc6'/>
<id>urn:sha1:cbcf0428e83bbe8314de47207072b3b4f1557dc6</id>
<content type='text'>
Adds a plugin that finds debug macro formatting issues. These errors
often creep into debug prints in error conditions not frequently
executed and make debug more difficult when they are encountered.

The code can be as a standalone script which is useful to find
problems in a large codebase that has not been checked before or as
a build plugin that notifies a developer of an error right away.

The script was already used to find numerous issues in edk2 in the
past so there's not many code fixes in this change. More details
are available in the readme file:

.pytool\Plugin\DebugMacroCheck\Readme.md

Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Yuwei Chen &lt;yuwei.chen@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
</feed>
