Skip to content

Commit f7d7550

Browse files
author
Rami Chowdhury
committed
Add legal docs
1 parent 0366dde commit f7d7550

File tree

6 files changed

+154
-11
lines changed

6 files changed

+154
-11
lines changed

.github/PULL_REQUEST_TEMPLATE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Title
2+
3+
Please describe the feature(s) added, bug(s) fixed, etc here at a high level,
4+
and go into detail in further paragraphs if necessary.
5+
6+
7+
## Upside CLA
8+
- [ ] I agree to the [contributer license agreement](CONTRIBUTOR_LICENSE_AGREEMENT.md)

CONTRIBUTING.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Contributing Guide
2+
3+
You will need:
4+
- Python 3.6 or higher
5+
6+
## Getting started
7+
8+
To get your development environment setup, run:
9+
10+
```sh
11+
pip install -e .[dev]
12+
```
13+
14+
This will install the repo version of enforcer and then install the development
15+
dependencies. Once that has completed, you can start developing.
16+
17+
## Contributor License Agreement
18+
19+
We require all contributors to sign the [Upside CLA](./CONTRIBUTOR_LICENSE_AGREEMENT.md).
20+
21+
In simple terms, the CLA affirms that the work you're contributing is original,
22+
that you grant Upside permission to use that work (including license to any
23+
patents necessary), and that Upside may relicense your work for our commercial
24+
products if necessary. Note that this description is a summary and the specific
25+
legal terms should be read directly in the CLA.
26+
27+
The CLA does not change the terms of the standard open source license used by
28+
our software. You are still free to use our projects within your own projects or
29+
businesses, republish modified source, and more. Please reference the license of
30+
this project to learn more.
31+
32+
To sign the CLA, open a pull request as usual. If you haven't signed the CLA
33+
yet. We cannot merge any pull request until the CLA is signed. You only need to
34+
sign the CLA once.

CONTRIBUTOR_LICENSE_AGREEMENT.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Human-Friendly Summary
2+
3+
This is a human-readable summary of (and not a substitute for) the full agreement. This highlights only some of key terms of the CLA. It has no legal value and you should carefully review all the terms of the actual CLA before agreeing.
4+
Grant of copyright license. You give Upside permission to use your copyrighted work in commercial products.
5+
Grant of patent license. If your contributed work uses a patent, you give Upside a license to use that patent including within commercial products. You also agree that you have permission to grant this license.
6+
No Warranty or Support Obligations. By making a contribution, you are not obligating yourself to provide support for the contribution, and you are not taking on any warranty obligations or providing any assurances about how it will perform.
7+
The CLA does not change the terms of the standard open source license used by our software such as Apache. You are still free to use our projects within your own projects or businesses, republish modified source, and more. Please reference the appropriate license for the project you're contributing to learn more.
8+
9+
# Upside Individual Contributor License Agreement
10+
11+
In order to clarify the intellectual property license granted with Contributions from any person or entity, The Upside Travel Company, LLC ("Upside") must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Upside; it does not change your rights to use your own Contributions for any other purpose.
12+
13+
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Upside. Except for the license granted herein to Upside and recipients of software distributed by Upside, You reserve all right, title, and interest in and to Your Contributions.
14+
15+
1. Definitions.
16+
17+
"You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Upside. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
18+
19+
"Contribution" shall mean any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Upside for inclusion in, or documentation of, any of the products owned or managed by Upside (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to Upside or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Upside for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
20+
21+
22+
2. Grant of Copyright License.
23+
24+
Subject to the terms and conditions of this Agreement, You hereby grant to Upside and to recipients of software distributed by Upside a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works.
25+
26+
27+
3. Grant of Patent License.
28+
29+
Subject to the terms and conditions of this Agreement, You hereby grant to Upside and to recipients of software distributed by Upside a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that your Contribution, or the Work to which you have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed.
30+
31+
32+
4. You represent that you are legally entitled to grant the above license. If your employer(s) has rights to intellectual property that you create that includes your Contributions, you represent that you have received permission to make Contributions on behalf of that employer, that your employer has waived such rights for your Contributions to Upside, or that your employer has executed a separate Corporate CLA with Upside.
33+
34+
35+
5. You represent that each of Your Contributions is Your original creation (see section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions.
36+
37+
38+
6. You are not expected to provide support for Your Contributions, except to the extent You desire to provide support. You may provide support for free, for a fee, or not at all. Unless required by applicable law or agreed to in writing, You provide Your Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON- INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
39+
40+
41+
7. Should You wish to submit work that is not Your original creation, You may submit it to Upside separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which you are personally aware, and conspicuously marking the work as "Submitted on behalf of a third-party: [named here]".
42+
43+
44+
8. You agree to notify Upside of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect.

DEPENDENCIES.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[graphene](https://github.com/graphql-python/graphene)
2+
```
3+
The MIT License (MIT)
4+
5+
Copyright (c) 2015-Present Syrus Akbary
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.
24+
```
25+
26+
[pydantic](https://github.com/samuelcolvin/pydantic)
27+
```
28+
The MIT License (MIT)
29+
30+
Copyright (c) 2017, 2018, 2019 Samuel Colvin and other contributors
31+
32+
Permission is hereby granted, free of charge, to any person obtaining a copy
33+
of this software and associated documentation files (the "Software"), to deal
34+
in the Software without restriction, including without limitation the rights
35+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36+
copies of the Software, and to permit persons to whom the Software is
37+
furnished to do so, subject to the following conditions:
38+
39+
The above copyright notice and this permission notice shall be included in all
40+
copies or substantial portions of the Software.
41+
42+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48+
SOFTWARE.
49+
```

LICENSE.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Copyright 2019 Upside Travel
1+
Copyright 2019 The Upside Travel Company LLC. All Rights Reserved.
22

3-
Licensed under the Apache License, Version 2.0 (the "License");
4-
you may not use this file except in compliance with the License.
5-
You may obtain a copy of the License at
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
66

7-
http://www.apache.org/licenses/LICENSE-2.0
7+
http://www.apache.org/licenses/LICENSE-2.0
88

9-
Unless required by applicable law or agreed to in writing, software
10-
distributed under the License is distributed on an "AS IS" BASIS,
11-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
See the License for the specific language governing permissions and
13-
limitations under the License.
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ![Graphene Logo](http://graphene-python.org/favicon.png) graphene-pydantic [![Build status](https://circleci.com/gh/upsidetravel/graphene-pydantic-2.svg?style=svg)](https://circleci.com/gh/upsidetravel/graphene-pydantic-2) [![PyPI version](https://badge.fury.io/py/graphene-pydantic.svg)](https://badge.fury.io/py/graphene-pydantic) [![Coverage Status](https://coveralls.io/repos/upsidetravel/graphene-pydantic/badge.svg?branch=master&service=github)](https://coveralls.io/github/upsidetravel/graphene-pydantic?branch=master)
1+
# ![Graphene Logo](http://graphene-python.org/favicon.png) graphene-pydantic [![Build status](https://circleci.com/gh/upsidetravel/graphene-pydantic.svg?style=svg)](https://circleci.com/gh/upsidetravel/graphene-pydantic) [![PyPI version](https://badge.fury.io/py/graphene-pydantic.svg)](https://badge.fury.io/py/graphene-pydantic) [![Coverage Status](https://coveralls.io/repos/upsidetravel/graphene-pydantic/badge.svg?branch=master&service=github)](https://coveralls.io/github/upsidetravel/graphene-pydantic?branch=master)
22

33

44

@@ -65,3 +65,11 @@ result = schema.execute(query)
6565
### Full Examples
6666

6767
Please see [the examples directory](./examples) for more.
68+
69+
### License
70+
71+
This project is under the [Apache License](./LICENSE.md).
72+
73+
### Contributing
74+
75+
Please see the [Contributing Guide](./CONTRIBUTING.md). Note that you must sign the [CLA](./CONTRIBUTOR_LICENSE_AGREEMENT.md).

0 commit comments

Comments
 (0)