Integration | Source code formatting locations. (#24)

Amar Takhar (@amar) gitlab at rtems.org
Thu Aug 28 20:33:29 UTC 2025



Amar Takhar created an issue: https://gitlab.rtems.org/administration/integration/-/issues/24



Currently we're running CI using a general type of RTEMS formatting for everything.

1. We want to keep the old style RTEMS specifically for files that aren't worth reformatting.
2. New files should go under a "general clang format"
3. We will also want to reformat some areas where it's worthwhile going forward to have them under a new format it's better to rip the bandaid off.

The goal is to have as much under modern "default" formatting as possible so users can use the default settings in their IDE or easilly find a 'clang' format that works.

I will create a new tool that uses a `format.toml` file to hold the formatting data on which formatting to use for what files.  This means MRs will need to have the formatter run multiple times.  We will only have 2 formats.  old-style RTEMS and whatever we pick for the "default clang".

-- 
View it on GitLab: https://gitlab.rtems.org/administration/integration/-/issues/24
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250828/de7f936e/attachment.htm>


More information about the bugs mailing list