Re: Integration | How do we want to format our commit messages (#14)

2025-01-31 Thread Amar Takhar (@amar)


Issue was closed by Amar Takhar
Issue #14: https://gitlab.rtems.org/administration/integration/-/issues/14

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


___
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Re: Integration | How do we want to format our commit messages (#14)

2025-01-31 Thread Amar Takhar (@amar)



Amar Takhar commented: 
https://gitlab.rtems.org/administration/integration/-/issues/14#note_118960


Calling this complete the tool is up and running on our CI.

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


___
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Re: Integration | How do we want to format our commit messages (#14)

2024-11-20 Thread Amar Takhar (@amar)



Amar Takhar commented: 
https://gitlab.rtems.org/administration/integration/-/issues/14#note_115381


@gedare so do we want to enforce `:` in commit titles?  If so, can they have 
spaces?  how long can it be christian suggested a 50 char overall line length 
for subjects.

I'll follow as much as I can for the guidance at least we have a commit log 
history to run through it for testing.

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


___
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Re: Integration | How do we want to format our commit messages (#14)

2024-11-20 Thread Kinsey Moore (@opticron)



Kinsey Moore commented: 
https://gitlab.rtems.org/administration/integration/-/issues/14#note_115277


For the time being, you can just check to see if there's a tag there at all at 
the beginning of the commit subject. The full tag doesn't always correspond to 
an exact path anyway and so if you tried to do that you'd only be validating 
the first path element of the tag.

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


___
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Re: Integration | How do we want to format our commit messages (#14)

2024-11-20 Thread Christian Mauderer (@c-mauderer)



Christian Mauderer commented: 
https://gitlab.rtems.org/administration/integration/-/issues/14#note_115275


For the line length of the subject, I would more or less just use the official 
recommendation from the git [man 
page](https://git-scm.com/docs/git-commit#_discussion). That would be 50 
characters.

For the line length of the body I haven't found a statement from the official 
git documentation. But I think most of the time 72 characters are used. A lot 
of tools that I worked with seem to follow that convention and use that length 
if they format a message.

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


___
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Integration | How do we want to format our commit messages (#14)

2024-11-20 Thread Amar Takhar (@amar)


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

Assignee: Amar Takhar

I want to add CI to do commit message formatting so we'll have:

1. Spell check
2. Line length for subject
3. One space below subject
4. Line length for commit body

I think it's too hard for now to automatically scrape for the \: 
subject  .. I'll see if I can figure something out eventually based off of the 
file list I'll need some time to think about it but I don't want it to be a 
blocker.

Any other suggestions?

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


___
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Re: Integration | How do we want to format our commit messages (#14)

2024-11-20 Thread Gedare Bloom (@gedare)



Gedare Bloom commented: 
https://gitlab.rtems.org/administration/integration/-/issues/14#note_115293


Please align with 
https://docs.rtems.org/docs/main/eng/vc-users.html#commit-message-guidance. 
Where variance is decided we need to discuss and then document it there.

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


___
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs