Sebastian Huber created a merge request: https://gitlab.rtems.org/administration/integration/-/merge_requests/1
Project:Branches: sebhub/administration-integration:format-specverify to administration/integration:main Author: Sebastian Huber ## Summary Related: rtems/rtos/rtems#5783 **Problem:** The `format` stage runs `yamlfmt` on the RTEMS specification items. Its output differs from the item format which the type specification of the items defines. For example, it drops an explicit `null`, see rtems/rtos/rtems!1122. **Fix:** A project which carries `.gitlab/requirements-format.txt` gets its `spec/` checked by `specverify`. The job installs the tool with `pip --require-hashes` from that file, so each branch pins its own version. `yamlfmt` skips `spec/` there. Other projects see no change. **Review hints:** - The job needs Python 3.11 or later in `$RTEMS_PATH_PYTHON` and access to PyPI on the runner. Is that the case? - A finding is reported like a `yamlfmt` finding: exit code 65, only the lines which the MR changes. ## Test I ran the stage commands locally against the branch `up/format-tools` of sebhub/rtems, which adds the file. An MR without item changes exits with 0. An MR which touches an unformatted item exits with 65 and reports that item. ## 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/administration/integration/-/merge_requests/1 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/75/sent_notifications/6-3uge4ln71s38wnpq1fvpb1q6o-23/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
