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: MAINTAINERS.md
+24-7Lines changed: 24 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,9 @@ We name bugfixes as "bugfix/ISSUENUMBER_shortname"; features are named "feature/
87
87
Cutting a New Release
88
88
=====================
89
89
90
-
Releases for dpath occur automatically from travis-ci based on tags on the master branch, or on the version/[0-9].x branches for major version LTS.
90
+
Releases for dpath occur automatically from Github Actions based on version changes on the master branch.
91
+
92
+
Due to legacy reasons older tag names do not follow a uniform format:
91
93
92
94
akesterson@akesterson:~/dpath-python$ git tag
93
95
1.0-0
@@ -108,18 +110,33 @@ Releases for dpath occur automatically from travis-ci based on tags on the maste
108
110
build,1.5,0
109
111
build,2.0,0
110
112
111
-
Once upon a time, the version string was automatially computed based on the content of these tags. Now, however, the version string is stored statically in dpath/version.py
113
+
Moving forward version numbers and tag names will be identical and follow the standard semver format.
114
+
115
+
The version string is stored in `dpath/version.py` and tag names/release versions are generated using this string.
1. Commit a new dpath/version.py on the appropriate branch with the format "MAJOR.MINOR.RELEASE"
119
-
2.Add a new tag of the form "build,MAJOR.MINOR,RELEASE" to the appropriate branch. This tag must have the same version number as the one commmited in dpath/version.py or we will fill your desk drawers with cockroaches.
120
-
3. Push the new branch version and the associated tag to github.
121
-
4. travis-ci SHOULD push the new release to pypi.
122
+
1. Commit a new `dpath/version.py` on the appropriate branch with the format "MAJOR.MINOR.RELEASE".
123
+
2.Github Actions SHOULD push the new release to PyPI on merge to `master`.
124
+
125
+
See `.github/workflows/deploy.yml` for more information.
122
126
123
-
If travis-ci fails to update pypi, follow the instructions on manually creating a release, here:
127
+
If the Github workflow fails to update pypi, follow the instructions on manually creating a release, here:
Deployment CI was previously implemented using [Travis CI](https://travis-ci.org/github/akesterson/dpath-python).
132
+
133
+
Running Tests
134
+
=============
135
+
136
+
Tests are managed using [tox](https://tox.readthedocs.io/en/latest/).
137
+
138
+
Environment creation and dependency installation is managed by this tool, all one has to do is install it with `pip` and run `tox` in this repo's root directory.
139
+
140
+
Tests can also be run with Github Actions via the [tests.yml](https://github.com/dpath-maintainers/dpath-python/actions/workflows/tests.yml) workflow.
141
+
142
+
This workflow will run automatically on pretty much any commit to any branch of this repo but manual runs are also available.
0 commit comments