WARNING WARNING WARNING: This is the Digital Rebar v2 product documentation. The v2 version is EOL as of September 2017. Please refer to the new Digital Rebar Provision v3 documentation: http://provision.readthedocs.io/en/tip/README.html
8.2. Contributing to Digital Rebar Core¶
Before submitting pull requests, please make sure to read and understood the Apache license. Submitting a pull is considered to be accepting the project’s license terms.
TODO: This isn’t what we do as much. It is still true-ish, but may change shortly.
We are using this style branching model. The main goal is not to develop in master, but in the develop branch so that master is the latest validated code. develop should be stable and tests should have been run against it, but hasn’t necessarily been regression tested for production release stability. Feature branches are encouraged for shared work. Large features requiring multiple items or multiple individual participation can be created in the Digital Rebar repository. This should be discussed in the weekly Digital Rebar meetings. Once complete, these features would be merged into develop.
8.2.1. Guidelines for Pull Requests¶
- Must be Apache 2 license
- For bugs & minor items (20ish lines), we can accept the request at our discretion
- UX strings are localized (only EN file needs to be updated)
- Does not inject vendor information (Name or Product) into Digital Rebar expect where relevant to explain utility of push (e.g.: help documentation & descriptions).
- Passes code review by Digital Rebar team reviewer
- Does not degrade the security model of the product
- Items requiring more scrutiny
- Major changes
- New barclamps
- New technology
- Pull requests should be against a defined feature branch in the Digital Rebar repo or the develop branch
- Pull requests once pulled into develop will be merged into master at release boundaries.
- Accept no non-bug fix push requests within 2 weeks of a release fork
- No SLA - code accepted at PTLs discretion. No commitment to accept changes.
8.2.3. Coding Expectations¶
8.2.4. Testing/ Validation¶
- For core functions, the push will be validated to ensure it does NOT break build, deploy, or our commercial products
- For operating systems that are non-core, we will not validate on the target OS for the push.
- Eventually, we expect that a pull request will be built and tested in our CI system before the push can be accepted.