From 384a30e5d6ab32b7a934abd77bc74c8f79ece08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 4 Sep 2025 11:02:42 +0200 Subject: [PATCH 1/2] Fix links to spec documents, migrated from rst to md https://github.com/mongodb/specifications/pull/1520 --- CONTRIBUTING.md | 4 ++-- tests/causal-consistency/causal-consistency-001.phpt | 2 +- tests/causal-consistency/causal-consistency-002.phpt | 2 +- tests/causal-consistency/causal-consistency-003.phpt | 2 +- tests/causal-consistency/causal-consistency-004.phpt | 2 +- tests/causal-consistency/causal-consistency-005.phpt | 2 +- tests/causal-consistency/causal-consistency-006.phpt | 2 +- tests/causal-consistency/causal-consistency-007.phpt | 2 +- tests/causal-consistency/causal-consistency-008.phpt | 2 +- tests/causal-consistency/causal-consistency-009.phpt | 2 +- tests/causal-consistency/causal-consistency-010.phpt | 2 +- tests/causal-consistency/causal-consistency-011.phpt | 2 +- tests/causal-consistency/causal-consistency-012.phpt | 2 +- tests/manager/manager-startSession_error-002.phpt | 2 +- tests/session/session-001.phpt | 2 +- tests/session/session-002.phpt | 2 +- tests/session/session-003.phpt | 2 +- tests/writeConcernError/writeconcernerror-getinfo-001.phpt | 2 +- tests/writeError/writeerror-getInfo-002.phpt | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2dd8ea28b..a726d5212 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -138,7 +138,7 @@ The test suite references the following environment variables: [drivers-evergreen-tools](https://github.com/mongodb-labs/drivers-evergreen-tools). If undefined or inaccessible, tests requiring certificates will be skipped. -The following environment variable is used for [stable API testing](https://github.com/mongodb/specifications/blob/master/source/versioned-api/tests/README.rst): +The following environment variable is used for [stable API testing](https://github.com/mongodb/specifications/blob/master/source/versioned-api/tests/README.md): * `API_VERSION`: If defined, this value will be used to construct a [`MongoDB\Driver\ServerApi`](https://www.php.net/manual/en/mongodb-driver-serverapi.construct.php), @@ -146,7 +146,7 @@ The following environment variable is used for [stable API testing](https://gith [`MongoDB\Driver\Manager`](https://www.php.net/manual/en/class.mongodb-driver-manager.php) objects created by the test suite. -The following environment variables are used for [CSFLE testing](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.rst): +The following environment variables are used for [CSFLE testing](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.md): * `CRYPT_SHARED_LIB_PATH`: If defined, this value will be used to set the `cryptSharedLibPath` autoEncryption driver option for diff --git a/tests/causal-consistency/causal-consistency-001.phpt b/tests/causal-consistency/causal-consistency-001.phpt index 19a2e7d25..483cf9f44 100644 --- a/tests/causal-consistency/causal-consistency-001.phpt +++ b/tests/causal-consistency/causal-consistency-001.phpt @@ -2,7 +2,7 @@ Causal consistency: new session has no operation time --DESCRIPTION-- Causal consistency spec prose test #1 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-002.phpt b/tests/causal-consistency/causal-consistency-002.phpt index 4c2d5bbf8..957e1cbf4 100644 --- a/tests/causal-consistency/causal-consistency-002.phpt +++ b/tests/causal-consistency/causal-consistency-002.phpt @@ -2,7 +2,7 @@ Causal consistency: first read in session does not include afterClusterTime --DESCRIPTION-- Causal consistency spec prose test #2 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-003.phpt b/tests/causal-consistency/causal-consistency-003.phpt index 546ca9cfc..4ec3b3b5f 100644 --- a/tests/causal-consistency/causal-consistency-003.phpt +++ b/tests/causal-consistency/causal-consistency-003.phpt @@ -2,7 +2,7 @@ Causal consistency: first read or write in session updates operationTime --DESCRIPTION-- Causal consistency spec prose test #3 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-004.phpt b/tests/causal-consistency/causal-consistency-004.phpt index 4ea41c6b4..7b563d3b6 100644 --- a/tests/causal-consistency/causal-consistency-004.phpt +++ b/tests/causal-consistency/causal-consistency-004.phpt @@ -2,7 +2,7 @@ Causal consistency: first read or write in session updates operationTime (even on error) --DESCRIPTION-- Causal consistency spec prose test #3 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-005.phpt b/tests/causal-consistency/causal-consistency-005.phpt index 37da520e0..fa0f68890 100644 --- a/tests/causal-consistency/causal-consistency-005.phpt +++ b/tests/causal-consistency/causal-consistency-005.phpt @@ -2,7 +2,7 @@ Causal consistency: second read's afterClusterTime uses last reply's operationTime --DESCRIPTION-- Causal consistency spec prose test #4 and #5 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-006.phpt b/tests/causal-consistency/causal-consistency-006.phpt index f3607a990..6cf795555 100644 --- a/tests/causal-consistency/causal-consistency-006.phpt +++ b/tests/causal-consistency/causal-consistency-006.phpt @@ -2,7 +2,7 @@ Causal consistency: second read's afterClusterTime uses last reply's operationTime (even on error) --DESCRIPTION-- Causal consistency spec prose test #4 and #5 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-007.phpt b/tests/causal-consistency/causal-consistency-007.phpt index e2a45a34d..3f0f2b062 100644 --- a/tests/causal-consistency/causal-consistency-007.phpt +++ b/tests/causal-consistency/causal-consistency-007.phpt @@ -2,7 +2,7 @@ Causal consistency: reads in non-causally consistent session never include afterClusterTime --DESCRIPTION-- Causal consistency spec prose test #6 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-008.phpt b/tests/causal-consistency/causal-consistency-008.phpt index f9e9a5a8f..7441b35a1 100644 --- a/tests/causal-consistency/causal-consistency-008.phpt +++ b/tests/causal-consistency/causal-consistency-008.phpt @@ -2,7 +2,7 @@ Causal consistency: reads in causally consistent session never include afterClusterTime for unsupported deployment --DESCRIPTION-- Causal consistency spec prose test #7 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-009.phpt b/tests/causal-consistency/causal-consistency-009.phpt index 94496886a..4ffdd0fb8 100644 --- a/tests/causal-consistency/causal-consistency-009.phpt +++ b/tests/causal-consistency/causal-consistency-009.phpt @@ -2,7 +2,7 @@ Causal consistency: default read concern includes afterClusterTime but not level --DESCRIPTION-- Causal consistency spec prose test #8 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-010.phpt b/tests/causal-consistency/causal-consistency-010.phpt index d64c9872d..7ce29fbdf 100644 --- a/tests/causal-consistency/causal-consistency-010.phpt +++ b/tests/causal-consistency/causal-consistency-010.phpt @@ -2,7 +2,7 @@ Causal consistency: custom read concern merges afterClusterTime and level --DESCRIPTION-- Causal consistency spec prose test #9 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-011.phpt b/tests/causal-consistency/causal-consistency-011.phpt index 13cc68b8e..8444de3b6 100644 --- a/tests/causal-consistency/causal-consistency-011.phpt +++ b/tests/causal-consistency/causal-consistency-011.phpt @@ -2,7 +2,7 @@ Causal consistency: $clusterTime is not sent in commands to unsupported deployments --DESCRIPTION-- Causal consistency spec prose test #11 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/causal-consistency/causal-consistency-012.phpt b/tests/causal-consistency/causal-consistency-012.phpt index 738cc6e8b..f55bff53a 100644 --- a/tests/causal-consistency/causal-consistency-012.phpt +++ b/tests/causal-consistency/causal-consistency-012.phpt @@ -2,7 +2,7 @@ Causal consistency: $clusterTime is sent in commands to supported deployments --DESCRIPTION-- Causal consistency spec prose test #12 -https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan +https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan --SKIPIF-- diff --git a/tests/manager/manager-startSession_error-002.phpt b/tests/manager/manager-startSession_error-002.phpt index 91b8d7c82..1e26350a7 100644 --- a/tests/manager/manager-startSession_error-002.phpt +++ b/tests/manager/manager-startSession_error-002.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Manager::startSession() snapshot and causalConsistency cannot both be true --DESCRIPTION-- Session spec prose test #1: Setting both snapshot and causalConsistency to true is not allowed -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#setting-both-snapshot-and-causalconsistency-to-true-is-not-allowed +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#setting-both-snapshot-and-causalconsistency-to-true-is-not-allowed --SKIPIF-- diff --git a/tests/session/session-001.phpt b/tests/session/session-001.phpt index 17b81cfa7..c5c270496 100644 --- a/tests/session/session-001.phpt +++ b/tests/session/session-001.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Session spec test: Pool is LIFO --DESCRIPTION-- Session spec prose test #2: Pool is LIFO -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#pool-is-lifo +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#pool-is-lifo --SKIPIF-- diff --git a/tests/session/session-002.phpt b/tests/session/session-002.phpt index f652eb84d..a0ee2088c 100644 --- a/tests/session/session-002.phpt +++ b/tests/session/session-002.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Session spec test: $clusterTime in commands --DESCRIPTION-- Session spec prose test #3: $clusterTime in commands -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#clustertime-in-commands +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#clustertime-in-commands --SKIPIF-- diff --git a/tests/session/session-003.phpt b/tests/session/session-003.phpt index e97dd9381..d6f77055a 100644 --- a/tests/session/session-003.phpt +++ b/tests/session/session-003.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Session spec test: session cannot be used for different clients --DESCRIPTION-- Session spec prose test #5: Session argument is for the right client -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#session-argument-is-for-the-right-client +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#session-argument-is-for-the-right-client --SKIPIF-- diff --git a/tests/writeConcernError/writeconcernerror-getinfo-001.phpt b/tests/writeConcernError/writeconcernerror-getinfo-001.phpt index 70565d446..e0697254c 100644 --- a/tests/writeConcernError/writeconcernerror-getinfo-001.phpt +++ b/tests/writeConcernError/writeconcernerror-getinfo-001.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\WriteConcernError::getInfo() exposes writeConcernError.errInfo --DESCRIPTION-- CRUD spec prose test #1 -https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.rst#writeconcernerror-details-exposes-writeconcernerror-errinfo +https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#writeconcernerror-details-exposes-writeconcernerror-errinfo --SKIPIF-- diff --git a/tests/writeError/writeerror-getInfo-002.phpt b/tests/writeError/writeerror-getInfo-002.phpt index d4ced2c80..6e1647870 100644 --- a/tests/writeError/writeerror-getInfo-002.phpt +++ b/tests/writeError/writeerror-getInfo-002.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\WriteError::getInfo() exposes writeError.errInfo --DESCRIPTION-- CRUD spec prose test #2 -https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.rst#writeerror-details-exposes-writeerrors-errinfo +https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#writeerror-details-exposes-writeerrors-errinfo --SKIPIF-- From 98fb48cef570af5d5783f719cd1519e39422a505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Wed, 10 Sep 2025 18:28:54 +0200 Subject: [PATCH 2/2] Fixed some URL fragments Co-authored-by: Jeremy Mikola --- tests/manager/manager-startSession_error-002.phpt | 2 +- tests/session/session-001.phpt | 2 +- tests/session/session-002.phpt | 2 +- tests/session/session-003.phpt | 2 +- tests/writeConcernError/writeconcernerror-getinfo-001.phpt | 2 +- tests/writeError/writeerror-getInfo-002.phpt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/manager/manager-startSession_error-002.phpt b/tests/manager/manager-startSession_error-002.phpt index 1e26350a7..cf6c14ca7 100644 --- a/tests/manager/manager-startSession_error-002.phpt +++ b/tests/manager/manager-startSession_error-002.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Manager::startSession() snapshot and causalConsistency cannot both be true --DESCRIPTION-- Session spec prose test #1: Setting both snapshot and causalConsistency to true is not allowed -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#setting-both-snapshot-and-causalconsistency-to-true-is-not-allowed +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#1-setting-both-snapshot-and-causalconsistency-to-true-is-not-allowed --SKIPIF-- diff --git a/tests/session/session-001.phpt b/tests/session/session-001.phpt index c5c270496..f273eda74 100644 --- a/tests/session/session-001.phpt +++ b/tests/session/session-001.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Session spec test: Pool is LIFO --DESCRIPTION-- Session spec prose test #2: Pool is LIFO -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#pool-is-lifo +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#2-pool-is-lifo --SKIPIF-- diff --git a/tests/session/session-002.phpt b/tests/session/session-002.phpt index a0ee2088c..87a1ff268 100644 --- a/tests/session/session-002.phpt +++ b/tests/session/session-002.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Session spec test: $clusterTime in commands --DESCRIPTION-- Session spec prose test #3: $clusterTime in commands -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#clustertime-in-commands +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#3-clustertime-in-commands --SKIPIF-- diff --git a/tests/session/session-003.phpt b/tests/session/session-003.phpt index d6f77055a..4bb58aad6 100644 --- a/tests/session/session-003.phpt +++ b/tests/session/session-003.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\Session spec test: session cannot be used for different clients --DESCRIPTION-- Session spec prose test #5: Session argument is for the right client -https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#session-argument-is-for-the-right-client +https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#5-session-argument-is-for-the-right-client --SKIPIF-- diff --git a/tests/writeConcernError/writeconcernerror-getinfo-001.phpt b/tests/writeConcernError/writeconcernerror-getinfo-001.phpt index e0697254c..d65966b79 100644 --- a/tests/writeConcernError/writeconcernerror-getinfo-001.phpt +++ b/tests/writeConcernError/writeconcernerror-getinfo-001.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\WriteConcernError::getInfo() exposes writeConcernError.errInfo --DESCRIPTION-- CRUD spec prose test #1 -https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#writeconcernerror-details-exposes-writeconcernerror-errinfo +https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#1-writeconcernerrordetails-exposes-writeconcernerrorerrinfo --SKIPIF-- diff --git a/tests/writeError/writeerror-getInfo-002.phpt b/tests/writeError/writeerror-getInfo-002.phpt index 6e1647870..eac9866ee 100644 --- a/tests/writeError/writeerror-getInfo-002.phpt +++ b/tests/writeError/writeerror-getInfo-002.phpt @@ -2,7 +2,7 @@ MongoDB\Driver\WriteError::getInfo() exposes writeError.errInfo --DESCRIPTION-- CRUD spec prose test #2 -https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#writeerror-details-exposes-writeerrors-errinfo +https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#2-writeerrordetails-exposes-writeerrorserrinfo --SKIPIF--