Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check commits #113

Merged
merged 2 commits into from
Mar 28, 2024
Merged

Check commits #113

merged 2 commits into from
Mar 28, 2024

Conversation

rjarry
Copy link
Collaborator

@rjarry rjarry commented Mar 27, 2024

No description provided.

Copy link
Collaborator

@samuel-gauthier samuel-gauthier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we mention this in the project README? Otherwise, looks good to me.

@rjarry
Copy link
Collaborator Author

rjarry commented Mar 27, 2024

Good point. I will update the readme with the commit message rules.

Unfortunately Github does not allow commenting on commit messages
directly. At least perform basic checks to enforce our rules:

* titles should be less than 72 characters
* titles should start with a short lower case prefix to mention the
  "topic" of the commit.
* no capitalization nor punctuation in the commit title
* all commits should have English prose describing the changes.
* all commits should be signed-off-by their author (git commit -s).
* the list of sanctioned commit trailers is enforced.
* referencing github issues/pull_requests must be done via full urls.
* referenced commit ids must be valid.

Signed-off-by: Robin Jarry <[email protected]>
The proper indent_style value is "tab" not "tabs".

Signed-off-by: Robin Jarry <[email protected]>
@rjarry
Copy link
Collaborator Author

rjarry commented Mar 28, 2024

I have made the same changes as here: sysrepo/sysrepo-python#64

@samuel-gauthier
Copy link
Collaborator

Approved!

@rjarry rjarry merged commit 2e6261a into master Mar 28, 2024
24 of 26 checks passed
@rjarry rjarry deleted the check-commits branch March 28, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants