Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Latest commit

 

History

History
53 lines (28 loc) · 2.17 KB

CONTRIBUTING.md

File metadata and controls

53 lines (28 loc) · 2.17 KB

Contributing

Contributions are welcome!

Please carefully read this page to make the code review process go as smoothly as possible and to maximize the likelihood of your contribution being merged.

License Agreement

Solenoid is licensed under the BSD license. In your commit messages, you must specify that you agree to contribute under the BSD license. Pull requests also must agree to submit under the BSD license.

Bug Reports

For bug reports or requests submit an issue.

Pull Requests

The preferred way to contribute is to fork the main repository on GitHub.

  1. Fork the main repository. Click on the 'Fork' button near the top of the page. This creates a copy of the code under your account on the GitHub server.

  2. Clone this copy to your local disk:

     $ git clone https://github.com/ios-xr/Solenoid.git
     $ cd solenoid
    
  3. Create a branch to hold your changes and start making changes. Don't work in the master branch! If you are adding a feature, use the format 'feature/my-feature', for a bug use 'bug/issue-id'.

     $ git checkout -b feature/my-feature
    
  4. Work on this copy on your computer using Git to do the version control. When you're done editing, run the following to record your changes in Git:

     $ git add modified_files
     $ git commit
    
  5. Push your changes to GitHub with:

     $ git push -u origin my-feature
    
  6. Finally, go to the web page of your fork of the solenoid repo and click 'Pull Request' to send your changes for review.

GitHub Pull Requests Docs

If you are not familiar with pull requests, review the pull request docs.

Code Quality

Ensure your pull request satisfies all of the following, where applicable:

  • Follows PEP 8 code quality standards, as well as PEP 257 for docstrings.

  • Is thoroughly unit-tested.