Skip to content

Commit 4be47ae

Browse files
authored
[FOREPORT] DOCSP-21417 removes legacy mongo shell usage (mongodb#1676) (mongodb#1830)
* DOCSP-21417 removes legacy mongo shell usage (mongodb#1676) * DOCSP-21417 removes legacy mongo shell usage and installation * removes native methods * removes mongo native methods * removes js-native-legacy * removes main mongo page and TOC pages under main mongo page * addresses build related build errors * replaces instances of ~bin.mongo with ``mongo`` * removes addl files * unstage snooty changes * removes doc ref to legacy shell * removes reference/program/mongo.txt from snooty.toml * address mongo-client-side-field-level-encryption-options * repoint options * repoints addl mongo options to their respective mongosh replacements * internal review feedback * external review feedback * native methods redirects * address build errors * address build error * address build errors
1 parent a1a3e94 commit 4be47ae

File tree

153 files changed

+465
-4692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+465
-4692
lines changed

config/redirects

+8
Original file line numberDiff line numberDiff line change
@@ -2082,3 +2082,11 @@ raw: ${prefix}/${version}/applications/drivers -> ${base}/drivers/
20822082
[*-v4.2]: ${prefix}/${version}/release-notes/4.4-upgrade-standalone/ -> ${base}/${version}/release-notes
20832083
[*-v4.2]: ${prefix}/${version}/release-notes/4.4-upgrade-replica-set/ -> ${base}/${version}/release-notes
20842084
[*-v4.2]: ${prefix}/${version}/release-notes/4.4-upgrade-sharded-cluster/ -> ${base}/${version}/release-notes
2085+
2086+
2087+
(v5.3-*]: ${prefix}/${version}/reference/method/js-native-legacy -> ${base}/${version}/reference/method/js-native
2088+
(v5.3-*]: ${prefix}/${version}/reference/method/isInteractive -> ${base}/${version}/reference/method/js-native
2089+
(v5.3-*]: ${prefix}/${version}/reference/method/load -> ${base}/${version}/reference/method/js-native
2090+
(v5.3-*]: ${prefix}/${version}/reference/method/quit -> ${base}/${version}/reference/method/js-native
2091+
(v5.3-*]: ${prefix}/${version}/reference/method/sleep -> ${base}/${version}/reference/method/js-native
2092+
(v5.3-*]: ${prefix}/${version}/reference/method/version -> ${base}/${version}/reference/method/js-native

snooty.toml

-5
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,6 @@ file = "reference/program/mongoldap.txt"
340340
title = "mongoldap"
341341
section = 1
342342

343-
[manpages.mongo]
344-
file = "reference/program/mongo.txt"
345-
title = "mongo"
346-
section = 1
347-
348343
[manpages.mongodb-parameters]
349344
file = "reference/parameters.txt"
350345
title = "MongoDB setParameter Options"

source/appendix/security/appendixC-openssl-client.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ B. Generate the Test PEM File for Client
163163
openssl pkcs12 -export -out test-client.pfx -inkey mongodb-test-client.key -in mongodb-test-client.crt -certfile mongodb-test-ia.crt
164164

165165
Once added to Keychain Access, instead of specifying the Certificate Key
166-
file, you can use the :option:`--tlsCertificateSelector <mongo
166+
file, you can use the :option:`--tlsCertificateSelector <mongosh
167167
--tlsCertificateSelector>` to specify the certificate to use. If
168168
the CA file is also in Keychain Access, you can omit
169169
``--tlsCAFile`` as well as in the following example:

source/core/retryable-writes.txt

-10
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,6 @@ MongoDB Drivers
8080

8181
mongosh --retryWrites=false
8282

83-
:binary:`~bin.mongo`
84-
Retryable writes are disabled by default in the legacy
85-
:binary:`~bin.mongo` shell. To enable retryable writes, use the
86-
:option:`--retryWrites=true <mongosh --retryWrites>` command line
87-
option:
88-
89-
.. code-block:: bash
90-
91-
mongo --retryWrites=true
92-
9383
.. _retryable-write-ops:
9484

9585
Retryable Write Operations

source/core/security-ldap-external.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ with LDAP authentication and authorization:
433433

434434
mongosh --username [email protected] --password --authenticationDatabase '$external' --authenticationMechanism "PLAIN" --host "mongodb.example.com" --port 27017
435435

436-
If you do not specify the password to the :option:`-password <mongo
436+
If you do not specify the password to the :option:`--password <mongosh
437437
--password>` command-line option, :binary:`~bin.mongosh`
438438
prompts for the password.
439439

0 commit comments

Comments
 (0)