Skip to content

Commit 2d972b0

Browse files
authored
Merge pull request #68 from salesforce/update-license
Update license info to Apache 2.0
2 parents 23b3e23 + b8f7863 commit 2d972b0

File tree

450 files changed

+11169
-4350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

450 files changed

+11169
-4350
lines changed

CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# Comment line immediately above ownership line is reserved for related gus information. Please be careful while editing.
1+
# Comment line immediately above ownership line is reserved for related other information. Please be careful while editing.
22
#ECCN:Open Source
3+
#GUSINFO:Open Source,Open Source Workflow

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ culture where everyone feels included.
88

99
Salesforce open-source projects are committed to providing a friendly, safe, and
1010
welcoming environment for all, regardless of gender identity and expression,
11-
sexual orientation, disability, physical appearance, body size, ethnicity, nationality,
12-
race, age, religion, level of experience, education, socioeconomic status, or
11+
sexual orientation, disability, physical appearance, body size, ethnicity, nationality,
12+
race, age, religion, level of experience, education, socioeconomic status, or
1313
other similar personal characteristics.
1414

1515
The goal of this code of conduct is to specify a baseline standard of behavior so
@@ -25,9 +25,9 @@ Open Source Conduct Committee at [email protected].
2525

2626
In the interest of fostering an open and welcoming environment, we as
2727
contributors and maintainers pledge to making participation in our project and
28-
our community a harassment-free experience for everyone, regardless of gender
29-
identity and expression, sexual orientation, disability, physical appearance,
30-
body size, ethnicity, nationality, race, age, religion, level of experience, education,
28+
our community a harassment-free experience for everyone, regardless of gender
29+
identity and expression, sexual orientation, disability, physical appearance,
30+
body size, ethnicity, nationality, race, age, religion, level of experience, education,
3131
socioeconomic status, or other similar personal characteristics.
3232

3333
## Our Standards
@@ -77,23 +77,23 @@ further defined and clarified by project maintainers.
7777
## Enforcement
7878

7979
Instances of abusive, harassing, or otherwise unacceptable behavior may be
80-
reported by contacting the Salesforce Open Source Conduct Committee
81-
at [email protected]. All complaints will be reviewed and investigated
82-
and will result in a response that is deemed necessary and appropriate to the
83-
circumstances. The committee is obligated to maintain confidentiality with
84-
regard to the reporter of an incident. Further details of specific enforcement
80+
reported by contacting the Salesforce Open Source Conduct Committee
81+
at [email protected]. All complaints will be reviewed and investigated
82+
and will result in a response that is deemed necessary and appropriate to the
83+
circumstances. The committee is obligated to maintain confidentiality with
84+
regard to the reporter of an incident. Further details of specific enforcement
8585
policies may be posted separately.
8686

8787
Project maintainers who do not follow or enforce the Code of Conduct in good
8888
faith may face temporary or permanent repercussions as determined by other
89-
members of the project's leadership and the Salesforce Open Source Conduct
89+
members of the project's leadership and the Salesforce Open Source Conduct
9090
Committee.
9191

9292
## Attribution
9393

9494
This Code of Conduct is adapted from the [Contributor Covenant][contributor-covenant-home],
95-
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html.
96-
It includes adaptions and additions from [Go Community Code of Conduct][golang-coc],
95+
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html.
96+
It includes adaptions and additions from [Go Community Code of Conduct][golang-coc],
9797
[CNCF Code of Conduct][cncf-coc], and [Microsoft Open Source Code of Conduct][microsoft-coc].
9898

9999
This Code of Conduct is licensed under the [Creative Commons Attribution 3.0 License][cc-by-3-us].

CONTRIBUTING.md

Lines changed: 72 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,83 @@
1-
# Contributing
1+
# Contributing Guide For Grammaticus
22

3-
Welcome to Grammaticus! We appreciate your interest in contributing to our open source projects on GitHub.
3+
This page lists the operational governance model of this project, as well as the recommendations and requirements for how to best contribute to Grammaticus. We strive to obey these as best as possible. As always, thanks for contributing – we hope these guidelines make it easier and shed some light on our approach and processes.
44

5-
## Issues
5+
# Governance Model
66

7-
We encourage you to submit issues and enhancement requests through our [GitHub Issues](https://github.com/salesforce/grammaticus/issues) page. Please check existing issues before creating new ones to avoid duplicates.
7+
## Salesforce Sponsored
88

9-
## Contributing Process
9+
The intent and goal of open sourcing this project is to increase the contributor and user base. However, only Salesforce employees will be given `admin` rights and will be the final arbitrars of what contributions are accepted or not.
1010

11-
We follow the "fork-and-pull" Git workflow for contributions:
11+
# Issues, requests & ideas
1212

13-
1. Fork the repository on GitHub
14-
2. Clone the project to your local machine
15-
3. Create a feature branch and commit your changes
16-
4. Push your work to your fork on GitHub
17-
5. Submit a Pull Request for review
13+
Use GitHub Issues page to submit issues, enhancement requests and discuss ideas.
1814

19-
**Important**: Always merge the latest changes from "upstream" before making a pull request to ensure your code is up-to-date.
15+
### Bug Reports and Fixes
16+
- If you find a bug, please search for it in the [Issues](https://github.com/salesforce/grammaticus/issues), and if it isn't already tracked,
17+
[create a new issue](https://github.com/salesforce/grammaticus/issues/new). Fill out the "Bug Report" section of the issue template. Even if an Issue is closed, feel free to comment and add details, it will still
18+
be reviewed.
19+
- Issues that have already been identified as a bug (note: able to reproduce) will be labelled `bug`.
20+
- If you'd like to submit a fix for a bug, [send a Pull Request](#creating_a_pull_request) and mention the Issue number.
21+
- Include tests that isolate the bug and verifies that it was fixed.
2022

21-
## Coding Standards
23+
### New Features
24+
- If you'd like to add new functionality to this project, describe the problem you want to solve in a [new Issue](https://github.com/salesforce/grammaticus/issues/new).
25+
- Issues that have been identified as a feature request will be labelled `enhancement`.
26+
- If you'd like to implement the new feature, please wait for feedback from the project
27+
maintainers before spending too much time writing the code. In some cases, `enhancement`s may
28+
not align well with the project objectives at the time.
2229

23-
Code consistency is paramount. Please adhere to the following guidelines:
24-
- Follow the existing style, formatting, and naming conventions of the file you're modifying
25-
- Write clear, descriptive commit messages
26-
- Include appropriate documentation for new features
27-
- Add tests for new functionality
30+
### Tests, Documentation, Miscellaneous
31+
- If you'd like to improve the tests, you want to make the documentation clearer, you have an
32+
alternative implementation of something that may have advantages over the way its currently
33+
done, or you have any other change, we would be happy to hear about it!
34+
- If its a trivial change, go ahead and [send a Pull Request](#creating_a_pull_request) with the changes you have in mind.
35+
- If not, [open an Issue](https://github.com/salesforce/grammaticus/issues/new) to discuss the idea first.
2836

29-
## License
37+
If you're new to our project and looking for some way to make your first contribution, look for
38+
Issues labelled `good first contribution`.
3039

31-
This project is licensed under the [Grammaticus License](https://github.com/salesforce/grammaticus/blob/master/LICENSE.txt). By contributing, you agree to license your contributions under the same terms.
40+
# Contribution Checklist
41+
42+
- [x] Clean, simple, well styled code
43+
- [x] Commits should be atomic and messages must be descriptive. Related issues should be mentioned by Issue number.
44+
- [x] Comments
45+
- Module-level & function-level comments.
46+
- Comments on complex blocks of code or algorithms (include references to sources).
47+
- [x] Tests
48+
- The test suite, if provided, must be complete and pass
49+
- Increase code coverage, not versa.
50+
- Use any of our testkits that contains a bunch of testing facilities you would need. For example: `import com.salesforce.op.test._` and borrow inspiration from existing tests.
51+
- [x] Dependencies
52+
- Minimize number of dependencies.
53+
- Prefer Apache 2.0, BSD3, MIT, ISC and MPL licenses.
54+
- [x] Reviews
55+
- Changes must be approved via peer code review
56+
57+
# Creating a Pull Request
58+
59+
1. **Ensure the bug/feature was not already reported** by searching on GitHub under Issues. If none exists, create a new issue so that other contributors can keep track of what you are trying to add/fix and offer suggestions (or let you know if there is already an effort in progress).
60+
3. **Clone** the forked repo to your machine.
61+
4. **Create** a new branch to contain your work (e.g. `git br fix-issue-11`)
62+
4. **Commit** changes to your own branch.
63+
5. **Push** your work back up to your fork. (e.g. `git push fix-issue-11`)
64+
6. **Submit** a Pull Request against the `main` branch and refer to the issue(s) you are fixing. Try not to pollute your pull request with unintended changes. Keep it simple and small.
65+
7. **Sign** the Salesforce CLA (you will be prompted to do so when submitting the Pull Request)
66+
67+
> **NOTE**: Be sure to [sync your fork](https://help.github.com/articles/syncing-a-fork/) before making a pull request.
68+
69+
# Contributor License Agreement ("CLA")
70+
In order to accept your pull request, we need you to submit a CLA. You only need
71+
to do this once to work on any of Salesforce's open source projects.
72+
73+
Complete your CLA here: <https://cla.salesforce.com/sign-cla>
74+
75+
# Issues
76+
We use GitHub issues to track public bugs. Please ensure your description is
77+
clear and has sufficient instructions to be able to reproduce the issue.
78+
79+
# Code of Conduct
80+
Please follow our [Code of Conduct](CODE_OF_CONDUCT.md).
81+
82+
# License
83+
By contributing your code, you agree to license your contribution under the terms of our project [LICENSE](LICENSE.txt) and to sign the [Salesforce CLA](https://cla.salesforce.com/sign-cla)

0 commit comments

Comments
 (0)