Giter VIP home page Giter VIP logo

mongo-tools-common's Introduction

mongo-tools-common

A collection of packages shared by the tools and mongomirror.

Note: This project has been deprecated as of TOOLS-2802 and currently supports only the mongo-tools/v4.2 branch for critical changes.

Using the mongo-tools-common packages

To use the packages found here, use mongo-tools as a dependency instead.

First, add a mongo-tools dependency with the desired commit hash or tag in your go.mod file:

require github.com/mongodb/mongo-tools <commit-or-tag>

Then add the following import path with the desired subpackage in your Go file:

import "github.com/mongodb/mongo-tools/common/<subpackage>"

Making changes to mongo-tools/v4.2

If a change to mongo-tools/v4.2 requires changes to mongo-tools-common, make the changes and create a pull request to merge them to mongo-tools-common/v4.2.

When merged, create a lightweight tag for mongo-tools-common/v4.2 with appropriate minor/patch versions and push it:

git tag v2.X.x
git push upstream tag v2.X.x

Then in the Gopkg.toml file for mongo-tools/v4.2, update the mongo-tools-common constraint:

[[constraint]]
  name = "github.com/mongodb/mongo-tools-common"
  version = "v2.X.x"

Finally, revendor the dependency in mongo-tools/v4.2 using dep:

dep ensure -update github.com/mongodb/mongo-tools-common

mongo-tools-common's People

Contributors

divjotarora avatar edobranov avatar huan-mongo avatar patrickfreed avatar pmeredit avatar tedtuckman avatar tfogo avatar varsha804 avatar xdg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.