Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3.4 master #122

Closed
wants to merge 83 commits into from

Conversation

Projects
None yet
10 participants
@godevop
Copy link

commented Feb 5, 2019

couldn't find the set_gopath.sh file in the clone.
How i could install it in ubuntu 18.04?
screenshot from 2019-02-05 17-06-40

Machyne and others added some commits Nov 18, 2016

TOOLS-1534 create proper index version on _id
This pulls the _id index out from the index specs and handles it as a
special case during collection creation. If this is not special cased,
the collection will be create with an _id index automatically.
TOOLS-1576 move defer statements to after err checks (#80)
Arguments to defer are evaluated eagerly, hence should occur after any
error response is checked.
TOOLS-1605 Conditionally create a Windows job object in smoke.py.
Changes smoke.py to (like resmoke.py) only create a job object if the
Python process isn't already inside of one. This allows the Evergreen
agent to create a job object for managing processes spawned by a task to
ensure they are cleaned up reliably.

These changes were adapted from
mongodb/mongo@dd6acd3.

(cherry picked from commit 6a3f2fe)
TOOLS-1555 record EOF when connection closes
- send EOF recordedOp when connection closes.
- send EOF only for non-empty streams.
TOOLS-1555 Refactor Connection closes insertion
Add tests for adding EOF
move EOF insertion to correct place

xdg and others added some commits Apr 13, 2018

TOOLS-1948 Fix encrypted private keys handling
This commits fixes decryption of encrypted PEM blocks.  It also gives a
useful error message for PKCS#8 encrypted private keys (inside the
decoded PEM data), which Go does not yet support.

This commit also expands unit test coverage to include tlsgo package
testing and runs unit tests on more platforms.
TOOLS-1948 Fix builds
To test on certain platforms, this changes the build tags for
common/tlsgo.  It also avoids running on ARM, which uses an old version
of Go.
TOOLS-1996 Build without synthetic GOPATH
This commit moves vendor directories out of 'src' and into the top-level
'vendor' path, as expected by Go's build tools as of the Go 1.6 vendor
directory support change.

It adjusts the vendoring and build script accordingly.
minor: remove outdated build.bat file
The build.bat file is not used by automated build tool and was out of
date.  It has been removed.
TOOLS-1566 Rationalize ssl/enterprise build variants
With this commit, any Evergreen build variants marked "SSL" include the "ssl"
build tag.  Any build variants marked "Enterprise" include the "sasl"
and "ssl" build tags.  Normal build variants omit both tags.
@xdg

This comment has been minimized.

Copy link
Contributor

commented Feb 5, 2019

Not sure how you wound up submitting a PR along with a question. I'm going to close this PR so it's off my PR screen, but I'm happy to help diagnose the problem you're having.

Looks like you're having problems with the change in the build system. Our build process has changed to allow us to standardize across operating systems. A couple things you need:

  • Have the source checked out into a path that resembles a GOPATH -- i.e. src/github.com/mongodb/mongo-tools
  • Run build.sh -- this will build all the tools into a bin directory. You can pass tags like 'ssl' to build.sh to add ssl support.
  • If you want to build individual tools only, look at how build.sh does it. In particular, source set_goenv.sh, then call set_goenv. Then look at how the go build line in build.sh sets ldflags and tags using helper functions.

I hope that helps!

@xdg xdg closed this Feb 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.