tgit 0.7.1__tar.gz → 0.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tgit-0.7.1 → tgit-0.8.0}/PKG-INFO +5 -5
- {tgit-0.7.1 → tgit-0.8.0}/pyproject.toml +9 -3
- {tgit-0.7.1 → tgit-0.8.0}/requirements-dev.lock +1 -1
- {tgit-0.7.1 → tgit-0.8.0}/requirements.lock +1 -1
- {tgit-0.7.1 → tgit-0.8.0}/tgit/commit.py +3 -3
- {tgit-0.7.1 → tgit-0.8.0}/.gitignore +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/.python-version +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/.tgit.yml +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/.vscode/settings.json +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/CHANGELOG.md +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/README.md +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/scripts/publish.sh +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/tgit/__init__.py +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/tgit/changelog.py +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/tgit/cli.py +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/tgit/settings.py +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/tgit/utils.py +0 -0
- {tgit-0.7.1 → tgit-0.8.0}/tgit/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: tgit
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Tool for Git Interaction Temptation (tgit): An elegant CLI tool that simplifies and streamlines your Git workflow, making version control a breeze.
|
|
5
5
|
Author-email: Jannchie <jannchie@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -13,11 +13,11 @@ Classifier: Topic :: Software Development :: Version Control
|
|
|
13
13
|
Classifier: Topic :: Utilities
|
|
14
14
|
Classifier: Typing :: Typed
|
|
15
15
|
Requires-Python: >=3.11
|
|
16
|
-
Requires-Dist: gitpython
|
|
17
|
-
Requires-Dist: inquirer
|
|
16
|
+
Requires-Dist: gitpython>=3.1.43
|
|
17
|
+
Requires-Dist: inquirer>=3.4.0
|
|
18
18
|
Requires-Dist: openai>=1.51.0
|
|
19
|
-
Requires-Dist: pyyaml
|
|
20
|
-
Requires-Dist: rich
|
|
19
|
+
Requires-Dist: pyyaml>=6.0.2
|
|
20
|
+
Requires-Dist: rich>=13.9.2
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
|
|
23
23
|
# tgit
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tgit"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.8.0"
|
|
4
4
|
description = "Tool for Git Interaction Temptation (tgit): An elegant CLI tool that simplifies and streamlines your Git workflow, making version control a breeze."
|
|
5
5
|
authors = [{ name = "Jannchie", email = "jannchie@gmail.com" }]
|
|
6
|
-
dependencies = [
|
|
7
|
-
|
|
6
|
+
dependencies = [
|
|
7
|
+
"rich>=13.9.2",
|
|
8
|
+
"pyyaml>=6.0.2",
|
|
9
|
+
"inquirer>=3.4.0",
|
|
10
|
+
"gitpython>=3.1.43",
|
|
11
|
+
"openai>=1.51.0",
|
|
12
|
+
]
|
|
13
|
+
readme = { content-type = "text/markdown", file = "README.md" }
|
|
8
14
|
requires-python = ">= 3.11"
|
|
9
15
|
classifiers = [
|
|
10
16
|
"Development Status :: 3 - Alpha",
|
|
@@ -12,7 +12,7 @@ from rich import print
|
|
|
12
12
|
from tgit.settings import settings
|
|
13
13
|
from tgit.utils import get_commit_command, run_command, type_emojis
|
|
14
14
|
|
|
15
|
-
commit_type = ["feat", "fix", "chore", "docs", "style", "refactor", "perf"]
|
|
15
|
+
commit_type = ["feat", "fix", "chore", "docs", "style", "refactor", "perf", "wip"]
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
def define_commit_parser(subparsers: argparse._SubParsersAction):
|
|
@@ -70,7 +70,7 @@ def get_ai_command() -> str | None:
|
|
|
70
70
|
messages=[
|
|
71
71
|
{
|
|
72
72
|
"role": "system",
|
|
73
|
-
"content": f"You are a git bot. You should read the diff and suggest a commit message. The type should be one of {types}. The message should in all lowercase.",
|
|
73
|
+
"content": f"You are a git bot. You should read the diff and suggest a commit message. The type should be one of {types}. The message should in all lowercase. The message should cover all the changes in the diff.",
|
|
74
74
|
},
|
|
75
75
|
{"role": "user", "content": diff},
|
|
76
76
|
],
|
|
@@ -108,7 +108,7 @@ def handle_commit(args: CommitArgs):
|
|
|
108
108
|
commit_scope = None
|
|
109
109
|
commit_msg = messages[1]
|
|
110
110
|
if commit_type not in choices:
|
|
111
|
-
print(f"Invalid type: {
|
|
111
|
+
print(f"Invalid type: {commit_type}")
|
|
112
112
|
print(f"Valid types: {choices}")
|
|
113
113
|
return
|
|
114
114
|
use_emoji = args.emoji
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|