How to Contribute
We encourage beginners seeking answers to jump in by creating
donut patterns (filling in the problem, context, forces and resulting context fields but leaving the solution blank) as a way of asking the InnerSource Commons community for help (to find a proven solution or to brainstorm things to try).
Anyone can offer reviews and comments for in-progress patterns. We encourage experts to pad their experience - these are hoped to become part of an Inner Source handbook one day.
We work together via GitHub, WebEx, Slack, etc. Do not hesitate to join the #innersourcecommons or #innersource-patterns Slack channels and ask to be included in the patterns meetings (there is an email list).
Select one of the following ways to contribute, to learn our workflow:
- A. Write a new pattern
- B. Discuss/Record early ideas
- C. Review existing patterns
- D. Take part in our Meetings and Roles <-- link to separate doc
A. Writing a New Pattern
The below steps can be used to create a new pattern. The use-case here is that you have an idea or problem in your head and can confidently fill out the barest of pattern fields (Solution doesn't need to be known). If you are unsure your idea is ready for this, discuss it in an issue first.
The simplest way to create a pattern is with your browser (see below).
Like the command-line better? See here for alternate instructions.
- Login to GitHub & inside the patterns web repo, click on the 'Create new file' button
- Name the file like this example: "project-management-time-pressures.md"
- Use the pattern template to create your new markdown file with the description of your fledgling pattern; it does not need to be complete, as you can add to it later
- Enter a commit message
- If you are asked to 'Commit directly' vs 'Create a new branch', see branching details below.
- Propose this new file and then also create a Pull Request (PR)
You're done! This creates a separate branch and creates a Pull Request (PR) all in one fell swoop! PR's are the mechanism we use for our Review process. See next steps in Interacting with Pattern Reviews.
Use Branches When Creating New Patterns
We develop new patterns in branches with the naming convention:
If you are asked to 'Commit directly...' vs 'Create a new branch...'
- Assure you select 'Create a new branch...' and name the branch like this example: "pattern/project-management-time-pressures".
- This occurs when writing a new pattern via the web interface (section A above).
- Only Trusted Collaborators (TC's) are asked this; we are adding most contributors as TC's.
Other Tips For Submissions
- Place each sentence on a new line. GitHub allows leaving comments on a line-by-line basis. Review and comment on the content of submitted text is much easier if there are multiple lines on-which to leave comments. Sentences on consecutive lines will be collapsed into a single paragraph (like this one) for the final reader of the content.
B. Discussing Early Ideas in Issues
If you feel that you need extra advice when dealing with patterns, please open an issue. This process is only needed when contributing early ideas that you are uncertain about.
Here are tips on starting this discussion:
- Create a new ticket, add a concise title, and describe your problem. Think about the context of your problem and your expected output. Where do you see this problem most? What is the setup of your business and organization? Do you have opinions/ideas on what causes or leads-to the problem?
- Ask any questions that you are unsure about. Are you unsure if this problem belongs here? Are you unsure on how to frame and explain the problem?
- Apply the label
Early Idea. Labels can be found in the right column settings.
After this process, it is our turn to drive you through the pattern creation process. We will help to land your idea and check if there are existing similar patterns.
C. Interacting with Patterns Reviews
A pattern is said to be "in-review" or being "Reviewed" when we have a Pull Request with some amount of Pattern detail filled out. We then communally review, and comment-on, and OK these "in-review" patterns. Usually, we first look for a pattern with all the fields filled out, and then go through TWO peer-reviews.
Editing a pattern that is in-review
Go ahead, edit away - we can always go back - and we encourage action over discussion.
Reviewing a pattern
FIXME Explain how to add review comments and accepting a review. Basically, this is all done through Githubs web GUI around Pull Requests.
FIXME Give tips for good reviews. We have done both interspersed comments, or pattern-wide advise. Be constructive. If you can fix the problem, edit the PR instead of leaving a comment.
Our Review Process
Below are the procedural steps in our Review process:
- Decide which Maturity level your pattern is in:
Donut (Lacks solution),
Proven; these all describe what state the Solution is in.
- Decide which Review Step you are in: Usually
Do 1st Review
- Reviewers can now use the PR features to comment on the pattern.
- In most cases, we do two reviews, and the PR's labels should reflect
Do 2nd Reviewetc.
- After reviews are complete, the reviewers or author should Revise and Finalize the pattern, eventually labeling it with
- Once a pattern is
Acceptedby the reviewers, one of the Trusted Collaborators (most authors are by this point) can Merge the PR on Github. This places the .md file into the master branch / root directory.
When completed patterns (reviewed and accepted) are ready to be published from this InnerSourcePatterns repo to a Gitbook (PDF), see our separate Publishing instructions.