Cloud Native Buildpacks RFCs - Active RFCs, Finalizing RFCs
Want to suggest a change to the Cloud Native Buildpacks project? Awesome!
We follow an RFC (Request for Comments) process for substantial changes to the project. This process was originally described in RFC 0004 and was amended in:
To get a proposal into Cloud Native Buildpacks, first, an RFC needs to be merged into the RFC repo. Once an RFC is merged, it's considered 'active' and may be implemented to be included in the project. These steps will get an RFC to be considered:
- Fork the RFC repo: https://github.com/buildpacks/rfcs
- Copy
0000-template.md
totext/0000-my-feature.md
(where 'my-feature' is descriptive. don't assign an RFC number yet). - Fill in RFC. Any section can be marked as "N/A" if not applicable.
- Submit a pull request. The pull request is the time to get review of the proposal from the larger community.
- Build consensus and integrate feedback. RFCs that have broad support are much more likely to make progress than those that don't receive any comments.
Once a pull request is opened, the RFC is now in development and the following will happen:
- The following labels will be applied as appropriate:
spec/<spec>
- For example, an RFC proposing a change to the Platform Specification will be labeled withspec/platform
.audience/<audience>
- For example, an RFC proposing a new pack feature for buildpack authors will be labeled withaudience/buildpack-author
- It will be discussed in a future working group meeting. Working group meetings happen on a weekly cadence barring exceptions.
- The team will discuss as much as possible in the RFC pull request directly. Any outside discussion will be summarized in the comment thread.
- When deemed "ready", a team member will propose a "motion for final comment period (FCP)" along with a disposition of the outcome (merge, close, or postpone). This is step taken when enough discussion of the tradeoffs have taken place and the team is in a position to make a decision. Before entering FCP, super majority of the team must sign off.
When a pull request enters FCP the following will happen:
- A team member will apply the "Final Comment Period" label.
- The FCP will last 7 days. If there's unanimous agreement among the team the FCP can close early.
- For voting, the binding votes are comprised of the core team (and subteam maintainers if labeled as a subteam RFC). Acceptance requires super majority of binding votes in favor. The voting options are the following: Affirmative, Negative, and Abstinence. Non-binding votes are of course welcome. Super majority means 2/3 or greater and no single company can have more than 50% of countable votes.
- If no substantial new arguments or ideas are raised, the FCP will follow the outcome decided. If there are substantial new arguments, then the RFC will go back into development.
Once an RFC has been accepted, the sub-team maintainers should:
- Create issues referencing the RFC PR.
- Label the PR with
issues-created/<sub-team>
after issues have been created or if zero issues necessary for a given sub-team.
Once an issues-created/<sub-team>
label has been created for each sub-team, the RFC is ready to merge. The team member who merges the pull request should do the following:
- Assign an id based off the pull request number.
- Rename the file based off the ID inside
text/
. - Fill in the remaining metadata at the top.
- Commit everything.
- Update issues with RFC ID and a link to the text file.
- Update any links in PR description to point at the committed file.
- Remove the "status/voting" label.
- Create a tracking issue.
The merge-rfc.sh
script automates several steps of the merge process for accepted RFCs. The following will assign an ID, update the RFC metadata with references to the PR and created issues, and merge an RFC to the main
.
./merge-rfc.sh [-i <issue>...] [-n] <PR#>
Each <issue>
should be of the form <org>/<repo>#<number>
(e.g. buildpacks/spec#1
). In the rare case that no work must be done in the project as a result of the RFC pass the -n
flag to explicitly indicate that no issues should be linked.
After running the merge-rfc.sh
script:
- Manually verify the output before pushing changes.
- Create a tracking issue.