Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Version 2.9.1 (WIP)
Features
--------

* :gh:`177` (:pr:`178`): Fixed repository and CI links (moved https://github.com/k-bx/python-semver/ repository to https://github.com/python-semver/python-semver/)

Bug Fixes
---------

Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ There are other functions to discover. Read on!
.. |latest-version| image:: https://img.shields.io/pypi/v/semver.svg
:alt: Latest version on PyPI
:target: https://pypi.org/project/semver
.. |build-status| image:: https://travis-ci.org/k-bx/python-semver.svg?branch=master
.. |build-status| image:: https://travis-ci.com/python-semver/python-semver.svg?branch=master
:alt: Build status
:target: https://travis-ci.org/k-bx/python-semver
:target: https://travis-ci.com/python-semver/python-semver
.. |python-support| image:: https://img.shields.io/pypi/pyversions/semver.svg
:target: https://pypi.org/project/semver
:alt: Python versions
Expand All @@ -108,7 +108,7 @@ There are other functions to discover. Read on!
:target: https://pypi.org/project/semver
.. |license| image:: https://img.shields.io/pypi/l/semver.svg
:alt: Software license
:target: https://github.com/k-bx/python-semver/blob/master/LICENSE.txt
:target: https://github.com/python-semver/python-semver/blob/master/LICENSE.txt
.. |docs| image:: https://readthedocs.org/projects/python-semver/badge/?version=latest
:target: http://python-semver.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@

# Markup to shorten external links
# See https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
extlinks = {'gh': ('https://github.com/k-bx/python-semver/issues/%s',
extlinks = {'gh': ('https://github.com/python-semver/python-semver/issues/%s',
'#'),
'pr': ('https://github.com/k-bx/python-semver/pull/%s',
'pr': ('https://github.com/python-semver/python-semver/pull/%s',
'PR #'),
}

Expand Down
8 changes: 4 additions & 4 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributing to semver

The semver source code is managed using Git and is hosted on GitHub::

git clone git://github.com/k-bx/python-semver
git clone git://github.com/python-semver/python-semver


Reporting Bugs and Feedback
Expand Down Expand Up @@ -41,7 +41,7 @@ Modifying the Code
We recommend the following workflow:

#. Fork our project on GitHub using this link:
https://github.com/k-bx/python-semver/fork
https://github.com/python-semver/python-semver/fork

#. Clone your forked Git repository (replace ``GITHUB_USER`` with your
account name on GitHub)::
Expand Down Expand Up @@ -185,8 +185,8 @@ documentation includes:


.. _flake8: https://flake8.readthedocs.io
.. _issues: https://github.com/k-bx/python-semver/issues
.. _pull request: https://github.com/k-bx/python-semver/pulls
.. _issues: https://github.com/python-semver/python-semver/issues
.. _pull request: https://github.com/python-semver/python-semver/pulls
.. _pytest: http://pytest.org/
.. _Semantic Versioning: https://semver.org
.. _Sphinx style: https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html
Expand Down
20 changes: 10 additions & 10 deletions release-procedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
Release procedure
#################

* Verify that issues about new release are closed https://github.com/k-bx/python-semver/issues and verify that no pull requests that should be included in this release haven't been left out https://github.com/k-bx/python-semver/pulls
* Verify that issues about new release are closed https://github.com/python-semver/python-semver/issues and verify that no pull requests that should be included in this release haven't been left out https://github.com/python-semver/python-semver/pulls

* Verify that continuous integration for latest build was passing https://travis-ci.org/k-bx/python-semver
* Verify that continuous integration for latest build was passing https://travis-ci.com/python-semver/python-semver

* Verify that `__version__` in [semver.py](https://github.com/k-bx/python-semver/blob/master/semver.py) have been updated and follow https://semver.org/
* Verify that `__version__` in [semver.py](https://github.com/python-semver/python-semver/blob/master/semver.py) have been updated and follow https://semver.org/

* Verify that [CHANGELOG](https://github.com/k-bx/python-semver/blob/master/CHANGELOG.rst) have been updated. No WIP should be present in CHANGELOG during release!
* Verify that [CHANGELOG](https://github.com/python-semver/python-semver/blob/master/CHANGELOG.rst) have been updated. No WIP should be present in CHANGELOG during release!

* If one or several supported Python versions have been removed or added, verify that the 3 following files have been updated:
* [setup.py](https://github.com/k-bx/python-semver/blob/master/setup.py)
* [tox.ini](https://github.com/k-bx/python-semver/blob/master/tox.ini)
* [.travis.yml](https://github.com/k-bx/python-semver/blob/master/.travis.yml)
* [setup.py](https://github.com/python-semver/python-semver/blob/master/setup.py)
* [tox.ini](https://github.com/python-semver/python-semver/blob/master/tox.ini)
* [.travis.yml](https://github.com/python-semver/python-semver/blob/master/.travis.yml)

* Verify that doc reflecting new changes have been updated and are available at https://python-semver.readthedocs.io/en/latest/ If necessary, trigger doc build at https://readthedocs.org/projects/python-semver/

* Add eventually new contributor(s) to [CONTRIBUTORS](https://github.com/k-bx/python-semver/blob/master/CONTRIBUTORS)
* Add eventually new contributor(s) to [CONTRIBUTORS](https://github.com/python-semver/python-semver/blob/master/CONTRIBUTORS)

* Ensure that long description (ie [README.rst](https://github.com/k-bx/python-semver/blob/master/README.rst)) can be correctly rendered by Pypi using `restview --long-description`
* Ensure that long description (ie [README.rst](https://github.com/python-semver/python-semver/blob/master/README.rst)) can be correctly rendered by Pypi using `restview --long-description`

* Upload to PyPI

Expand All @@ -38,4 +38,4 @@ git tag -a x.x.x -m 'Version x.x.x'
git push python-semver master --tags
```

or using GitHub web interface available at https://github.com/k-bx/python-semver/releases
or using GitHub web interface available at https://github.com/python-semver/python-semver/releases
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def read_file(filename):
long_description=read_file('README.rst'),
author=package.__author__,
author_email=package.__author_email__,
url='https://github.com/k-bx/python-semver',
download_url='https://github.com/k-bx/python-semver/downloads',
url='https://github.com/python-semver/python-semver',
download_url='https://github.com/python-semver/python-semver/downloads',
py_modules=[package.__name__],
include_package_data=True,
license='BSD',
Expand Down