Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-46

Ensure consistent Apache licensing of files in the C++ driver

      It is a pain point for consumers of the C++ driver that the set of files comprising the driver is a mixture of AGPL and Apache 2.0 licensed files.

      We should ensure that the set of files we ship in the driver are all Apache licensed. Here is the current list of files in the driver that are AGPL licensed:

      src/mongo/base/parse_number_test.cpp
      src/mongo/bson/bsonobjbuilder_test.cpp
      src/mongo/client/dbclient_rs_test.cpp
      src/mongo/client/replica_set_monitor_test.cpp
      src/mongo/db/auth/authorization_manager.h
      src/mongo/db/auth/privilege_parser.h
      src/mongo/db/auth/resource_pattern.h
      src/mongo/db/auth/role_name.h
      src/mongo/db/auth/role_graph.h
      src/mongo/db/client_basic.h
      src/mongo/db/dbmessage.h
      src/mongo/db/jsobjmanipulator.h
      src/mongo/db/json.h
      src/mongo/db/namespace_string-inl.h
      src/mongo/db/namespace_string.h
      src/mongo/db/storage_options.h
      src/mongo/dbtests/mock/mock_conn_registry.cpp
      src/mongo/dbtests/mock/mock_conn_registry.h
      src/mongo/dbtests/jsobjtests.cpp
      src/mongo/dbtests/jsontests.cpp
      src/mongo/dbtests/replica_set_monitor_test.cpp
      src/mongo/platform/strtoll.h
      src/mongo/s/bson_serializable.h
      src/mongo/s/shard.h
      src/mongo/s/chunk_version.h
      src/mongo/s/stale_exception.h
      src/mongo/unittest/unittest.h
      src/mongo/util/bufreader.h
      src/mongo/util/concurrency/msg.h
      src/mongo/util/concurrency/mutexdebugger.h
      src/mongo/util/concurrency/rwlock.h
      src/mongo/util/concurrency/rwlockimpl.cpp
      src/mongo/util/concurrency/rwlockimpl.h
      src/mongo/util/concurrency/simplerwlock.h
      src/mongo/util/concurrency/spin_lock.h
      src/mongo/util/concurrency/task.h
      src/mongo/util/concurrency/threadlocal.h
      src/mongo/util/concurrency/value.h
      src/mongo/util/fail_point.cpp
      src/mongo/util/fail_point.h
      src/mongo/util/fail_point_registry.cpp
      src/mongo/util/fail_point_registry.h
      src/mongo/util/fail_point_service.cpp
      src/mongo/util/fail_point_service.h
      src/mongo/util/heapcheck.h
      src/mongo/util/histogram.cpp
      src/mongo/util/histogram.h
      src/mongo/util/intrusive_counter.cpp
      src/mongo/util/intrusive_counter.h
      src/mongo/util/mongoutils/html.h
      src/mongo/util/net/sock_test.cpp
      src/mongo/util/signal_handlers.cpp
      src/mongo/util/signal_handlers.h
      src/mongo/util/trace.h
      src/mongo/util/trace.cpp
      src/mongo/util/version.h

      I'd hope that some of these files could be removed from the driver entirely, but the remainder should be relicensed.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: