Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1587
Project:Branches: sebhub/rtems:format-tools to rtems/rtos/rtems:main Author: Sebastian Huber ## Summary Issue #5783: The build items follow no common format **Problem:** The repository does not name the tools which format its files, or their versions. A developer and the CI can format the same file with different results. **Fix:** Add a `pyproject.toml` and a `uv.lock`. `uv sync` installs `specware` (`specverify` checks and formats the specification items) and `clang-format` in the pinned versions. The lock file pins every package with its hashes, so a replaced upload on PyPI fails the install. `.gitlab/requirements-format.txt` is exported from the lock without `clang-format` for the FreeBSD CI runners, which have no `uv`. See administration/integration!1. **Review hints:** - Refresh the export with the command in the header of `.gitlab/requirements-format.txt`. ## Test `uv sync`, and `pip install --require-hashes -r .gitlab/requirements-format.txt` on Linux. `specverify spec` takes 2 s. ## AI Details <!-- Make sure you have read our statement at https://www.rtems.org/generative-ai/ --> ### Prompt used None as a single prompt. Interactive Claude Code session: pin the format tools of the RTEMS tree and check the specification items in the CI. I directed and reviewed every change. ### AI model used Claude Opus 5.5 (claude-opus-5-5), through Claude Code. ### How AI was used for the contribution - ( ) Formatting - ( ) Test creation. - ( ) Code comments. - ( ) The entire contribution was generated using AI - ( ) AI code completion such as Copilot in VSCode. The session wrote the change and the commit message under my direction and ran the local tests. ### Access I have legitimate access to the tool, and it claims no copyright in its output. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1587 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-9v19tpar770i94bh00b4hhw1p-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
