cppcheck 1.4.5__tar.gz → 1.4.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cppcheck-1.4.6/.github/workflows/ports.yml +86 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.releaserc.js +2 -1
- {cppcheck-1.4.5 → cppcheck-1.4.6}/PKG-INFO +1 -1
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/cppcheck/portfile.cmake +1 -1
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/cppcheck/vcpkg.json +1 -1
- {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/_version.py +2 -2
- {cppcheck-1.4.5 → cppcheck-1.4.6}/vcpkg.json +1 -1
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.copier-answers.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.devcontainer/devcontainer.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.editorconfig +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.gitattributes +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/codecov.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/codeql-config.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/matchers/pylint.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/cd.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/ci.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/codeql.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/pages.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/renovate.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/semantic-release.yml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.gitignore +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.markdownlint.yaml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.pre-commit-config.yaml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.renovaterc.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.vscode/launch.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/.vscode/settings.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/CMakeLists.txt +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/CMakePresets.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/LICENSE +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/README.md +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/arch/x64.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/base.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/gcc.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/llvm.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/mingw.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/msvc.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/default.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/generators/ninja.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/os/darwin.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/os/linux.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/os/windows.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/toolchains/vcpkg.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-linux.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-mingw-dynamic.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-mingw-static.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-osx.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-windows.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-linux-gcc.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-linux-llvm.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-osx-gcc.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-osx-llvm.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-windows-llvm.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-windows-msvc.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/README.md +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/export-cmake-targets.patch +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/pcre-8.4.5_fix_check_function_exists_for_arm-androi_builds.patch +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/pcre-8.45_fix_postfix_for_debug_Windows_builds.patch +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/portfile.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/unofficial-pcre-config.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/vcpkg.json +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/scripts/build_type.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/triplets/README.md +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/docs/api/index.md +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/docs/conf.py +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/docs/index.md +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/noxfile.py +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/pyproject.toml +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/__init__.py +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/__main__.py +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/_version.pyi +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/py.typed +0 -0
- {cppcheck-1.4.5 → cppcheck-1.4.6}/tests/test_package.py +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
name: Ports
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
env:
|
|
7
|
+
FORCE_COLOR: 3
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
verify:
|
|
11
|
+
runs-on: ubuntu-24.04
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
id-token: write
|
|
15
|
+
pull-requests: write
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- name: Generate a bot token with BOT_APP_ID
|
|
19
|
+
id: bot_token
|
|
20
|
+
if: vars.BOT_APP_ID && env.BOT_PRIVATE_KEY != null
|
|
21
|
+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1
|
|
22
|
+
env:
|
|
23
|
+
BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
|
|
24
|
+
with:
|
|
25
|
+
app-id: ${{ vars.BOT_APP_ID }}
|
|
26
|
+
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
|
|
27
|
+
|
|
28
|
+
- name: Checkout repository
|
|
29
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
30
|
+
with:
|
|
31
|
+
token: ${{ steps.bot_token.outputs.token || secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
32
|
+
ref: ${{ github.head_ref }}
|
|
33
|
+
fetch-depth: 2
|
|
34
|
+
|
|
35
|
+
- name: Format vcpkg.json
|
|
36
|
+
run: |
|
|
37
|
+
vcpkg format-manifest --all $(find cmake/vcpkg/ports/ -name "vcpkg.json")
|
|
38
|
+
|
|
39
|
+
- name: Commit format vcpkg.json
|
|
40
|
+
uses: stefanzweifel/git-auto-commit-action@v5
|
|
41
|
+
if: success()
|
|
42
|
+
with:
|
|
43
|
+
commit_message: 'ci: format vcpkg configuration'
|
|
44
|
+
file_pattern: vcpkg.json
|
|
45
|
+
|
|
46
|
+
- name: Exit 1 if vcpkg configuration changes have been detected
|
|
47
|
+
if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
|
48
|
+
run: |
|
|
49
|
+
exit 1
|
|
50
|
+
|
|
51
|
+
- name: Verify all modules and update hash
|
|
52
|
+
run: |
|
|
53
|
+
set -x
|
|
54
|
+
for dir in cmake/vcpkg/ports/* ; do
|
|
55
|
+
if [[ ! -d $dir ]]; then continue; fi;
|
|
56
|
+
echo "Test to install $dir"
|
|
57
|
+
vcpkg remove ${dir##cmake/vcpkg/ports/} --recurse --overlay-ports=cmake/vcpkg/ports --classic || true
|
|
58
|
+
status=0
|
|
59
|
+
install_output=$(vcpkg install ${dir##cmake/vcpkg/ports/} --overlay-ports=cmake/vcpkg/ports --classic) || status=$?
|
|
60
|
+
if [[ ! $status -eq 0 ]]; then
|
|
61
|
+
echo " Update hash on $dir/portfile.cmake"
|
|
62
|
+
expected=$(echo "$install_output" | grep -oP "(?<=Expected hash: ).{128}")
|
|
63
|
+
actual=$(echo "$install_output" | grep -oP "(?<=Actual hash: ).{128}")
|
|
64
|
+
sed -i "s@${expected}@${actual}@g" "$dir/portfile.cmake"
|
|
65
|
+
echo " Expected hash: ${expected}"
|
|
66
|
+
echo " Actual hash: ${actual}"
|
|
67
|
+
fi
|
|
68
|
+
done
|
|
69
|
+
|
|
70
|
+
- name: Detect hash changes against local
|
|
71
|
+
id: filter-hash
|
|
72
|
+
uses: dorny/paths-filter@v3
|
|
73
|
+
with:
|
|
74
|
+
list-files: shell
|
|
75
|
+
base: HEAD
|
|
76
|
+
filters: |
|
|
77
|
+
ports:
|
|
78
|
+
- cmake/vcpkg/ports/**
|
|
79
|
+
|
|
80
|
+
- name: Commit port hash
|
|
81
|
+
if: steps.filter-hash.outputs.ports == 'true'
|
|
82
|
+
uses: stefanzweifel/git-auto-commit-action@v5
|
|
83
|
+
with:
|
|
84
|
+
file_pattern: cmake/vcpkg/ports/*
|
|
85
|
+
commit_message: 'ci: update port hash'
|
|
86
|
+
skip_fetch: true
|
|
@@ -30,7 +30,8 @@ module.exports = {
|
|
|
30
30
|
{ type: "ci", release: false },
|
|
31
31
|
{ type: "docs", release: false },
|
|
32
32
|
{ type: "test", release: false },
|
|
33
|
-
{ scope:
|
|
33
|
+
{ scope: "*no-release*", release: false },
|
|
34
|
+
{ type: "chore", scope: "cppcheck", release: "patch" },
|
|
34
35
|
],
|
|
35
36
|
parseOpts: {
|
|
36
37
|
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
|
|
@@ -6,7 +6,7 @@ vcpkg_from_github(
|
|
|
6
6
|
REF
|
|
7
7
|
"${VERSION}"
|
|
8
8
|
SHA512
|
|
9
|
-
|
|
9
|
+
bfc1ab5668f8f779d655a33d79bfeb1089df3fc38ee41ebdeaa155714c843191579d83be0a9e83cc90cf6f25745f6eb4ab74e651cece536a4e099be7cb4df0fc
|
|
10
10
|
HEAD_REF
|
|
11
11
|
main)
|
|
12
12
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|