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.
Files changed (84) hide show
  1. cppcheck-1.4.6/.github/workflows/ports.yml +86 -0
  2. {cppcheck-1.4.5 → cppcheck-1.4.6}/.releaserc.js +2 -1
  3. {cppcheck-1.4.5 → cppcheck-1.4.6}/PKG-INFO +1 -1
  4. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/cppcheck/portfile.cmake +1 -1
  5. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/cppcheck/vcpkg.json +1 -1
  6. {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/_version.py +2 -2
  7. {cppcheck-1.4.5 → cppcheck-1.4.6}/vcpkg.json +1 -1
  8. {cppcheck-1.4.5 → cppcheck-1.4.6}/.copier-answers.yml +0 -0
  9. {cppcheck-1.4.5 → cppcheck-1.4.6}/.devcontainer/devcontainer.json +0 -0
  10. {cppcheck-1.4.5 → cppcheck-1.4.6}/.editorconfig +0 -0
  11. {cppcheck-1.4.5 → cppcheck-1.4.6}/.gitattributes +0 -0
  12. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/codecov.yml +0 -0
  13. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/codeql-config.yml +0 -0
  14. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/matchers/pylint.json +0 -0
  15. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/cd.yml +0 -0
  16. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/ci.yml +0 -0
  17. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/codeql.yml +0 -0
  18. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/pages.yml +0 -0
  19. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/renovate.yml +0 -0
  20. {cppcheck-1.4.5 → cppcheck-1.4.6}/.github/workflows/semantic-release.yml +0 -0
  21. {cppcheck-1.4.5 → cppcheck-1.4.6}/.gitignore +0 -0
  22. {cppcheck-1.4.5 → cppcheck-1.4.6}/.markdownlint.yaml +0 -0
  23. {cppcheck-1.4.5 → cppcheck-1.4.6}/.pre-commit-config.yaml +0 -0
  24. {cppcheck-1.4.5 → cppcheck-1.4.6}/.renovaterc.json +0 -0
  25. {cppcheck-1.4.5 → cppcheck-1.4.6}/.vscode/launch.json +0 -0
  26. {cppcheck-1.4.5 → cppcheck-1.4.6}/.vscode/settings.json +0 -0
  27. {cppcheck-1.4.5 → cppcheck-1.4.6}/CMakeLists.txt +0 -0
  28. {cppcheck-1.4.5 → cppcheck-1.4.6}/CMakePresets.json +0 -0
  29. {cppcheck-1.4.5 → cppcheck-1.4.6}/LICENSE +0 -0
  30. {cppcheck-1.4.5 → cppcheck-1.4.6}/README.md +0 -0
  31. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/arch/x64.json +0 -0
  32. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/base.json +0 -0
  33. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/gcc.json +0 -0
  34. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/llvm.json +0 -0
  35. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/mingw.json +0 -0
  36. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/compilers/msvc.json +0 -0
  37. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/default.json +0 -0
  38. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/generators/ninja.json +0 -0
  39. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/os/darwin.json +0 -0
  40. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/os/linux.json +0 -0
  41. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/os/windows.json +0 -0
  42. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/toolchains/vcpkg.json +0 -0
  43. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-linux.json +0 -0
  44. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-mingw-dynamic.json +0 -0
  45. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-mingw-static.json +0 -0
  46. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-osx.json +0 -0
  47. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/triplets/x64-windows.json +0 -0
  48. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-linux-gcc.json +0 -0
  49. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-linux-llvm.json +0 -0
  50. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -0
  51. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
  52. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-osx-gcc.json +0 -0
  53. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-osx-llvm.json +0 -0
  54. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-windows-llvm.json +0 -0
  55. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/presets/x64-windows-msvc.json +0 -0
  56. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
  57. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +0 -0
  58. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
  59. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
  60. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
  61. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +0 -0
  62. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
  63. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/README.md +0 -0
  64. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/export-cmake-targets.patch +0 -0
  65. {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
  66. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/pcre-8.45_fix_postfix_for_debug_Windows_builds.patch +0 -0
  67. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/pcre-8.45_suppress_cmake_and_compiler_warnings-errors.patch +0 -0
  68. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/portfile.cmake +0 -0
  69. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/unofficial-pcre-config.cmake +0 -0
  70. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/ports/pcre/vcpkg.json +0 -0
  71. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/scripts/build_type.cmake +0 -0
  72. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
  73. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/triplets/README.md +0 -0
  74. {cppcheck-1.4.5 → cppcheck-1.4.6}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
  75. {cppcheck-1.4.5 → cppcheck-1.4.6}/docs/api/index.md +0 -0
  76. {cppcheck-1.4.5 → cppcheck-1.4.6}/docs/conf.py +0 -0
  77. {cppcheck-1.4.5 → cppcheck-1.4.6}/docs/index.md +0 -0
  78. {cppcheck-1.4.5 → cppcheck-1.4.6}/noxfile.py +0 -0
  79. {cppcheck-1.4.5 → cppcheck-1.4.6}/pyproject.toml +0 -0
  80. {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/__init__.py +0 -0
  81. {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/__main__.py +0 -0
  82. {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/_version.pyi +0 -0
  83. {cppcheck-1.4.5 → cppcheck-1.4.6}/src/cppcheck/py.typed +0 -0
  84. {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: '*no-release*', release: false },
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"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cppcheck
3
- Version: 1.4.5
3
+ Version: 1.4.6
4
4
  Summary: Package cppcheck as a python wheel.
5
5
  Author-Email: "l.feng" <msclock@126.com>
6
6
  License: Apache-2.0
@@ -6,7 +6,7 @@ vcpkg_from_github(
6
6
  REF
7
7
  "${VERSION}"
8
8
  SHA512
9
- b224d4d62be1802c322f57a0674a01caecf3d034d36396d8375c302a518a6d5f0ca9160a2a94eaa33b498ff0bbd092785f0489abef30de8af446b5d381f44922
9
+ bfc1ab5668f8f779d655a33d79bfeb1089df3fc38ee41ebdeaa155714c843191579d83be0a9e83cc90cf6f25745f6eb4ab74e651cece536a4e099be7cb4df0fc
10
10
  HEAD_REF
11
11
  main)
12
12
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cppcheck",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "static analysis of C/C++ code",
5
5
  "homepage": "https://github.com/danmar/cppcheck",
6
6
  "license": "GPL-3.0",
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.4.5'
16
- __version_tuple__ = version_tuple = (1, 4, 5)
15
+ __version__ = version = '1.4.6'
16
+ __version_tuple__ = version_tuple = (1, 4, 6)
@@ -16,7 +16,7 @@
16
16
  "overrides": [
17
17
  {
18
18
  "name": "cppcheck",
19
- "version": "2.16.0"
19
+ "version": "2.16.1"
20
20
  },
21
21
  {
22
22
  "name": "cmake-modules",
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