Skip to content

paketo-buildpacks/rfcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Paketo RFCs

Accepted RFCs

Implemented RFCs

Superseded RFCs

Why RFC?

The RFC (Request For Comments) process is intended to provide a consistent procedure for all major decisions affecting Paketo Buildpacks.

What is an RFC?

A Request For Comments starts with a document of proposed changes to Paketo Buildpack(s). All major decisions must start with an RFC proposal. Once an RFC has been proposed, anyone may ask questions, provide constructive feedback, and discuss trade-offs. But only the steering committee or team maintainers will be able to ratify an RFC for project-level and team-level RFCs, respectively.

When to Write an RFC?

Many changes, including bug fixes and documentation improvement can be implemented and reviewed by the normal Github pull request process. For substantial changes, we ask that an RFC be proposed as a method to achieve consensus within the Paketo community.

Pull Requests / Issues

If the change is made as a pull request, but is considered substantial or more clarity/discussion is warranted, the issue will be closed and the author will be requested to open new issues.

What's in Scope

You'll need to follow this process for anything considered "substantial". What constitutes a "substantial" change may include the following but is not limited to:

  • Adding/Removing a repository to Paketo
  • Changes to the contents of the Data Format files defined here
  • Changes that affect the contents of the output image
  • Process changes
  • Governance changes

For clarification about where a change fits into this model, please review previous RFCs, or reach out on the official Paketo Slack.

Project-Level vs. Team-Level RFCs

If the changes proposed in the RFC are scoped to a specific sub-team, please open a team-level RFC. If the proposal will affect the multiple teams or the entire project please open a project-level RFC.

Examples of project-level RFCs:

  • Process changes that affect all teams
  • New conventions that should be adopted by all buildpacks
  • A proposal to add a standard configuration option to every buildpack (e.g. BP_LOG_LEVEL)
  • Changes to the governance structure
  • Change to the RFC process

Examples of teams-level RFCs:

  • A proposal to support a workflow or feature in a particular language family (e.g. support building Java apps with Gradle)
  • A proposal to add a configuration option to a particular language family buildpacks
  • Process changes that affect a single team

Process

RFCs

To get an RFC implemented, first the RFC needs to be merged into the rfcs repo. Once an RFC is merged, it's considered 'accepted' and may be implemented in the project. These steps will get an RFC to be considered:

  • Fork the RFC repo: https://github.com/paketo-buildpacks/rfcs
  • Copy 'text/0000-template.md' to 'text/0000-my-feature.md' or 'text//0000-my-feature.md' for project-level or team-level RFCs respectively, where 'my-feature' is descriptive of the proposal (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:

  • It will be labeled as general or specific to a set of teams.

  • Voting members are defined as follows:

    • If the RFC affects a single team, voting members are Steering Committee Members + Maintainers who are part of the affected team
    • If the RFC affects multiple teams, voting members are Steering Committee Members + Maintainers who are part of the affected teams.
    • IF the RFC affects all teams, voting members are Steering Committee Members + All Maintainers

    The effect of an RFC referenced above can be defined as follows:

    • Changes inside a repo a team owns affect that team
    • If changes are proposed against a tool or utility, teams that use that utility are affected.
    • Changes to any specification that apply to a repo affect all teams that use or maintain that repo.
  • The community will discuss as much as possible in the RFC pull request directly. All discussion should be posted on the PR thread. When an RFC is deemed "ready"

  • A Voting member may propose a "motion for final comment period (FCP)" along with a disposition of the outcome (merge, close, or postpone). Before entering FCP, supermajority of the voting members must sign off.

  • This step is taken when enough discussion of the trade-offs have taken place and the team(s) is in a position to make a decision.

  • The FCP will last 7 days. If there's unanimous agreement among the team(s), then the FCP can close early.

  • Acceptance requires a supermajority of binding votes by voting members in favor. The voting options are the following: Affirmative, Negative, and Abstention. Non-binding votes are of course welcome. Supermajority means 2/3 or greater.

  • 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 maintainer who merges the pull request should do the following:

  • Assign an incremental ID (e.g. if currently 12 accepted project-level RFCs, assign ID 0013. If there are 3 accepted NodeJS team RFCs assign ID 0004).
  • Rename the file, replacing 0000 with the assigned ID.
  • Create a corresponding issue in the appropriate repo.
  • Fill in the remaining metadata at the top.
  • Commit everything.

After an RFC is accepted

Once an RFC is accepted, maintainers agree to merge a corresponding PR implementing the described changes, provided it passes a standard code review. It is not a guarantee of implementation, nor does it obligate a team to implement the requested changes.

Implementation

When the changes described in an RFC have been implemented and merged into the relevant repository (and thus, due to be released), the corresponding RFC will be moved from accepted/ to implemented/. If you'd like to implement an accepted RFC, please make a PR in the appropriate repo and mention the RFC in the PR. Feel free to do this even for work-in-progress code! If you'd like to track progress on an RFC implementation, check if an issue has been opened that requests the RFC be implemented. If not, feel free to open one.

Unresolved Questions

  • What clearly defines a "substantial" change?
  • How long should the Final Comment Period be?

Links

Slack

Buildpack Spec

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published