Skip to content

Commit c6610b3

Browse files
paxnovemnedbat
andcommittedApr 25, 2023
docs: a new page about migrating between versions
Added basic migraton docs changes Remove change that likely will not require migration changes Cannot determine what the behavior was before Updated ** replacement suggestion Remove extra indent at end of file Fix linting issue that needed a trailing indent Fix a typo in docs Removed .gitignore corrected a single rule Added basic migraton docs changes Fix linting issue that needed a trailing indent Fix a typo in docs Correct grammar issue Co-authored-by: Ned Batchelder <[email protected]> Correct rule and spelling Remove personal gitignore config Removed duplicated license text Added extra space Take suggestions from ned Co-authored-by: Ned Batchelder <[email protected]>
1 parent 84e43c4 commit c6610b3

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
 

‎doc/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,5 @@ More information
234234
trouble
235235
faq
236236
Change history <changes>
237+
Migrating version notes <migrations>
237238
sleepy

‎doc/migrations.rst

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2+
.. For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
3+
4+
.. _migrations:
5+
6+
==========================
7+
Migrating between versions
8+
==========================
9+
10+
.. _migrating_6x_7x:
11+
12+
Migrating 6.5.x — 7.0.x
13+
-----------------------
14+
15+
- The way that wildcards when specifying file paths work in certain cases has changed in 7.0.x:
16+
17+
- Previously, ``*`` would incorrectly match directory separators, making
18+
precise matching difficult. Patterns such as ``*tests/*``
19+
will need to be changed to ``*/tests/*``.
20+
21+
- ``**`` now matches any number of nested directories. If you wish to retain the behavior of
22+
``**/tests/*`` in previous versions then ``*/**/tests/*`` can be used instead.
23+
24+
- When remapping file paths with ``[paths]``, a path will be remapped only if
25+
the resulting path exists. Ensure that remapped ``[paths]`` exist when upgrading
26+
as this is now being enforced.

0 commit comments

Comments
 (0)
Please sign in to comment.