[SERVER-14376] Deprecate mongoutils namespace Created: 27/Jun/14  Updated: 11/Jul/16  Resolved: 27/Jun/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.3

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

The mongoutils namespace contains some widely used html and string routines, which are typically imported into the mongo namespace anyways. They should be made universally available there. The remaining pieces of mongoutils are unused or have only one user, and should be treated accordingly.

Final elimination of the mongoutils namespace will be a separate project, involving replacing all uses of mongoutils::str with str.



 Comments   
Comment by Githook User [ 24/Nov/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14376 Make mongoutils::str available in the mongo namespace.

(cherry picked from commit 3704fa06bee441dca68521b4be71edc21d00420b)
Branch: v2.6
https://github.com/mongodb/mongo/commit/a2d10e198453df287bc0af064e1d641194620e93

Comment by Githook User [ 27/Jun/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14376 Move mongoutils::html namespace into mongo::html namespace.
Branch: master
https://github.com/mongodb/mongo/commit/08571fb7fdaef4f611f11d4456fc2c78e10d9705

Comment by Githook User [ 27/Jun/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14376 Make mongoutils::str available in the mongo namespace.
Branch: master
https://github.com/mongodb/mongo/commit/3704fa06bee441dca68521b4be71edc21d00420b

Comment by Githook User [ 27/Jun/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14376 Remove mongoutils::checksum, which was only called in one test.
Branch: master
https://github.com/mongodb/mongo/commit/8c2f7ee6a02d327c7d49025132983a0fe962745b

Comment by Githook User [ 27/Jun/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14376 Get rid of mongoutils/README and test.cpp.

The README is no longer true, and the test is neither compiled nor run.
Branch: master
https://github.com/mongodb/mongo/commit/94ff35ae69bed75b1d367e1b0bf154d236850fc7

Comment by Githook User [ 27/Jun/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14376 Get rid of mongoutils/hash.h.

Move the only function used by the only consumer into the consumer itself.
Branch: master
https://github.com/mongodb/mongo/commit/3dd06b892e68b7af018b8d4c7ea65aa0d9e31b1b

Generated at Thu Feb 08 03:34:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.