Skip to content

Conversation

@ypcs
Copy link
Contributor

@ypcs ypcs commented Dec 18, 2025

This sets Impact: as required line in git commit messages. Goal is to make versioning easier, as each separate commit always defines it's impact on the overall stack.

With this change, it should be easy to just read this line from all commits since previous version tag to see what would be the proper new version tag.

Impact: major
Related: ICA-38
Closes: SGE-2228

@ypcs ypcs requested a review from Lemminkyinen December 18, 2025 08:00
@ypcs ypcs self-assigned this Dec 18, 2025
@ypcs ypcs force-pushed the feature/impact branch 4 times, most recently from 2c8d369 to 5cae8fb Compare December 18, 2025 09:24
@ypcs ypcs force-pushed the feature/impact branch 7 times, most recently from 6f4a928 to 18fc242 Compare December 18, 2025 10:46
@ypcs ypcs changed the title WIP Enforce defining impacts Enforce defining impacts Dec 18, 2025
@ypcs ypcs requested a review from Lemminkyinen December 18, 2025 10:47
@ypcs ypcs marked this pull request as ready for review December 18, 2025 10:47
This sets `Impact:` as required line in git commit messages. Goal is to
make versioning easier, as each separate commit always defines it's
impact on the overall stack.

With this change, it should be easy to just read this line from all
commits since previous version tag to see what would be the proper new
version tag.

Note: As pytest does not support executing parametrized tests when
classes are based on top of unittest base classes, test cases have been
duplicated manually.

Gitlint base test suite (base.py) is imported from external repository,
and Ruff is configured to ignore most of the issues with that file.

Source: https://github.com/jorisroovers/gitlint/blob/4d9119760056492eabc201bfad5de2f9e660b85f/gitlint-core/gitlint/tests/base.py
Commit: 4d9119760056492eabc201bfad5de2f9e660b85f
License: MIT

For more details about specs and features look for external
documentation.

See: https://docs.pytest.org/en/7.1.x/how-to/unittest.html#pytest-features-in-unittest-testcase-subclasses
See: https://semver.org/
See: https://jorisroovers.com/gitlint/latest/rules/user_defined_rules/

Impact: minor
Related: ICA-38
Closes: SGE-2228
@ypcs ypcs force-pushed the feature/impact branch 2 times, most recently from ff1e376 to 5185afa Compare December 18, 2025 11:05
@ypcs ypcs requested a review from simoke December 18, 2025 11:07
Copy link
Contributor

@Lemminkyinen Lemminkyinen left a comment

Choose a reason for hiding this comment

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

Looks good

@ypcs ypcs merged commit 5185afa into main Dec 19, 2025
9 of 12 checks passed
@ypcs ypcs deleted the feature/impact branch December 19, 2025 10:33
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.

3 participants