github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/mlir/CONTRIBUTING.md (about)

     1  # How to Contribute
     2  
     3  Everyone is welcome to contribute to MLIR. There are several ways of getting involved and contributing including reporting bugs, improving documentation, writing models or tutorials. 
     4  
     5  Please read our [Code of Conduct](https://github.com/tensorflow/tensorflow/blob/master/CODE_OF_CONDUCT.md) before participating.
     6  
     7  ## Community Guidelines
     8  
     9  This project follows [Google's Open Source Community
    10  Guidelines](https://opensource.google.com/conduct/).
    11  
    12  ## How to become a contributor and submit your own code
    13  
    14  ### Contributor License Agreements
    15  
    16  We'd love to accept your patches! Before we can take them, please fill out either the individual or corporate Contributor License Agreement (CLA).
    17  
    18  * If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](https://code.google.com/legal/individual-cla-v1.0.html).
    19    * If you work for a company that wants to allow you to contribute your work, then you'll need to sign a [corporate CLA](https://code.google.com/legal/corporate-cla-v1.0.html).
    20  
    21  Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll be able to accept your pull requests.
    22  
    23  ***NOTE***: Only original source code from you and other people that have signed the CLA can be accepted into the main repository.
    24  
    25  ### Contributing code
    26  
    27  If you have improvements to MLIR, send us your pull requests! For those
    28  just getting started, GitHub has a [howto](https://help.github.com/articles/using-pull-requests/).
    29  
    30  MLIR team members will be assigned to review your pull requests. Once the pull requests are approved and pass continuous integration checks, a team member will merge your pull request submitted to our internal repository. After the change has been submitted internally, your pull request will be merged automatically on GitHub.
    31  
    32  If you want to contribute, start working through the MLIR codebase, navigate to [Github "issues" tab](https://github.com/tensorflow/mlir/issues) and start looking through interesting issues. If you decide to start on an issue, leave a comment so that other people know that you're working on it. If you want to help out, but not alone, use the issue comment thread to coordinate.
    33  
    34  ### Contribution guidelines and standards
    35  
    36  *   Read the [developer guide](g3doc/DeveloperGuide.md).
    37  *   Ensure that you use the correct license. Examples are provided below.
    38  *   Include tests when you contribute new features, as they help to a)
    39      prove that your code works correctly, and b) guard against future breaking
    40      changes to lower the maintenance cost.
    41  *   Bug fixes also generally require tests, because the presence of bugs
    42      usually indicates insufficient test coverage.
    43  
    44  #### License
    45  
    46  Include a license at the top of new files.
    47  
    48  * [C/C++ license example](https://github.com/tensorflow/mlir/blob/master/examples/toy/Ch1/toyc.cpp)
    49  * [Python license example](https://github.com/tensorflow/mlir/blob/master/bindings/python/test/test_py2and3.py)