What third party open source code am I allowed to use?

TLDR: Can I use an open source library?

The following table captures the short version of the conclusions of this document on which open source software can be used at Gruntwork:

Can I use an open source library?

*MPL 1.1 and MPL 2.0 code must be kept in separate files from the project code into which you are incorporating it. For additional details, see question #1 at https://www.mozilla.org/en-US/MPL/2.0/FAQ/.

**Any modifications to MPL 1.1 and MPL 2.0 projects must be released under the MPL license, however the MPL license only applies to the modifications of MPL code and does not have a viral effect on the project code. See question #9 at https://www.mozilla.org/en-US/MPL/2.0/FAQ/.

<aside> 💡 Note: Most open source software requires you to include a notice about the license in your own license. See adding the required notices below for instructions.

</aside>

Overview

What is this?

This is a set of guidelines for what third-party code you can include in Gruntwork products, and what you must do when you include it.

Why is this important?

It's important to Gruntwork and to our clients that we be in compliance with all the licenses of the third-party code we use.

In fact, we make an explicit, legally enforceable commitment to our clients that we will not accidentally compel them to share their private source code or put them out of compliance with third-party licenses. Violating this commitment would have severe consequences, both for Gruntwork and our clients.

Essential Concepts When Using Open Source

When you use open source software, you need to be aware of a few key concepts.

Explicitly Identify the Software's License

Just because software is published on the Internet does not mean that we automatically have a legal right to use it. Instead, you must look for an explicit software license, usually in the form of a LICENSE file in the root folder of the repo, that tells you the exact terms under which a given piece of software may be used. If you cannot identify the license, you cannot use the software.

Notices