| Files | Last commit | Last update |
|---|---|---|
fix(selfdev/shm): apply the OHOS lambda capture workaround only to trees that need it What: - Move the registry subscription lambda capture change out of ohos/ibmw-core-workaround.diff into ohos/ibmw-core-capture-workaround.diff. - run_shm_ohos.sh applies the CMake part to every copied tree as before, and the capture part only when the tree's registry subscription source (.cpp, or .cc in trees before the suffix rename) still captures with a bare [&]; trees that already capture driver by name are left alone. Why: the current tree already captures driver explicitly, so the old single diff no longer applied and the OHOS build stages stopped at the patch step, while older baseline trees for the benchmark comparison still need the change. Verification: on exports of the current tree and of an older baseline, the patch step succeeds; the baseline gets the explicit capture and both get the CMake changes; bash -n is clean. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
chore(license): put the Apache-2.0 header on every source file, add OAT.xml What: Every source, script, build and configuration file now starts with the full Apache-2.0 license header and the copyright line "Copyright (c) 2025-2026 IB-Robot Group & openEuler Embedded SIG & openharmony-robot sig_RoboFrame." (no comma after the years). The "All rights reserved." line and the Mulan PSL v2 line of the loaned message demo are removed; the repository LICENSE is Apache-2.0. A shebang, coding line or XML declaration stays first. Jinja2 templates carry the header in a template comment, so it is not copied into rendered files. The new OAT.xml registers the copyright holders and the license, and filters files that cannot carry a header (JSON, golden generator output, patches, the recorded rosbag test data, documentation), each with its reason. Why: The OpenHarmony CI open-source audit reported 3527 fatal issues: files without a license header, copyright lines it does not accept, and binary files not registered. Only file headers and OAT.xml change; no code changes. Verification: Release hygiene and docs governance pass. The header script is idempotent (a second run changes nothing) and its diff only removes old header lines and the comment separators after them. ibmw_gen tests and scripts/tests give the same results as before the change; the installed-consumer test builds and installs the whole tree. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(python): simplify complex comprehensions What: comprehensions that combined several loops or several conditions, or spread one clause over many lines, are rewritten as plain loops, small named helper predicates, or comprehensions over a named local or module constant. Repeated "find the entry for this path" searches in the perf collector now share one helper. Why: each comprehension now reads as a single simple step, which makes the validation logic easier to review. Behaviour is unchanged. Verification: mw_perf_collect tests 968 passed, 2 skipped; abc_interop 61 passed; selfdev shm 29 passed; adapters 14 passed; core metrics 213 passed, and the two live-interference trials fail the same way on the branch base while a parallel build loads the machine; flake8 clean on changed files. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
chore(license): put the Apache-2.0 header on every source file, add OAT.xml What: Every source, script, build and configuration file now starts with the full Apache-2.0 license header and the copyright line "Copyright (c) 2025-2026 IB-Robot Group & openEuler Embedded SIG & openharmony-robot sig_RoboFrame." (no comma after the years). The "All rights reserved." line and the Mulan PSL v2 line of the loaned message demo are removed; the repository LICENSE is Apache-2.0. A shebang, coding line or XML declaration stays first. Jinja2 templates carry the header in a template comment, so it is not copied into rendered files. The new OAT.xml registers the copyright holders and the license, and filters files that cannot carry a header (JSON, golden generator output, patches, the recorded rosbag test data, documentation), each with its reason. Why: The OpenHarmony CI open-source audit reported 3527 fatal issues: files without a license header, copyright lines it does not accept, and binary files not registered. Only file headers and OAT.xml change; no code changes. Verification: Release hygiene and docs governance pass. The header script is idempotent (a second run changes nothing) and its diff only removes old header lines and the comment separators after them. ibmw_gen tests and scripts/tests give the same results as before the change; the installed-consumer test builds and installs the whole tree. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
chore(license): put the Apache-2.0 header on every source file, add OAT.xml What: Every source, script, build and configuration file now starts with the full Apache-2.0 license header and the copyright line "Copyright (c) 2025-2026 IB-Robot Group & openEuler Embedded SIG & openharmony-robot sig_RoboFrame." (no comma after the years). The "All rights reserved." line and the Mulan PSL v2 line of the loaned message demo are removed; the repository LICENSE is Apache-2.0. A shebang, coding line or XML declaration stays first. Jinja2 templates carry the header in a template comment, so it is not copied into rendered files. The new OAT.xml registers the copyright holders and the license, and filters files that cannot carry a header (JSON, golden generator output, patches, the recorded rosbag test data, documentation), each with its reason. Why: The OpenHarmony CI open-source audit reported 3527 fatal issues: files without a license header, copyright lines it does not accept, and binary files not registered. Only file headers and OAT.xml change; no code changes. Verification: Release hygiene and docs governance pass. The header script is idempotent (a second run changes nothing) and its diff only removes old header lines and the comment separators after them. ibmw_gen tests and scripts/tests give the same results as before the change; the installed-consumer test builds and installs the whole tree. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
chore(license): put the Apache-2.0 header on every source file, add OAT.xml What: Every source, script, build and configuration file now starts with the full Apache-2.0 license header and the copyright line "Copyright (c) 2025-2026 IB-Robot Group & openEuler Embedded SIG & openharmony-robot sig_RoboFrame." (no comma after the years). The "All rights reserved." line and the Mulan PSL v2 line of the loaned message demo are removed; the repository LICENSE is Apache-2.0. A shebang, coding line or XML declaration stays first. Jinja2 templates carry the header in a template comment, so it is not copied into rendered files. The new OAT.xml registers the copyright holders and the license, and filters files that cannot carry a header (JSON, golden generator output, patches, the recorded rosbag test data, documentation), each with its reason. Why: The OpenHarmony CI open-source audit reported 3527 fatal issues: files without a license header, copyright lines it does not accept, and binary files not registered. Only file headers and OAT.xml change; no code changes. Verification: Release hygiene and docs governance pass. The header script is idempotent (a second run changes nothing) and its diff only removes old header lines and the comment separators after them. ibmw_gen tests and scripts/tests give the same results as before the change; the installed-consumer test builds and installs the whole tree. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
fix(selfdev/shm): apply the OHOS lambda capture workaround only to trees that need it What: - Move the registry subscription lambda capture change out of ohos/ibmw-core-workaround.diff into ohos/ibmw-core-capture-workaround.diff. - run_shm_ohos.sh applies the CMake part to every copied tree as before, and the capture part only when the tree's registry subscription source (.cpp, or .cc in trees before the suffix rename) still captures with a bare [&]; trees that already capture driver by name are left alone. Why: the current tree already captures driver explicitly, so the old single diff no longer applied and the OHOS build stages stopped at the patch step, while older baseline trees for the benchmark comparison still need the change. Verification: on exports of the current tree and of an older baseline, the patch step succeeds; the baseline gets the explicit capture and both get the CMake changes; bash -n is clean. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
chore(license): put the Apache-2.0 header on every source file, add OAT.xml What: Every source, script, build and configuration file now starts with the full Apache-2.0 license header and the copyright line "Copyright (c) 2025-2026 IB-Robot Group & openEuler Embedded SIG & openharmony-robot sig_RoboFrame." (no comma after the years). The "All rights reserved." line and the Mulan PSL v2 line of the loaned message demo are removed; the repository LICENSE is Apache-2.0. A shebang, coding line or XML declaration stays first. Jinja2 templates carry the header in a template comment, so it is not copied into rendered files. The new OAT.xml registers the copyright holders and the license, and filters files that cannot carry a header (JSON, golden generator output, patches, the recorded rosbag test data, documentation), each with its reason. Why: The OpenHarmony CI open-source audit reported 3527 fatal issues: files without a license header, copyright lines it does not accept, and binary files not registered. Only file headers and OAT.xml change; no code changes. Verification: Release hygiene and docs governance pass. The header script is idempotent (a second run changes nothing) and its diff only removes old header lines and the comment separators after them. ibmw_gen tests and scripts/tests give the same results as before the change; the installed-consumer test builds and installs the whole tree. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
chore(license): put the Apache-2.0 header on every source file, add OAT.xml What: Every source, script, build and configuration file now starts with the full Apache-2.0 license header and the copyright line "Copyright (c) 2025-2026 IB-Robot Group & openEuler Embedded SIG & openharmony-robot sig_RoboFrame." (no comma after the years). The "All rights reserved." line and the Mulan PSL v2 line of the loaned message demo are removed; the repository LICENSE is Apache-2.0. A shebang, coding line or XML declaration stays first. Jinja2 templates carry the header in a template comment, so it is not copied into rendered files. The new OAT.xml registers the copyright holders and the license, and filters files that cannot carry a header (JSON, golden generator output, patches, the recorded rosbag test data, documentation), each with its reason. Why: The OpenHarmony CI open-source audit reported 3527 fatal issues: files without a license header, copyright lines it does not accept, and binary files not registered. Only file headers and OAT.xml change; no code changes. Verification: Release hygiene and docs governance pass. The header script is idempotent (a second run changes nothing) and its diff only removes old header lines and the comment separators after them. ibmw_gen tests and scripts/tests give the same results as before the change; the installed-consumer test builds and installs the whole tree. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(python): simplify complex comprehensions What: comprehensions that combined several loops or several conditions, or spread one clause over many lines, are rewritten as plain loops, small named helper predicates, or comprehensions over a named local or module constant. Repeated "find the entry for this path" searches in the perf collector now share one helper. Why: each comprehension now reads as a single simple step, which makes the validation logic easier to review. Behaviour is unchanged. Verification: mw_perf_collect tests 968 passed, 2 skipped; abc_interop 61 passed; selfdev shm 29 passed; adapters 14 passed; core metrics 213 passed, and the two live-interference trials fail the same way on the branch base while a parallel build loads the machine; flake8 clean on changed files. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(naming): use the .cpp suffix for C++ source files What: rename every C++ source file in the repository from .cc to .cpp (824 files, with git history kept as renames) and update the build lists, scripts, tests, configs, docs and source comments that name them. The project generators (ibmw-gen and ibmw_cli) now write .cpp files for new projects; when a project being regenerated already holds .cc sources from an earlier run, the generators keep .cc for it so the user's files and CMake lists stay consistent. A small helper picks the suffix from the output directory, and new tests cover both the new and the legacy case. Generated CMake lists from ibmw_cli accept both suffixes. The in-tree generated samples and the template project are regenerated with the new names. Why: the code check requires C++ source files to use the .cpp suffix. Verification: full build with 0 errors; ctest 75/75 passed; ibmw-gen tests 341 passed with only the known environment-dependent failure; mw_perf_collect tests 968 passed, 2 skipped; core metrics tests 215 passed; shell tests show only the three known environment failures; clang-format, generated-code format, license header, docs governance and release hygiene checks pass. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(python): simplify complex comprehensions What: comprehensions that combined several loops or several conditions, or spread one clause over many lines, are rewritten as plain loops, small named helper predicates, or comprehensions over a named local or module constant. Repeated "find the entry for this path" searches in the perf collector now share one helper. Why: each comprehension now reads as a single simple step, which makes the validation logic easier to review. Behaviour is unchanged. Verification: mw_perf_collect tests 968 passed, 2 skipped; abc_interop 61 passed; selfdev shm 29 passed; adapters 14 passed; core metrics 213 passed, and the two live-interference trials fail the same way on the branch base while a parallel build loads the machine; flake8 clean on changed files. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(python): follow the PEP 8 layout rules in Python sources What: - Reformat the tracked Python sources (scripts, tools, generators, tests, samples, the commit-msg hook and the mw-perf-collect launcher) so flake8 --max-line-length 120 --select E,W reports no findings, apart from W503/W504, which contradict each other and are off by default. - Whitespace, indentation, blank lines, one statement per line, split "import a, b" lines and lines kept within 120 columns. - Assigned lambdas became small def functions; mid-file imports moved to the top of the file where nothing has to run first; standard-library imports now come before third-party imports. - Over-long string literals were split by implicit concatenation, so the values stay identical. - Imports that must follow a sys.path setup, long lines inside embedded C++/shell/Python templates, and five statements whose exact spelling a test checks keep a noqa marker. Why: - The code check reports thousands of layout findings in these files. Fixing the layout once keeps later findings readable. Verification: - Comparing syntax trees shows only the intended changes (lambda to def, moved imports, one reflowed docstring); comments are unchanged apart from the added noqa markers. - ibmw_gen, mw_perf_collect, core metrics, selfdev, transport benchmark and adapter Python tests give the same results as before the change. - scripts/tests/*.sh, ctest (75/75), docs governance and license header checks give the same results as before. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(python): follow the PEP 8 layout rules in Python sources What: - Reformat the tracked Python sources (scripts, tools, generators, tests, samples, the commit-msg hook and the mw-perf-collect launcher) so flake8 --max-line-length 120 --select E,W reports no findings, apart from W503/W504, which contradict each other and are off by default. - Whitespace, indentation, blank lines, one statement per line, split "import a, b" lines and lines kept within 120 columns. - Assigned lambdas became small def functions; mid-file imports moved to the top of the file where nothing has to run first; standard-library imports now come before third-party imports. - Over-long string literals were split by implicit concatenation, so the values stay identical. - Imports that must follow a sys.path setup, long lines inside embedded C++/shell/Python templates, and five statements whose exact spelling a test checks keep a noqa marker. Why: - The code check reports thousands of layout findings in these files. Fixing the layout once keeps later findings readable. Verification: - Comparing syntax trees shows only the intended changes (lambda to def, moved imports, one reflowed docstring); comments are unchanged apart from the added noqa markers. - ibmw_gen, mw_perf_collect, core metrics, selfdev, transport benchmark and adapter Python tests give the same results as before the change. - scripts/tests/*.sh, ctest (75/75), docs governance and license header checks give the same results as before. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago |