Skip to content

Commit

Permalink
Move changelog to own file (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jan 3, 2024
1 parent 1b8c9f7 commit 8b011b2
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 104 deletions.
88 changes: 88 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Changelog

## 2.2.0

- Add log messages
- Fix for conflict handling, get the state correctly ([PR 88](https://github.com/python/cherry-picker/pull/88))
- Drop support for Python 3.7 ([PR 90](https://github.com/python/cherry-picker/pull/90))

## 2.1.0

- Mix fixes: #28, #29, #31, #32, #33, #34, #36

## 2.0.0

- Support the `main` branch by default ([PR 23](https://github.com/python/cherry-picker/pull/23)).
To use a different default branch, please configure it in the
`.cherry-picker.toml` file.

- Renamed `cherry-picker`'s own default branch to `main`

## 1.3.2

- Use `--no-tags` option when fetching upstream ([PR 319](https://github.com/python/core-workflow/pull/319))

## 1.3.1

- Modernize cherry_picker's pyproject.toml file ([PR #316](https://github.com/python/core-workflow/pull/316))

- Remove the `BACKPORT_COMPLETE` state. Unset the states when backport is completed
([PR #315](https://github.com/python/core-workflow/pull/315))

- Run Travis CI test on Windows ([PR #311](https://github.com/python/core-workflow/pull/311))

## 1.3.0

- Implement state machine and storing reference to the config
used at the beginning of the backport process using commit sha
and a repo-local Git config.
([PR #295](https://github.com/python/core-workflow/pull/295))

## 1.2.2

- Relaxed click dependency ([PR #302](https://github.com/python/core-workflow/pull/302))

## 1.2.1

- Validate the branch name to operate on with `--continue` and fail early if the branch could not
have been created by cherry_picker ([PR #266](https://github.com/python/core-workflow/pull/266))

- Bugfix: Allow `--continue` to support version branches that have dashes in them. This is
a bugfix of the additional branch versioning schemes introduced in 1.2.0.
([PR #265](https://github.com/python/core-workflow/pull/265)).

- Bugfix: Be explicit about the branch name on the remote to push the cherry pick to. This allows
cherry_picker to work correctly when the user has a git push strategy other than the default
configured ([PR #264](https://github.com/python/core-workflow/pull/264)).

## 1.2.0

- Add `default_branch` configuration item. The default is `master`, which
is the default branch for CPython. It can be configured to other branches like,
`devel`, or `develop`. The default branch is the branch cherry_picker
will return to after backporting ([PR #254](https://github.com/python/core-workflow/pull/254)
and [Issue #250](https://github.com/python/core-workflow/issues/250)).

- Support additional branch versioning schemes, such as `something-X.Y`,
or `X.Y-somethingelse`. ([PR #253](https://github.com/python/core-workflow/pull/253)
and [Issue #251](https://github.com/python/core-workflow/issues/251)).

## 1.1.1

- Change the calls to `subprocess` to use lists instead of strings. This fixes
the bug that affects users in Windows
([PR #238](https://github.com/python/core-workflow/pull/238)).

## 1.1.0

- Add `fix_commit_msg` configuration item. Setting fix_commit_msg to `true`
will replace the issue number in the commit message, from `#` to `GH-`.
This is the default behavior for CPython. Other projects can opt out by
setting it to `false` ([PR #233](https://github.com/python/core-workflow/pull/233)
and [aiohttp issue #2853](https://github.com/aio-libs/aiohttp/issues/2853)).

## 1.0.0

- Support configuration file by using `--config-path` option, or by adding
`.cherry-picker.toml` file to the root of the project
([Issue #225](https://github.com/python/core-workflow/issues/225))
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- [ ] check tests pass on [GitHub Actions](https://github.com/python/cherry-picker/actions)
[![GitHub Actions status](https://github.com/python/cherry-picker/actions/workflows/main.yml/badge.svg)](https://github.com/python/cherry-picker/actions/workflows/main.yml)

- [ ] Update [changelog](https://github.com/python/cherry-picker#changelog)
- [ ] Update [changelog](https://github.com/python/cherry-picker/blob/main/CHANGELOG.md)

- [ ] Go to the [Releases page](https://github.com/python/cherry-picker/releases) and

Expand Down
106 changes: 3 additions & 103 deletions readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,7 @@ Tests require your local version of ``git`` to be ``2.28.0+``.
Publishing to PyPI
==================

- Create a new release branch.

- Update the version info in ``__init__.py`` and ``readme.rst``, dropping the ``.dev``.

- Tag the branch as ``cherry-picker-vX.Y.Z``.
- See the `release checklist <https://github.com/python/cherry-picker/blob/main/RELEASING.md>`_.


Local installation
Expand All @@ -352,7 +348,7 @@ in the directory where ``pyproject.toml`` exists:

.. code-block:: console
$ flit install
$ pip install
.. |pyversion status| image:: https://img.shields.io/pypi/pyversions/cherry-picker.svg
Expand All @@ -367,100 +363,4 @@ in the directory where ``pyproject.toml`` exists:
Changelog
=========

2.2.0
-----

- Add log messages
- Fix for conflict handling, get the state correctly. (`PR 88 <https://github.com/python/cherry-picker/pull/88>`_)
- Drop support for Python 3.7 (`PR 90 <https://github.com/python/cherry-picker/pull/90>`_)

2.1.0
-----

- Mix fixes: #28, #29, #31, #32, #33, #34, #36.

2.0.0
-----

- Support the ``main`` branch by default. (`PR 23 <https://github.com/python/cherry-picker/pull/23>`_)
To use a different default branch, please configure it in the
``.cherry-picker.toml`` file.

- Renamed ``cherry-picker``'s own default branch to ``main``.

1.3.2
-----

- Use ``--no-tags`` option when fetching upstream. (`PR 319 <https://github.com/python/core-workflow/pull/319>`_)

1.3.1
-----

- Modernize cherry_picker's pyproject.toml file. (`PR #316 <https://github.com/python/core-workflow/pull/316>`_)

- Remove the ``BACKPORT_COMPLETE`` state. Unset the states when backport is completed.
(`PR #315 <https://github.com/python/core-workflow/pull/315>`_)

- Run Travis CI test on Windows (`PR #311 <https://github.com/python/core-workflow/pull/311>`_).

1.3.0
-----

- Implement state machine and storing reference to the config
used at the beginning of the backport process using commit sha
and a repo-local Git config.
(`PR #295 <https://github.com/python/core-workflow/pull/295>`_).

1.2.2
-----

- Relaxed click dependency (`PR #302 <https://github.com/python/core-workflow/pull/302>`_).

1.2.1
-----

- Validate the branch name to operate on with ``--continue`` and fail early if the branch could not
have been created by cherry_picker. (`PR #266 <https://github.com/python/core-workflow/pull/266>`_).

- Bugfix: Allow ``--continue`` to support version branches that have dashes in them. This is
a bugfix of the additional branch versioning schemes introduced in 1.2.0.
(`PR #265 <https://github.com/python/core-workflow/pull/265>`_).

- Bugfix: Be explicit about the branch name on the remote to push the cherry pick to. This allows
cherry_picker to work correctly when the user has a git push strategy other than the default
configured. (`PR #264 <https://github.com/python/core-workflow/pull/264>`_).

1.2.0
-----

- Add ``default_branch`` configuration item. The default is ``master``, which
is the default branch for CPython. It can be configured to other branches like,
``devel``, or ``develop``. The default branch is the branch cherry_picker
will return to after backporting. (`PR #254 <https://github.com/python/core-workflow/pull/254>`_
and `Issue #250 <https://github.com/python/core-workflow/issues/250>`_).

- Support additional branch versioning schemes, such as ``something-X.Y``,
or ``X.Y-somethingelse``. (`PR #253 <https://github.com/python/core-workflow/pull/253>`_
and `Issue #251 <https://github.com/python/core-workflow/issues/251>`_).

1.1.1
-----

- Change the calls to ``subprocess`` to use lists instead of strings. This fixes
the bug that affects users in Windows. (`PR #238 <https://github.com/python/core-workflow/pull/238>`_).

1.1.0
-----

- Add ``fix_commit_msg`` configuration item. Setting fix_commit_msg to ``true``
will replace the issue number in the commit message, from ``#`` to ``GH-``.
This is the default behavior for CPython. Other projects can opt out by
setting it to ``false``. (`PR #233 <https://github.com/python/core-workflow/pull/233>`_
and `aiohttp Issue #2853 <https://github.com/aio-libs/aiohttp/issues/2853>`_).

1.0.0
-----

- Support configuration file by using ``--config-path`` option, or by adding
``.cherry-picker.toml`` file to the root of the project. (`Issue #225
<https://github.com/python/core-workflow/issues/225>`_).
See the `changelog <https://github.com/python/cherry-picker/blob/main/CHANGELOG.md>`_.

0 comments on commit 8b011b2

Please sign in to comment.