| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Many changes, including bug fixes and documentation improvements should be implemented and reviewed via the normal GitHub pull request workflow.
For more "substantial" changes, and we ask that these be put through a bit of a design process and produce a consensus among the go-git maintainers and the community.
The "RFC" (request for comments) process is intended to provide a consistent and controlled path for new features to enter the project.
You should consider using this process if you intend to make "substantial" changes to go-git. What constitutes a "substantial" change is evolving based on community norms, but may include the following:
Some changes do not require an RFC:
If you submit a pull request to implement a new feature without going through the RFC process, it may be closed with a polite request to submit an RFC first.
A hastily-proposed RFC can hurt its chances of acceptance. Low quality proposals, proposals for previously-rejected features, or those that don't fit into the near-term roadmap, may be quickly rejected, which can be demotivating for the unprepared contributor. Laying some groundwork ahead of the RFC can make the process much smoother.
Although there is no single way to prepare for submitting an RFC, it is generally a good idea to pursue feedback from other contributors beforehand, to ascertain whether the RFC may be desirable: having a consistent impact on the project requires concerted effort towards consensus-building.
The most common preparations for writing and submitting an RFC include talking the idea over on our Discord server or discussing the topic via GitHub Issues.
As a rule of thumb, receiving encouraging feedback from long-standing project contributors, and particularly maintainers, is a good indication that the RFC is worth pursuing.
In short, to get a major feature added to go-git, one must first get the RFC merged into the RFC repository as a markdown file. At that point the RFC is 'active' and may be implemented with the goal of eventual inclusion into go-git.
Once an RFC becomes active, then authors may implement it and submit the feature as a pull request to the go-git repo. Becoming 'active' is not a rubber stamp, and in particular still does not mean the feature will ultimately be merged; it does mean that the maintainers have agreed to it in principle and are amenable to merging it.
Furthermore, the fact that a given RFC has been accepted and is 'active' implies nothing about what priority is assigned to its implementation, nor whether anybody is currently working on it.
Modifications to active RFCs can be done in follow-up PRs. We strive to write each RFC in a manner that it will reflect the final design of the feature; but the nature of the process means that we cannot expect every merged RFC to actually reflect what the end result will be at the time of the next major release; therefore we try to keep each RFC document somewhat in sync with the language feature as planned, tracking such changes via follow-up pull requests to the document.
The author of an RFC is not obligated to implement it. Of course, the RFC author (like any other contributor) is welcome to post an implementation for review after the RFC has been accepted. RFC authors may provide an off-tree implementation of the RFC, specially when they believe it would be helpful to others in understanding and testing it.
| Back | FazBrowse Home | New Git URL |