mirror of
https://github.com/Meituan-Dianping/Logan.git
synced 2026-01-25 14:56:22 +00:00
50 lines
1.8 KiB
Markdown
50 lines
1.8 KiB
Markdown
# Contributing to Logan
|
|
|
|
Logan is a lightweight case logging system based on mobile platform developed by Meituan-Dianping
|
|
|
|
## Development Process
|
|
|
|
### Pull Requests
|
|
|
|
Please submit your pull request on the *master* branch.
|
|
|
|
*Before* submitting a pull request, please make sure the following is done…
|
|
|
|
1. Fork the repo and create your branch from `master`.
|
|
2. Add the copyright notice to the top of any new files you've added.
|
|
3. **Format your code**.
|
|
4. **Make sure your code can compile**.
|
|
5. Squash your commits (`git rebase -i`).
|
|
|
|
#### Copyright Notice for files
|
|
|
|
Copy and paste this to the top of your new file(s):
|
|
|
|
```
|
|
/*
|
|
* Copyright (c) 2018-present, 美团点评
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
* THE SOFTWARE.
|
|
*/
|
|
```
|
|
|
|
## License
|
|
|
|
By contributing to Logan, you agree that your contributions will be licensed under its MIT License.
|