Skip to content

Commit 34f5074

Browse files
committed
2 parents 278fc87 + 915acae commit 34f5074

1,086 files changed

Lines changed: 153161 additions & 53013 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.clang-format‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ IncludeCategories:
4747
Priority: 2
4848
CaseSensitive: true
4949
# O2Physics, non-PWG
50-
- Regex: ^(<|")(Common|ALICE3|DPG|EventFiltering|Tools|Tutorials)/.*\.h
50+
- Regex: ^(<|")(Common|ALICE3|DPG|EventFiltering|PID|Tools|Tutorials)/.*\.h
5151
Priority: 3
5252
CaseSensitive: true
5353
# O2
54-
- Regex: ^(<|")(Algorithm|CCDB|Common[A-Z]|DataFormats|DCAFitter|Detectors|EMCAL|FDD|Field|Framework|FT0|FV0|GlobalTracking|GPU|ITS|MathUtils|MCH|MFT|MID|PHOS|PID|ReconstructionDataFormats|SimulationDataFormat|TOF|TPC|ZDC).*/.*\.h
54+
- Regex: ^(<|")(Algorithm|CCDB|Common[A-Z]|DataFormats|DCAFitter|Detectors|EMCAL|FDD|Field|Framework|FT0|FV0|GlobalTracking|GPU|ITS|MathUtils|MCH|MFT|MID|PHOS|ReconstructionDataFormats|SimulationDataFormat|TOF|TPC|ZDC).*/.*\.h
5555
Priority: 4
5656
CaseSensitive: true
5757
# ROOT
@@ -93,6 +93,7 @@ IncludeCategories:
9393
# rest
9494
- Regex: .*
9595
Priority: 100
96+
CaseSensitive: true
9697
SpaceBeforeAssignmentOperators: true
9798
SpaceBeforeParens: ControlStatements
9899
SpaceInEmptyParentheses: false

‎.clang-tidy‎

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,58 @@ WarningsAsErrors: >-
111111
*,
112112
-readability-braces-around-statements,
113113
-readability-suspicious-call-argument,
114+
-modernize-*,
115+
-readability-*,
116+
-bugprone-assignment-in-if-condition,
117+
-bugprone-branch-clone,
118+
-bugprone-copy-constructor-init,
119+
-bugprone-empty-catch,
120+
-bugprone-exception-escape,
121+
-bugprone-fold-init-type,
122+
-bugprone-incorrect-roundings,
123+
-bugprone-integer-division,
124+
-bugprone-macro-parentheses,
125+
-bugprone-narrowing-conversions,
126+
-bugprone-non-zero-enum-to-bool-conversion,
127+
-bugprone-redundant-branch-condition,
128+
-bugprone-reserved-identifier,
129+
-bugprone-suspicious-include,
130+
-bugprone-suspicious-missing-comma,
131+
-bugprone-switch-missing-default-case,
132+
-bugprone-too-small-loop-variable,
133+
-bugprone-unchecked-optional-access,
134+
-bugprone-unsafe-functions,
135+
-bugprone-unused-local-non-trivial-variable,
136+
-cppcoreguidelines-avoid-const-or-ref-data-members,
137+
-cppcoreguidelines-avoid-non-const-global-variables,
138+
-cppcoreguidelines-init-variables,
139+
-cppcoreguidelines-macro-usage,
140+
-cppcoreguidelines-missing-std-forward,
141+
-cppcoreguidelines-prefer-member-initializer,
142+
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
143+
-cppcoreguidelines-pro-type-const-cast,
144+
-cppcoreguidelines-pro-type-cstyle-cast,
145+
-cppcoreguidelines-pro-type-member-init,
146+
-cppcoreguidelines-pro-type-reinterpret-cast,
147+
-cppcoreguidelines-pro-type-static-cast-downcast,
148+
-cppcoreguidelines-pro-type-union-access,
149+
-cppcoreguidelines-slicing,
150+
-cppcoreguidelines-virtual-class-destructor,
151+
# Positives for the following checks are currently being fixed and should be reported as errors.
152+
# clang-analyzer-*
153+
# clang-diagnostic-*
154+
# google-default-arguments
155+
# misc-include-cleaner
156+
# misc-redundant-expression
157+
# misc-unused-parameters
158+
# performance-for-range-copy
159+
# performance-inefficient-string-concatenation
160+
# performance-inefficient-vector-operation
161+
# performance-move-const-arg
162+
# performance-no-automatic-move
163+
# performance-type-promotion-in-math-fn
164+
# performance-unnecessary-copy-initialization
165+
# performance-unnecessary-value-param
114166
CheckOptions:
115167
modernize-avoid-c-arrays.AllowStringArrays: true
116168
# Common tolerated conversions

‎.claude/commands/migrate-ccdb.md‎

Lines changed: 201 additions & 18 deletions
Large diffs are not rendered by default.

‎.github/workflows/clean-test.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ name: Clean PR checks
2424
type: boolean
2525
default: true
2626

27-
'check_build/O2Physics/o2/macOS':
28-
description: build/O2Physics/o2/macOS
29-
type: boolean
30-
default: true
31-
3227
'check_build/O2Physics/o2':
3328
description: build/O2Physics/o2
3429
type: boolean
@@ -39,6 +34,11 @@ name: Clean PR checks
3934
type: boolean
4035
default: true
4136

37+
'check_build/O2Physics/code-check':
38+
description: build/O2Physics/code-check
39+
type: boolean
40+
default: true
41+
4242
permissions: {}
4343

4444
jobs:

‎.github/workflows/labeler.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Label the PR
1818
id: labeler
19-
uses: actions/labeler@v6
19+
uses: actions/labeler@v7
2020
with:
2121
repo-token: ${{ secrets.GITHUB_TOKEN }}
2222
sync-labels: true

‎.github/workflows/mega-linter.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
id: ml
4040
# You can override MegaLinter flavor used to have faster performances
4141
# More info at https://megalinter.io/flavors/
42-
uses: oxsecurity/megalinter@v9.6.0
42+
uses: oxsecurity/megalinter@v10.1.0
4343
env:
4444
# All available variables are described in documentation:
4545
# https://megalinter.io/configuration/

‎.github/workflows/stale.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
stale:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/stale@v10
16+
- uses: actions/stale@v11
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
1919
stale-pr-message: 'This PR has not been updated in the last 30 days. Is it still needed? Unless further action is taken, it will be closed in 5 days.'

‎.mega-linter.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ DISABLE_LINTERS:
1919
- PYTHON_FLAKE8
2020
- PYTHON_ISORT
2121
- REPOSITORY_DEVSKIM
22-
- REPOSITORY_GITLEAKS
23-
- REPOSITORY_KICS
2422
- REPOSITORY_OSV_SCANNER
2523
- REPOSITORY_SECRETLINT
2624
- REPOSITORY_TRIVY
@@ -43,5 +41,4 @@ CPP_CPPLINT_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", "
4341
CPP_CLANG_FORMAT_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", ".cuh", ".cxx", ".cxx.in", ".h", ".h++", ".hh", ".h.in", ".hpp", ".hxx", ".inc", ".inl", ".macro"]
4442
CPP_CPPCHECK_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", ".cuh", ".cxx", ".cxx.in", ".h", ".h++", ".hh", ".h.in", ".hpp", ".hxx", ".inc", ".inl", ".macro"]
4543
CPP_CPPCHECK_ARGUMENTS: --language=c++ --std=c++20 --enable=style --check-level=exhaustive --suppressions-list=cppcheck_suppressions --inline-suppr --force
46-
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: true
4744
ACTION_ZIZMOR_UNSECURED_ENV_VARIABLES: [GITHUB_TOKEN]

‎ALICE3/Core/ALICE3CoreLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

‎ALICE3/Core/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ o2physics_add_library(ALICE3Core
2020
o2physics_target_root_dictionary(ALICE3Core
2121
HEADERS TrackUtilities.h
2222
FlatLutEntry.h
23+
OTFParticle.h
2324
GeometryContainer.h
2425
LINKDEF ALICE3CoreLinkDef.h)
2526

0 commit comments

Comments
 (0)