gh-131261: expat/refresh.sh: Expand list of manual steps (GH-131359)

This commit is contained in:
Petr Viktorin 2025-03-18 13:17:43 +01:00 committed by GitHub
parent 295b53df2a
commit 51d309988b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 21 deletions

19
Misc/sbom.spdx.json generated
View file

@ -127,20 +127,6 @@
],
"fileName": "Modules/expat/nametab.h"
},
{
"SPDXID": "SPDXRef-FILE-Modules-expat-refresh.sh",
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "1834a0629524eee116cf84251464fb368423fd73"
},
{
"algorithm": "SHA256",
"checksumValue": "a8e123d64c0c43fcc52e70c6573db071c3d007ecdad604fbc3a84beefe2ed3a1"
}
],
"fileName": "Modules/expat/refresh.sh"
},
{
"SPDXID": "SPDXRef-FILE-Modules-expat-siphash.h",
"checksums": [
@ -1776,11 +1762,6 @@
"relationshipType": "CONTAINS",
"spdxElementId": "SPDXRef-PACKAGE-expat"
},
{
"relatedSpdxElement": "SPDXRef-FILE-Modules-expat-refresh.sh",
"relationshipType": "CONTAINS",
"spdxElementId": "SPDXRef-PACKAGE-expat"
},
{
"relatedSpdxElement": "SPDXRef-FILE-Modules-expat-siphash.h",
"relationshipType": "CONTAINS",

View file

@ -54,4 +54,13 @@ rm libexpat.tar.gz
# Step 3: Add the namespacing include to expat_external.h
sed -i 's/#define Expat_External_INCLUDED 1/&\n\n\/* Namespace external symbols to allow multiple libexpat version to\n co-exist. \*\/\n#include "pyexpatns.h"/' expat_external.h
echo "Updated; verify all is okay using git diff and git status."
echo "
Updated! next steps:
- Verify all is okay:
git diff
git status
- Regenerate the sbom file
make regen-sbom
- Update warning count in Tools/build/.warningignore_macos
(use info from CI if not on a Mac)
"

View file

@ -60,7 +60,7 @@ PACKAGE_TO_FILES = {
exclude=[
"Modules/expat/expat_config.h",
"Modules/expat/pyexpatns.h",
"Modules/_hacl/refresh.sh",
"Modules/expat/refresh.sh",
]
),
"macholib": PackageFiles(