|
| 1 | += EcoStd RFCs |
| 2 | +:license: Creative Commons Attribution 4.0 International License (CC BY 4.0) |
| 3 | +:nofooter: |
| 4 | +:reproducible: |
| 5 | +:revdate: {docdate} |
| 6 | +:sectanchors: |
| 7 | +:sectnumlevels: 10 |
| 8 | +:sectnums: |
| 9 | +:source-highlighter: rouge |
| 10 | +:toc-title: Contents |
| 11 | +:toc: |
| 12 | +:toclevels: 5 |
| 13 | +:version-label!: |
| 14 | + |
| 15 | +// TODO: Fill with "Design" section from 0001-rfc-process proposal below. |
| 16 | + |
| 17 | +[#process] |
| 18 | +== Process |
| 19 | + |
| 20 | +In order to add or make changes to the EcoStd standards one must get an RFC |
| 21 | +approved (i.e. proposed, discussed, voted on, and merged). Before following the |
| 22 | +steps below, make sure to read this entire process. As there are considerations |
| 23 | +to keep in mind that will improve the chances of your proposal being effective. |
| 24 | +The steps to submit an RFC are: |
| 25 | + |
| 26 | +. Fork the https://github.com/ecostd/rfcs[RFCs repository]. |
| 27 | + |
| 28 | +. Copy the `src/00/00-template-adoc` (or `src/00/00-template-md` for |
| 29 | + Markdown |
| 30 | + footnote:gfm[GitHub Flavored Markdown (https://github.github.com/gfm/)]) |
| 31 | + directory to `src/00/00-sliced-bread` (change `sliced-bread` to |
| 32 | + something short, but descriptive). |
| 33 | + |
| 34 | +. Write your RFC in the `proposal.adoc` (or `proposal.md` for Markdown |
| 35 | + footnote:gfm[]) |
| 36 | + file. If you need additional files you should place them *only* in the |
| 37 | + directory. It's important, i.e. required, to properly fill in the `authors` |
| 38 | + and `email` metadata fields at the top with your information. As they are |
| 39 | + used for proper license attribution. Consult the |
| 40 | + https://docs.asciidoctor.org/asciidoc/latest/[Asciidoctor documentation], |
| 41 | + or on how to do that. |
| 42 | + |
| 43 | +. Submit a pull request. In addition to the RFC itself you should provide a |
| 44 | + brief description in the pull request itself. Copy-pasting the RFC abstract |
| 45 | + into the PR description is minimally sufficient. |
| 46 | + |
| 47 | +. Use the pull request number you now have to rename the |
| 48 | + `src/00/00-my-proposal` directory to match the PR number and fill the |
| 49 | + `rfcpr` field in `proposal.adoc` (or `proposal.md` for Markdown |
| 50 | + footnote:gfm[]) to match. |
| 51 | + |
| 52 | +. At this time the RFC will be considered _active_ and will be labeled |
| 53 | + accordingly. The RFC will receive initial feedback for which you will need to |
| 54 | + respond, preferably both in the PR comments and reflected in the RFC text |
| 55 | + itself. |
| 56 | + |
| 57 | +. After some time, and sufficient discussion and interest, and if this is a |
| 58 | + proposal for a standard change (or addition) you will need to write wording for |
| 59 | + the standard and create a PR in the |
| 60 | + https://github.com/ecostd/standard[standard] repository. You may also be |
| 61 | + directly asked to produce a wording PR if needed. When you have such a PR |
| 62 | + edit the RFC `stdpr` field. The RFC will be labeled either as needing |
| 63 | + wording and/or having wording as appropriate. The wording PR will be |
| 64 | + discussed in that PR and/or the RFC. The discussion may incur doing changes |
| 65 | + to the RFC. |
| 66 | + |
| 67 | +. After sufficient time and discussion the combined RFC and wording PR will |
| 68 | + be considered ready for a decision on further progress. A member of the |
| 69 | + "adoption review group" will propose taking a vote for adoption. |
| 70 | + |
| 71 | +. An adoption vote starts after three members of the review group agree. The |
| 72 | + vote will last at most 28 calendar days, and at least 7 calendar days. The |
| 73 | + length of the voting period will be part of the voting proposal. But the |
| 74 | + length is subject to community feedback before and during the voting. The |
| 75 | + RFC PR will be labeled accordingly to reflect the voting. |
| 76 | + |
| 77 | +. When the adoption vote completes the RFC is either approved or rejected. The |
| 78 | + RFC will be labeled accordingly and may be closed. |
| 79 | + |
| 80 | +. A rejected RFC PR may be closed depending on the reasons for rejection. The |
| 81 | + RFC may stay active, but go back to being discussed, if there are changes |
| 82 | + possible and reconsidered for approval. |
| 83 | + |
| 84 | +. An approved RFC PR is closed, and labeled as adopted. The actions proscribed |
| 85 | + in the RFC are then taken up by others to complete. For RFCs that affect the |
| 86 | + https://github.com/ecostd/standard[standard] will continue in the related |
| 87 | + PR by the "standard editors group". |
| 88 | + |
| 89 | +TIP: The preferred document format for RFCs is |
| 90 | +https://asciidoctor.org[Asciidoctor]. But the |
| 91 | +https://github.github.com/gfm/[GitHub Flavored Markdown] format is supported as |
| 92 | +an alternative. The extent of support is subject to what is supported by the |
| 93 | +conversion to Asciidoctor process as part of build the HTML for the |
| 94 | +https://ecostd.github.io/rfcs/[RFCs website]. |
| 95 | + |
| 96 | +[#guidelines] |
| 97 | +== Guidelines |
| 98 | + |
| 99 | +These are a loose collection of rules to follow, things to keep in mind, and |
| 100 | +background information that is useful when creating RFCs. They are grouped by |
| 101 | +the aspect of RFCs that they apply to: |
| 102 | + |
| 103 | +<<guidelines-mechanics>>:: Guidelines for the task of the RFC and PR itself. |
| 104 | +<<guidelines-design>>:: Guidelines for that help with the design content of an RFC. |
| 105 | + |
| 106 | +These are _guidelines_, and not _rules_. They are expected to be true most |
| 107 | +times. But we allow for flexibility in the process. The goal is to reduce |
| 108 | +friction as much as possible without sacrificing comprehensive evaluation of |
| 109 | +RFCs. |
| 110 | + |
| 111 | +[#guidelines-mechanics] |
| 112 | +=== Mechanics |
| 113 | + |
| 114 | +Do not squash, or otherwise coalesce, changes for RFC PRs:: |
| 115 | +After creating an RFC PR additional updates should be done as additional, plain, |
| 116 | +commits. Having the additional commits helps in tracking how feedback is |
| 117 | +addressed. When an RFC is approved it will be squash merged. Hence attempts to |
| 118 | +pre-squash would be wasted. |
| 119 | + |
| 120 | +Mirror external feedback in the PR:: |
| 121 | +Any feedback you get outside of PR comments should be summarized, by you, as |
| 122 | +comments in the PR. And if there are changes, i.e. additional commits, to the |
| 123 | +RFC that are related they should be mentioned in the PR comments. |
| 124 | + |
| 125 | +Do not change approved PRs:: |
| 126 | +After a PR is approved, and labeled as such, do not alter it. It will be merged |
| 127 | +in due time. If there are followup changes they should come as different RFCs. |
| 128 | + |
| 129 | +[#guidelines-design] |
| 130 | +=== Design |
| 131 | + |
| 132 | +Prefer solutions that cast a wide net:: |
| 133 | +The key goal of EcoStd is to facilitate wide adoption and interoperation. Hence |
| 134 | +single solutions that solve a wide scope are preferred. Which means that you can |
| 135 | +expect questions like: "`Does this solve X, Y, and Z also?`", "`Have you |
| 136 | +considered use case U?`", and more. |
| 137 | + |
| 138 | +Including existing practice is essential for an RFC:: |
| 139 | +Engineering is an iterative practice as such it makes progress from existing |
| 140 | +solutions towards better ones. Solutions without a problem are just dreams that |
| 141 | +are not likely widely shared. For those reasons, and more, it's imperative that |
| 142 | +an RFC is based on existing practice, i.e. demonstrate that there's a problem |
| 143 | +and solution that this is trying to improve. |
| 144 | + |
| 145 | +Seek consensus with proposals and when responding to feedback:: |
| 146 | +Because of the goal of this collective work is to achieve as widespread adoption |
| 147 | +as possible it's important to consider the varied viewpoints when composing |
| 148 | +solutions to problems. You should seek consensus as much as possible at all |
| 149 | +times. There are many ways to achieve consensus, and it would be impossible to |
| 150 | +enumerate them. But some general ones are: |
| 151 | +* Provide rationale (pros and cons) for decisions and feedback. |
| 152 | +* Seek to increase factual data in your proposal. |
| 153 | +* Include real world examples and use cases. |
| 154 | +* Provide before and after comparisons if you are proposing behavior changes. |
| 155 | + |
| 156 | +// TODO: Fill with "Design" section from 0001-rfc-process proposal above. |
| 157 | + |
| 158 | +[[license]] |
| 159 | +== License |
| 160 | + |
| 161 | +This repository, and all contributions to it, are licensed under |
| 162 | +https://creativecommons.org/licenses/by/4.0/[CC BY 4.0]. |
| 163 | + |
| 164 | +ifeval::["{publish}" == "html"] |
| 165 | + |
| 166 | +[[rfcs]] |
| 167 | +== Adopted RFCs |
| 168 | + |
| 169 | +include::.build/rfcindex.adoc[] |
| 170 | + |
| 171 | +endif::[] |
| 172 | + |
| 173 | +include::CONTRIBUTORS.adoc[leveloffset=+1] |
0 commit comments