commitmate 1.0.0__tar.gz → 1.0.1__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.
@@ -0,0 +1,33 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*.*.*"
7
+
8
+ jobs:
9
+ build-and-publish:
10
+ runs-on: ubuntu-latest
11
+ environment:
12
+ name: pypi
13
+ url: https://pypi.org/p/commitmate
14
+ permissions:
15
+ id-token: write
16
+
17
+ steps:
18
+ - name: Check out repository
19
+ uses: actions/checkout@v4
20
+
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: "3.11"
25
+
26
+ - name: Install build tool
27
+ run: pip install build
28
+
29
+ - name: Build distribution
30
+ run: python -m build
31
+
32
+ - name: Publish to PyPI
33
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitmate
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Generates Conventional Commits-style messages from staged git diffs using a local Ollama model.
5
5
  Project-URL: Homepage, https://github.com/theishanpathak/commitmate
6
6
  Author: Ishan Pathak
@@ -39,7 +39,19 @@ Writing good commit messages consistently is tedious, and generic "wip" or "fix
39
39
 
40
40
  ## Installation
41
41
 
42
- Clone the repo and install it as an editable local package:
42
+ ### For users
43
+
44
+ Install directly from PyPI:
45
+
46
+ ```bash
47
+ pip install commitmate
48
+ ```
49
+
50
+ This registers a `commitmate` command on your system, callable from any git repository.
51
+
52
+ ### For developers / contributors
53
+
54
+ If you want to modify the source, run tests, or contribute:
43
55
 
44
56
  ```bash
45
57
  git clone https://github.com/theishanpathak/commitmate.git
@@ -47,7 +59,7 @@ cd commitmate
47
59
  pip install -e .
48
60
  ```
49
61
 
50
- This registers a `commitmate` command on your system, callable from any git repository.
62
+ The `-e` (editable) install links the `commitmate` command back to your local source files, so any changes you make take effect immediately without reinstalling.
51
63
 
52
64
  ## Usage
53
65
 
@@ -107,6 +119,17 @@ If the model's response fails validation (wrong type, description too short, mal
107
119
 
108
120
  (See `requirements.txt`.)
109
121
 
122
+ ## Contributing
123
+
124
+ Contributions are welcome. After cloning and installing with `pip install -e .` (see Installation above), you can make changes and test them immediately with the `commitmate` command, no reinstall needed.
125
+
126
+ If you want to build the distributable package yourself:
127
+ ```bash
128
+ pip install build
129
+ python -m build
130
+ ```
131
+ This produces a `.whl` and `.tar.gz` in `dist/`, which you can install into a fresh virtual environment to verify the packaging is correct before opening a PR.
132
+
110
133
  ## Author
111
134
 
112
135
  Ishan Pathak
@@ -27,7 +27,19 @@ Writing good commit messages consistently is tedious, and generic "wip" or "fix
27
27
 
28
28
  ## Installation
29
29
 
30
- Clone the repo and install it as an editable local package:
30
+ ### For users
31
+
32
+ Install directly from PyPI:
33
+
34
+ ```bash
35
+ pip install commitmate
36
+ ```
37
+
38
+ This registers a `commitmate` command on your system, callable from any git repository.
39
+
40
+ ### For developers / contributors
41
+
42
+ If you want to modify the source, run tests, or contribute:
31
43
 
32
44
  ```bash
33
45
  git clone https://github.com/theishanpathak/commitmate.git
@@ -35,7 +47,7 @@ cd commitmate
35
47
  pip install -e .
36
48
  ```
37
49
 
38
- This registers a `commitmate` command on your system, callable from any git repository.
50
+ The `-e` (editable) install links the `commitmate` command back to your local source files, so any changes you make take effect immediately without reinstalling.
39
51
 
40
52
  ## Usage
41
53
 
@@ -95,6 +107,17 @@ If the model's response fails validation (wrong type, description too short, mal
95
107
 
96
108
  (See `requirements.txt`.)
97
109
 
110
+ ## Contributing
111
+
112
+ Contributions are welcome. After cloning and installing with `pip install -e .` (see Installation above), you can make changes and test them immediately with the `commitmate` command, no reinstall needed.
113
+
114
+ If you want to build the distributable package yourself:
115
+ ```bash
116
+ pip install build
117
+ python -m build
118
+ ```
119
+ This produces a `.whl` and `.tar.gz` in `dist/`, which you can install into a fresh virtual environment to verify the packaging is correct before opening a PR.
120
+
98
121
  ## Author
99
122
 
100
123
  Ishan Pathak
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "commitmate"
3
- version = "1.0.0"
3
+ version = "1.0.1"
4
4
  description = "Generates Conventional Commits-style messages from staged git diffs using a local Ollama model."
5
5
  readme = "README.md"
6
6
  license = "MIT"
File without changes
File without changes
File without changes