Skip to content

Commit

Permalink
docs: clean up for #1610. Thanks, Brian Grohe.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Apr 25, 2023
1 parent c6610b3 commit d6e621a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ development at the same time, such as 4.5.x and 5.0.
Unreleased
----------

Nothing yet.
- Docs: a new :ref:`Migrating page <migrating>` with details about how to
migrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x. Thanks, `Brian Grohe <pull 1610_>`_.

.. _pull 1610: https://github.com/nedbat/coveragepy/pull/1610

.. scriv-start-here
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Bill Hart
Bradley Burns
Brandon Rhodes
Brett Cannon
Brian Grohe
Bruno P. Kinoshita
Buck Evan
Calen Pennington
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,5 +234,5 @@ More information
trouble
faq
Change history <changes>
Migrating version notes <migrations>
migrating
sleepy
11 changes: 7 additions & 4 deletions doc/migrations.rst → doc/migrating.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
.. For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
.. _migrations:
.. _migrating:

==========================
Migrating between versions
==========================

New major versions of coverage.py might require you to adjust your settings,
options, or other aspects of your use. This page details those changes.

.. _migrating_6x_7x:

Migrating 6.5.x — 7.0.x
-----------------------
Migrating from 6.x to 7.x
-------------------------

- The way that wildcards when specifying file paths work in certain cases has changed in 7.0.x:
- The way that wildcards when specifying file paths work in certain cases has changed in 7.x:

- Previously, ``*`` would incorrectly match directory separators, making
precise matching difficult. Patterns such as ``*tests/*``
Expand Down

0 comments on commit d6e621a

Please sign in to comment.