GitLab | Add a bot to enforce commit message line length and formatting. (#64)

Amar Takhar (@amar) gitlab at rtems.org
Tue Jul 2 02:35:12 UTC 2024



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

Assignee: Amar Takhar

This MR and commit snuck through:

* https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/acf12498cf00ab469e8139c55515f3b3c46cc5ac
* https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/100

If you tab over to commits there are three dots `...` beside the commit title which if clicked trees down the rest of the commit message.. wrapped.

It cuts the title off at 72 characters however after merge you see: 

* **add rtems_counting_semaphore_wait_timed_ticks and rtems_counting_semaphore_try_wait for self-contained object counting semaphore**

There is no obvious way to tell if the message has been edited.  GitLab does not update MR titles and contents if you re-push a commit and it chops off the title.  I had thought the commit had been edited but it had not so it was merged.

We need a bot to check for title and line lengths.

-- 
View it on GitLab: https://gitlab.rtems.org/administration/gitlab/-/issues/64
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/20240702/645e2717/attachment.htm>


More information about the bugs mailing list