Skip to content

Commit cd84147

Browse files
authored
Prepare Zalando move. (#33)
Add necessary files and properly manage the license file.
1 parent 78eb81d commit cd84147

File tree

5 files changed

+123
-1
lines changed

5 files changed

+123
-1
lines changed

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Contributing to GraphQL JIT
2+
3+
**Thank you for your interest in GraphQL JIT. Your contributions are highly welcome.**
4+
5+
There are multiple ways of getting involved:
6+
7+
- [Report a bug](#report-a-bug)
8+
- [Suggest a feature](#suggest-a-feature)
9+
- [Contribute code](#contribute-code)
10+
11+
Below are a few guidelines we would like you to follow.
12+
If you need help, please reach out to us by opening an issue.
13+
14+
## Report a bug
15+
Reporting bugs is one of the best ways to contribute. Before creating a bug report, please check that an [issue](/issues) reporting the same problem does not already exist. If there is such an issue, you may add your information as a comment.
16+
17+
To report a new bug you should open an issue that summarizes the bug and set the label to "bug".
18+
19+
If you want to provide a fix along with your bug report: That is great! In this case please send us a pull request as described in section [Contribute Code](#contribute-code).
20+
21+
## Suggest a feature
22+
To request a new feature you should open an [issue](../../issues/new) and summarize the desired functionality and its use case. Set the issue label to "feature".
23+
24+
## Contribute code
25+
This is an outline of what the workflow for code contributions looks like
26+
27+
- Check the list of open [issues](../../issues). Either assign an existing issue to yourself, or
28+
create a new one that you would like work on and discuss your ideas and use cases.
29+
30+
It is always best to discuss your plans beforehand, to ensure that your contribution is in line with our goals.
31+
32+
- Fork the repository on GitHub
33+
- Create a topic branch from where you want to base your work. This is usually master.
34+
- Open a new pull request, label it `work in progress` and outline what you will be contributing
35+
- Make commits of logical units.
36+
- Make sure you sign-off on your commits `git commit -s -m "adding X to change Y"`
37+
- Write good commit messages (see below).
38+
- Push your changes to a topic branch in your fork of the repository.
39+
- As you push your changes, update the pull request with new infomation and tasks as you complete them
40+
- Project maintainers might comment on your work as you progress
41+
- When you are done, remove the `work in progess` label and ping the maintainers for a review
42+
- Your pull request must receive a :thumbsup: from two [maintainers](MAINTAINERS)
43+
44+
Thanks for your contributions!
45+
46+
### Commit messages
47+
Your commit messages ideally can answer two questions: what changed and why. The subject line should feature the “what” and the body of the commit should describe the “why”.
48+
49+
When creating a pull request, its description should reference the corresponding issue id.
50+
51+
### Sign your work / Developer certificate of origin
52+
All contributions (including pull requests) must agree to the Developer Certificate of Origin (DCO) version 1.1. This is exactly the same one created and used by the Linux kernel developers and posted on http://developercertificate.org/. This is a developer's certification that he or she has the right to submit the patch for inclusion into the project. Simply submitting a contribution implies this agreement, however, please include a "Signed-off-by" tag in every patch (this tag is a conventional way to confirm that you agree to the DCO) - you can automate this with a [Git hook](https://stackoverflow.com/questions/15015894/git-add-signed-off-by-line-using-format-signoff-not-working)
53+
54+
```
55+
git commit -s -m "adding X to change Y"
56+
```
57+
58+
59+
60+
61+
**Have fun, and happy hacking!**

LICENSE

100644100755
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
Copyright for portions of GraphQL-JIT are held by Facebook, Inc as part of graphql-js.
2+
All other copyright for GraphQL-JIT are held by Zalando.
3+
14
MIT License
25

3-
Copyright (c) 2018 Rui Araujo
6+
Copyright (c) 2015-present, Facebook, Inc.
7+
Copyright (c) 2019-present Zalando SE
48

59
Permission is hereby granted, free of charge, to any person obtaining a copy
610
of this software and associated documentation files (the "Software"), to deal

MAINTAINERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Rui Araujo <[email protected]>
2+
Boopathi Nedunchezhiyan <[email protected]>
3+
Mariano Carballal <[email protected]>

SECURITY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
We acknowledge that every line of code that we write may potentially contain security issues.
2+
We are trying to deal with it responsibly and provide patches as quickly as possible.
3+
4+
We host our bug bounty program on HackerOne, it is currently private, therefore if you would like to report a vulnerability and get rewarded for it, please ask to join our program by filling this form:
5+
6+
https://corporate.zalando.com/en/services-and-contact#security-form
7+
8+
You can also send you report via this form if you do not want to join our bug bounty program and just want to report a vulnerability or security issue.

0 commit comments

Comments
 (0)