stable
Clone or download
Read-only
Implements request #40063 Artifact closing on reference with conventionnal commit The regex matching references matches context word of references with `\w+` which not match `:`. By adding an optional `:?` the regex can now match context words of conventional commits. Currently handled: - feat: -> considered as implements - fix: -> considered as fixes - chore: -> considered as closes *Testing:* Commit to a repository with this message: feat: art #123 It should closes artifact 123. Change-Id: I283fc8a3de79a0f0601ab3bc6548db35c7519c98
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/Closure/ClosingKeyword.php | +4 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Artifact/Closure/ArtifactClosingReferencesHandlerTest.php | +1 | −1 | Go to diff View file |
M | src/common/Reference/ReferenceManager.php | +1 | −1 | Go to diff View file |
M | tests/unit/common/Reference/ReferenceManagerTest.php | +6 | −0 | Go to diff View file |