You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-62Lines changed: 48 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,20 @@
1
-
# Git Commit Quality Monitor
1
+
# Git Commit Quality Monitor v2
2
2
3
3
A smart Telex integration that helps teams maintain high-quality git commit messages using ML-powered analysis and real-time feedback.
4
4
5
5
## Overview
6
6
7
7
Git Commit Quality Monitor analyzes commit messages in real-time, providing instant feedback on commit quality and suggestions for improvement. It uses machine learning to understand commit patterns and provides customized suggestions based on conventional commit standards and the development team's preferences.
8
8
9
+
## Version Notes
10
+
11
+
-**v2 (current)**: Simplified architecture with pre-configured analysis rules
12
+
-**v1-legacy**: Available in v1-legacy branch, supports configurable commit rules and dynamic analyzer settings
13
+
9
14
### Key Features
10
15
11
16
- ⚡️ Real-time feedback through Slack
12
-
- 🎯 Customizable commit rules/conventions
17
+
- 🎯 Pre-configured commit standards based on conventional commits
13
18
- 🔄 GitHub webhook integration
14
19
- 🎨 Telex integration support
15
20
- 🤖 Smart ML-powered commit message analysis and suggestions
Receives commit messages from Telex and sends analysis results to slack.
186
+
Receives commit messages from Telex and forwards to slack.
179
187
180
188
### Integration Config
181
189
```
182
190
GET /integration.json
183
191
```
184
192
Returns integration configuration for Telex.
185
193
186
-
### Customizing Commit Analysis
187
-
188
-
You can customize the analyzer through Telex integration settings:
189
-
190
-
#### Commit Types
191
-
```json
192
-
{
193
-
"feat": ["add", "implement", "new"],
194
-
"fix": ["fix", "resolve", "patch"]
195
-
}
196
-
```
197
-
198
-
#### Example Commits
199
-
```json
200
-
{
201
-
"feat": "feat(auth): implement OAuth2 with role-based access\n\nImplemented OAuth2 protocol with role-based control to enhance security and scalability.",
202
-
"fix": "fix(api): resolve data race in concurrent requests\n\nFixed a race condition by adding synchronization mechanisms to prevent concurrent data modifications."
203
-
}
204
-
```
205
-
206
-
#### Training Data
207
-
```json
208
-
{
209
-
"feat": [
210
-
"feat(auth): implement JWT authentication flow\n\nImplemented JWT-based authentication with token expiration handling to secure user sessions.",
211
-
"feat(ui): add dark mode toggle with system preference detection\n\nAdded dark mode toggle that automatically adjusts based on system settings for improved user experience.",
Copy file name to clipboardExpand all lines: src/config/integration_config.py
+1-23Lines changed: 1 addition & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,10 @@ def generate_json_config():
21
21
"integration_type": "output",
22
22
"key_features": [
23
23
"Smart commit message analysis with ML-powered suggestions",
24
-
"Customizable commit rules that fit any team's style",
25
24
"Instant notifications when commits need attention",
26
25
"Easy setup with pre-configured commit patterns"
27
26
],
28
-
"website": settings.app_logo_url,
27
+
"website": settings.app_url,
29
28
"author": "iamprecieee",
30
29
"settings": [
31
30
{
@@ -34,27 +33,6 @@ def generate_json_config():
34
33
"required": True,
35
34
"description": "Slack Webhook URL",
36
35
"default": "https://slack.com"
37
-
},
38
-
{
39
-
"label": "commit_types",
40
-
"type": "text",
41
-
"required": False,
42
-
"description": "Provide custom commit types mapped to keywords that indicate type of change. Format: {'type': ['keyword1', 'keyword2']}. Example: {'docs': ['document', 'readme']} means commits with 'document' or 'readme' suggest documentation changes.",
"description": "Set example commits for each custom commit type to guide new devs. These appear in suggestions when similar commits need fixing. Format: {'type1': 'example message1', 'type2': 'example message 2'}.",
50
-
"default": "{'feat': 'feat(auth): implement OAuth2 with role-based access\n\nImplemented OAuth2 protocol with role-based control to enhance security and scalability.', 'fix': 'fix(api): resolve data race in concurrent requests\n\nFixed a race condition by adding synchronization mechanisms to prevent concurrent data modifications.'}"
51
-
},
52
-
{
53
-
"label": "training_data",
54
-
"type": "text",
55
-
"required": False,
56
-
"description": "Add custom data to train the analyzer with commits that match preferred style. More examples = better suggestions. Format: {'type1': ['example1', 'example2'], 'type2': ['example3', 'example4']}. The analyzer learns from these to better match preferred conventions.",
57
-
"default": "{'feat': ['feat(auth): implement OAuth2 with role-based access\n\nImplemented OAuth2 protocol with role-based control to enhance security and scalability.','feat(search): implement elasticsearch integration\n\nIntegrated Elasticsearch to boost search performance and enhance result accuracy.']}"
0 commit comments