Commit graph

6 commits

Author SHA1 Message Date
Joey Riches
2bc1e055a0 common/Hooks: Auto-generate commit msg from "autocommitmsg" with -m flag
Helps with scriptability for large stack updates and will attempt to autowrite the commit message without needing to open up the editor.

e.g. git commit -m "autocommitmsg" -> "nano: Update to v1.2.3"

Use with caution as not all cases are handled, notably "Rebuild against
libfoo" is not currently.
2025-03-19 11:18:00 +00:00
Rune Morling
5239c325f8
Hooks: Add 'v' for 'version' to commit messages
Signed-off-by: Rune Morling <ermo@serpentos.com>
2024-10-20 18:31:42 +02:00
Joey Riches
a309f8da61
common/Hooks: Add support for 'Add at' and '[NFC]' commits
**Summary**
- Set commit title to 'Add at v(...)` for initial package inclusion
- Add [NFC] before non functional changes when the package isn't rebuilt

Thank you to to @joebonrichie for implementing this.

Signed-off-by: Rune Morling <ermo@serpentos.com>
2024-10-20 17:52:13 +02:00
Joey Riches
66a223d8bf common/Hooks: Pre-fill update info in commit msg
- e.g. nano: Update to 1.2.3
2024-08-10 15:50:36 +01:00
Silke Hofstra
fae0cf3877 hooks/pre-commit: Show output from package checks
**Summary**

Show the output from the package checks so the committer is aware that there are warnings or
informational messages for the package.
2024-03-31 18:44:21 +02:00
Silke Hofstra
0b4b9f1982 repo: add Git hooks 2023-10-18 20:31:58 +02:00