Skip to content

Commit 51914f4

Browse files
committed
Use attribution for version/changelog
1 parent d609180 commit 51914f4

File tree

4 files changed

+95
-1
lines changed

4 files changed

+95
-1
lines changed

CHANGELOG.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
diff-match-patch
2+
================
3+
4+
[![Generated by attribution][attribution-badge]][attribution-url]
5+
6+
7+
v20200713
8+
---------
9+
10+
Maintenance release
11+
12+
- Pulls in upstream change to use raw strings for regex
13+
- Updates to how the package builds, tests, and runs lint
14+
- Uses PEP 517/518 metadata for build requirements/backend
15+
- Formatting improvements, including use of isort
16+
17+
```text
18+
$ git shortlog -s v20181111...v20200713
19+
15 Amethyst Reese
20+
1 Stuart Prescott
21+
```
22+
23+
24+
v20181111
25+
---------
26+
27+
Version v20181111:
28+
29+
- Rename module to diff-match-patch to supercede existing PyPI module
30+
- Match existing module version scheme
31+
- Update readme, tests, etc for import names
32+
33+
```text
34+
$ git shortlog -s v2018.11.06.1...v20181111
35+
3 Amethyst Reese
36+
```
37+
38+
39+
v2018.11.06.1
40+
-------------
41+
42+
Bug fix v2018.11.06.1:
43+
44+
- Remove pathlib import from setup.py to fix py2 builds
45+
46+
```text
47+
$ git shortlog -s v2018.11.06...v2018.11.06.1
48+
2 Amethyst Reese
49+
```
50+
51+
52+
v2018.11.06
53+
-----------
54+
55+
Release v2018.11.06:
56+
57+
- Add support for Python 2.7 using conditional imports.
58+
Includes the upstream python2 implementation and tests,
59+
and selects them at import time as appropriate.
60+
61+
```text
62+
$ git shortlog -s v2018.11.05...v2018.11.06
63+
5 Amethyst Reese
64+
```
65+
66+
67+
v2018.11.05
68+
-----------
69+
70+
Initial release v2018.11.05
71+
72+
```text
73+
$ git shortlog -s v2018.11.05
74+
3 Amethyst Reese
75+
```
76+
77+
[attribution-badge]:
78+
https://img.shields.io/badge/generated%20by-attribution-informational
79+
[attribution-url]: https://attribution.omnilib.dev
80+

diff_match_patch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Offers robust algorithms to perform the operations required for synchronizing plain text.
55
"""
66

7+
from .__version__ import __version__
78
from .diff_match_patch import __author__, __doc__, diff_match_patch, patch_obj
89

9-
__version__ = "20200713"
1010
__packager__ = "Amethyst Reese (amy@noswap.com)"

diff_match_patch/__version__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""
2+
This file is automatically generated by attribution.
3+
4+
Do not edit manually. Get more info at https://attribution.omnilib.dev
5+
"""
6+
7+
__version__ = "20200713"

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ dependencies = []
2525

2626
[project.optional-dependencies]
2727
dev = [
28+
"attribution==1.6.2",
2829
"black==23.3.0",
2930
"flit==3.8.0",
3031
"mypy==1.2.0",
@@ -39,3 +40,9 @@ Github = "https://github.com/diff-match-patch-python/diff-match-patch"
3940
exclude = [
4041
".github/",
4142
]
43+
44+
[tool.attribution]
45+
name = "diff-match-patch"
46+
package = "diff_match_patch"
47+
signed_tags = true
48+
version_file = true

0 commit comments

Comments
 (0)