|
| 1 | +# Title |
| 2 | + |
| 3 | +Provide standard base documentation through a README |
| 4 | + |
| 5 | +# Context |
| 6 | + |
| 7 | +A project is to be shared with others as an InnerSource project. In order for |
| 8 | +others to be able to understand what the project is about as well as how to |
| 9 | +contribute, the project needs to provide some base level documentation. So far |
| 10 | +the project is lacking either all documentation or some aspects needed for users |
| 11 | +to try it out in a self-service manner as well as for contributors to get up to |
| 12 | +speed quickly. |
| 13 | + |
| 14 | +# Problem |
| 15 | + |
| 16 | +A team wants to share either a freshly started or a pre-existing project with |
| 17 | +the wider organization and receive contributions to it. Potential contributors |
| 18 | +often are lost: They are failing to identify the team's preferred communication |
| 19 | +channels. They have trouble quickly making a judgment about whether a new |
| 20 | +feature makes sense to be added or not. They have a hard time understanding |
| 21 | +exactly which colleagues are currently actively maintaining the project. |
| 22 | + |
| 23 | +# Forces |
| 24 | + |
| 25 | +- The project was converted into an InnerSource project only recently. Before, |
| 26 | + users were either only internal or on-boarded in personal face-to-face |
| 27 | + sessions. Equally, people working on the project went through personal |
| 28 | + on-boarding sessions which do not scale with growing numbers of contributors or |
| 29 | + remote contributors. As a result, self service documentation is lacking. |
| 30 | +- The project was newly created as an InnerSource project. However the host team |
| 31 | + lacks experience with InnerSource. As a result they need guidance on which |
| 32 | + information to include in their documentation, where to put that documentation |
| 33 | + so others can find it and which types of readers to address in their |
| 34 | + documentation. |
| 35 | +- The project was converted into an InnerSource project only recently, the host |
| 36 | + team has limited experience with InnerSource. As a result, existing |
| 37 | + documentation addresses a lot of technical aspects. It does not cover |
| 38 | + communication, coordination, information needed to facilitate transparent |
| 39 | + planning. |
| 40 | +- The project was converted into an InnerSource project only recently. As a |
| 41 | + result, a lot of implicit knowledge that exists within the team is neither |
| 42 | + written down nor obvious to contributors. |
| 43 | +- A lack of documentation leads to potential contributors taking a long time to |
| 44 | + get setup and get started. Producing documentation (and keeping it up to date) |
| 45 | + requires a time investment. Even if the host team relies on contributors to |
| 46 | + help with lacking documentation, those contributions still need time to review. |
| 47 | +- Project members are spending a lot of time answering getting started |
| 48 | + questions. Maintaining a comprehensive database of what could be considered |
| 49 | + support questions requires a lot of time and effort though. |
| 50 | +- Different teams within the organization have diverging standards for how to |
| 51 | + format source code and which software patterns to use. As a result |
| 52 | + contributions often end up getting re-written to a large part or even |
| 53 | + entirely. Standardizing all of that and enforcing the standard often |
| 54 | + would require a lot of time and work. |
| 55 | +- The added work for repeated explanations and re-writes diminishes the |
| 56 | + usefulness of the InnerSource approach. |
| 57 | +- Frequent escalations due to extra work and delays due to re-writes lead to a |
| 58 | + big cheese situation. |
| 59 | + |
| 60 | +# Solution |
| 61 | + |
| 62 | +Address the need for clearer documentation for new contributors. The goal when |
| 63 | +creating this documentation should be to make getting started as much a self |
| 64 | +service process as possible with frequently asked questions answered in standard |
| 65 | +documentation format. |
| 66 | + |
| 67 | +If it does not yet exist, create a **README.md** for your project. It should |
| 68 | +contain: |
| 69 | + |
| 70 | +* The [mission of the |
| 71 | + project](https://producingoss.com/en/producingoss.html#mission-statement) in |
| 72 | + as a concise format as possible. It should answer what the project's purpose |
| 73 | + is and enable contributors to make a good first guess whether a suggested |
| 74 | + feature will likely be in scope for the project, or not. |
| 75 | +* A "Getting Started" section for downstream users of the project. It should |
| 76 | + explain how to setup/ integrate the project artifacts as well as an |
| 77 | + explanation of some of the first typical steps for first time users. |
| 78 | +* Deeper documentation for project users - or a link to that. |
| 79 | +* Documentation needed for making modifications to the project - or a link to |
| 80 | + that. |
| 81 | +* Documentation on how to contribute to the project - or a link to that. |
| 82 | +* A "Getting involved" section that explains which public, archived, linkable |
| 83 | + communication channels the project uses. This should include a link to the |
| 84 | + project issue tracker, but also to any further discussion media used. |
| 85 | +* A "Who we are" section explaining who the Trusted Committers behind the |
| 86 | + project are - with an explanation that instead of contacting these people |
| 87 | + privately the public communication channels above should be used for |
| 88 | + communication. |
| 89 | +* An explanation of what the criteria are for the project to turn contributors |
| 90 | + into Trusted Committers - if that path exists. |
| 91 | + |
| 92 | +If the explanation of the steps to make a contribution are too involved, create |
| 93 | +a separate **CONTRIBUTING.md** document. This document should answer frequently |
| 94 | +asked questions that contributors have asked in the past. There is no need to |
| 95 | +provide a comprehensive book up front. Rather, share information that has proven |
| 96 | +needed by contributors. Likely it will touch upon one or more of the following |
| 97 | +topics: |
| 98 | + |
| 99 | +* How to checkout the project source code from version control. |
| 100 | +* How to make modifications to the project (potentially including information on |
| 101 | + coding guidelines.) |
| 102 | +* How to build the project. |
| 103 | +* How to run tests to make sure the above modifications aren't introducing new |
| 104 | + bugs. |
| 105 | +* How to submit your modifications back to the project. |
| 106 | +* Some information on which turnaround time to expect for modifications made. |
| 107 | + |
| 108 | + |
| 109 | +There are many of good examples for how to write a README.md and what kind |
| 110 | +of information to include in a CONTRIBUTING.md file in various open source projects. |
| 111 | +Pages like [how to write a readme that rocks](https://m.dotdev.co/how-to-write-a-readme-that-rocks-bc29f279611a), |
| 112 | +[Open Source Guide from GitHub](https://opensource.guide/) as well as |
| 113 | +the book [Producing Open Source](https://producingoss.com/en/producingoss.html) |
| 114 | +all have valuable information on what kind of information to provide. While |
| 115 | +Producing Open Source does not have a chapter on writing a good README per se, |
| 116 | +the [Getting Started |
| 117 | +chapter](https://producingoss.com/en/producingoss.html#starting-from-what-you-have) |
| 118 | +does provide a fairly extensive list of things that fellow host team members, |
| 119 | +users and contributors will need. InnerSource projects likely will not cover all |
| 120 | +of those aspects right from the start, the list itself is helpful for |
| 121 | +inspiration for what one could cover. In addition to that, this pattern comes |
| 122 | +with two very basic templates to get you started right away. |
| 123 | + |
| 124 | +# Resulting Context |
| 125 | + |
| 126 | +* The time for contributors to get up to speed is significantly reduced. |
| 127 | +* Time spent on answering initial questions for Trusted Committers is |
| 128 | + significantly reduced leaving them more time to work on other tasks. |
| 129 | +* Escalations due to misunderstandings and misalignment are significantly |
| 130 | + reduced. |
| 131 | + |
| 132 | +# Known Instances |
| 133 | + |
| 134 | +Europace AG, Paypal Inc. |
| 135 | + |
| 136 | +# Authors |
| 137 | + |
| 138 | +* Isabel Drost-Fromm |
| 139 | + |
| 140 | +# Acknoledgements |
| 141 | + |
| 142 | + |
| 143 | +# State |
| 144 | + |
| 145 | +Drafted in December 2019. |
0 commit comments