changes-semver 6.0.3__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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021-2024 Jason Morley
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: changes-semver
3
+ Version: 6.0.3
4
+ Author-email: Jason Morley <hello@jbmorley.co.uk>
5
+ License-Expression: MIT
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: jinja2
9
+ Requires-Dist: pyyaml
10
+ Dynamic: license-file
11
+
12
+ # Changes
13
+
14
+ [![Build](https://github.com/jbmorley/changes/actions/workflows/test.yaml/badge.svg)](https://github.com/jbmorley/changes/actions/workflows/test.yaml)
15
+
16
+ Lightweight and (hopefully) unopinionated tool for working with [Conventional Commits](https://www.conventionalcommits.org/) and [Semantic Versioning](https://semver.org).
17
+
18
+ ## Overview
19
+
20
+ Many of the SemVer tools out there force very specific workflows that I found hard to adopt in my own projects. Changes attempts to provide a collection of tools that fit into your own project lifecycle.
21
+
22
+ ## Installation
23
+
24
+ ```bash
25
+ git clone git@github.com:jbmorley/changes.git
26
+ cd changes
27
+ pipenv install
28
+ ```
29
+
30
+ ## Usage
31
+
32
+ ```bash
33
+ changes --help
34
+ ```
35
+
36
+ You can also find out details of specific sub-commands by passing the `--help` flag directly to those commands. For example,
37
+
38
+ ```bash
39
+ changes release --help
40
+ ```
41
+
42
+ ## Development
43
+
44
+ ### Tests
45
+
46
+ Run tests locally using the `test.sh` script:
47
+
48
+ ```bash
49
+ ./scripts/test.sh
50
+ ```
51
+
52
+ You can run a specific test by specifying the test class on the command line:
53
+
54
+ ```bash
55
+ ./scripts/test.sh test_cli.CLITestCase.test_version_multiple_changes_yield_single_increment
56
+ ```
@@ -0,0 +1,45 @@
1
+ # Changes
2
+
3
+ [![Build](https://github.com/jbmorley/changes/actions/workflows/test.yaml/badge.svg)](https://github.com/jbmorley/changes/actions/workflows/test.yaml)
4
+
5
+ Lightweight and (hopefully) unopinionated tool for working with [Conventional Commits](https://www.conventionalcommits.org/) and [Semantic Versioning](https://semver.org).
6
+
7
+ ## Overview
8
+
9
+ Many of the SemVer tools out there force very specific workflows that I found hard to adopt in my own projects. Changes attempts to provide a collection of tools that fit into your own project lifecycle.
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ git clone git@github.com:jbmorley/changes.git
15
+ cd changes
16
+ pipenv install
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ changes --help
23
+ ```
24
+
25
+ You can also find out details of specific sub-commands by passing the `--help` flag directly to those commands. For example,
26
+
27
+ ```bash
28
+ changes release --help
29
+ ```
30
+
31
+ ## Development
32
+
33
+ ### Tests
34
+
35
+ Run tests locally using the `test.sh` script:
36
+
37
+ ```bash
38
+ ./scripts/test.sh
39
+ ```
40
+
41
+ You can run a specific test by specifying the test class on the command line:
42
+
43
+ ```bash
44
+ ./scripts/test.sh test_cli.CLITestCase.test_version_multiple_changes_yield_single_increment
45
+ ```
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env python3
2
+
3
+ # Copyright (c) 2021-2024 Jason Morley
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
23
+ from . import *
@@ -0,0 +1,13 @@
1
+ import os
2
+ import sys
3
+
4
+ if not __package__:
5
+ # Make CLI runnable from source tree with
6
+ # python src/package
7
+ package_source_path = os.path.dirname(os.path.dirname(__file__))
8
+ sys.path.insert(0, package_source_path)
9
+
10
+
11
+ if __name__ == "__main__":
12
+ from changes_semver.changes import main
13
+ main()