mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-131261: expat/refresh.sh: Expand list of manual steps (GH-131359)
This commit is contained in:
parent
295b53df2a
commit
51d309988b
3 changed files with 11 additions and 21 deletions
19
Misc/sbom.spdx.json
generated
19
Misc/sbom.spdx.json
generated
|
@ -127,20 +127,6 @@
|
||||||
],
|
],
|
||||||
"fileName": "Modules/expat/nametab.h"
|
"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",
|
"SPDXID": "SPDXRef-FILE-Modules-expat-siphash.h",
|
||||||
"checksums": [
|
"checksums": [
|
||||||
|
@ -1776,11 +1762,6 @@
|
||||||
"relationshipType": "CONTAINS",
|
"relationshipType": "CONTAINS",
|
||||||
"spdxElementId": "SPDXRef-PACKAGE-expat"
|
"spdxElementId": "SPDXRef-PACKAGE-expat"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"relatedSpdxElement": "SPDXRef-FILE-Modules-expat-refresh.sh",
|
|
||||||
"relationshipType": "CONTAINS",
|
|
||||||
"spdxElementId": "SPDXRef-PACKAGE-expat"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"relatedSpdxElement": "SPDXRef-FILE-Modules-expat-siphash.h",
|
"relatedSpdxElement": "SPDXRef-FILE-Modules-expat-siphash.h",
|
||||||
"relationshipType": "CONTAINS",
|
"relationshipType": "CONTAINS",
|
||||||
|
|
|
@ -54,4 +54,13 @@ rm libexpat.tar.gz
|
||||||
# Step 3: Add the namespacing include to expat_external.h
|
# 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
|
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)
|
||||||
|
"
|
||||||
|
|
|
@ -60,7 +60,7 @@ PACKAGE_TO_FILES = {
|
||||||
exclude=[
|
exclude=[
|
||||||
"Modules/expat/expat_config.h",
|
"Modules/expat/expat_config.h",
|
||||||
"Modules/expat/pyexpatns.h",
|
"Modules/expat/pyexpatns.h",
|
||||||
"Modules/_hacl/refresh.sh",
|
"Modules/expat/refresh.sh",
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
"macholib": PackageFiles(
|
"macholib": PackageFiles(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue