Skip to content

Commit

Permalink
Apply the MSAL license (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider authored Dec 15, 2024
1 parent 8bab15b commit 476e9ec
Show file tree
Hide file tree
Showing 15 changed files with 112 additions and 227 deletions.
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

87 changes: 87 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Moderne Source Available License

## Acceptance

This Agreement sets forth the terms and conditions on which the Licensor makes the Software available. By installing, downloading, accessing, using, or distributing any part of the Software, you agree to all of the terms and conditions of this agreement.

If you are receiving the Software on behalf of your company, you represent and warrant that you have the authority to agree to this agreement on behalf of such entity.

The Licensor reserves the right to update this agreement from time to time.

## Definitions

**Agreement**: This Moderne Source Available License agreement.

**Control**: Ownership, directly or indirectly, of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise.

**License**: The license as described in the License paragraph below.

**Licensor**: The entity offering these terms, including Moderne, Inc., on behalf of itself and its subsidiaries and affiliates worldwide.

**Modify**/**Modified**/**Modification**: Copying or adapting all or part of the work in a way that requires copyright permission, other than making an exact copy. The resulting work is called a _modified version_ of the original work.

**Moderne**: The Moderne software as described in [moderne.ai](https://www.moderne.ai/).

**Software**: Specific software components designed to work with Moderne and provided under this agreement.

**Trademark**: Trademarks, service marks, and any other similar rights associated with the Licensor.

**Use**: Any activity you perform with the Software that requires a license under this agreement.

**You**: The recipient of the Software, whether an individual or an entity, on whose behalf this agreement is accepted.

**Your Company**: Any legal entity, sole proprietorship, or organization that you work for, including all organizations that control, are controlled by, or are under common control with that organization.

**Your Licenses**: All licenses granted to you for the Software under this agreement.

## License

The Licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the Software, subject to the limitations and conditions below.

## Limitations

**You may not:**

1. Make the functionality of the Software or a modified version available to third parties as a service.

2. Distribute the Software or a modified version in a manner that makes its functionality available to third parties.

**Prohibited actions include (but are not limited to):**

* Enabling third parties to interact with the functionality of the Software or a modified version in distributed form or remotely through a computer network.

* Offering products or services whose value derives from the Software or a modified version.

* Providing a product or service that performs the functions of the Software or a modified version.

You may not alter, remove, or obscure any licensing, copyright, or other notices provided by the Licensor. Any use of the Licensor’s trademarks is subject to applicable law.

## Patents

The Licensor grants you a license under any patent claims the Licensor owns or can license, to make, use, sell, offer for sale, import, and distribute the Software, subject to the limitations and conditions in this agreement.

This license does not cover patent claims caused by your modifications or additions to the Software.

If you or your company make any written claim that the Software infringes or contributes to the infringement of any patent, your patent license under this agreement terminates immediately.

## Notices

You must ensure that anyone who receives a copy of any part of the Software from you also receives a copy of this agreement.

If you modify the Software, you must include prominent notices in any modified copies stating that you have modified the Software.

## No Other Rights

This agreement does not imply any licenses beyond those expressly granted.

## Termination

If you use the Software in violation of this agreement, such use is unlicensed, and your licenses will terminate automatically.

If the Licensor notifies you of a violation and you cease all violations within 30 days, your licenses will be reinstated retroactively.

However, subsequent violations will result in automatic and permanent termination of your licenses.

## No Liability

To the extent permitted by law, the Software is provided "as is," without warranties or conditions of any kind. The Licensor is not liable for any damages arising from this agreement or your use of the Software.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Docker recipes for studying and transforming Docker usage.

[![ci](https://github.com/openrewrite/rewrite-docker/actions/workflows/ci.yml/badge.svg)](https://github.com/openrewrite/rewrite-docker/actions/workflows/ci.yml)
[![Apache 2.0](https://img.shields.io/github/license/openrewrite/rewrite-docker.svg)](https://www.docker.org/licenses/LICENSE-2.0)
[![Maven Central](https://img.shields.io/maven-central/v/org.openrewrite.recipe/rewrite-docker.svg)](https://mvnrepository.com/artifact/org.openrewrite.recipe/rewrite-docker)
[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.openrewrite.org/scans)

Expand Down
6 changes: 3 additions & 3 deletions gradle/licenseHeader.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Copyright ${year} the original author or authors.
<p>
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Moderne Source Available License (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<p>
https://www.apache.org/licenses/LICENSE-2.0
https://docs.moderne.io/licensing/moderne-source-available-license
<p>
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
4 changes: 2 additions & 2 deletions src/main/java/org/openrewrite/docker/DockerImageVersion.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2024 the original author or authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Moderne Source Available License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* https://docs.moderne.io/licensing/moderne-source-available-license
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/openrewrite/docker/package-info.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2024 the original author or authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Moderne Source Available License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* https://docs.moderne.io/licensing/moderne-source-available-license
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2024 the original author or authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Moderne Source Available License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* https://docs.moderne.io/licensing/moderne-source-available-license
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/openrewrite/docker/search/package-info.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2024 the original author or authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Moderne Source Available License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* https://docs.moderne.io/licensing/moderne-source-available-license
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Loading

0 comments on commit 476e9ec

Please sign in to comment.