-
Notifications
You must be signed in to change notification settings - Fork 196
InnerSource Patterns workflow #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- this fixes #5 - added first workflow description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with the initial rework and review, @HaRo87 . Excellent start!
* be labeled with the appropriate label (_idea_, _donut_, _pattern_) | ||
# Create a new branch either in your clone or fork of the | ||
[patterns repository][patternsRepo]. Please use the following pattern for | ||
naming branches: `pattern/<patternName>`. Example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed the issue label from the branch name, @HaRo87 as GitHub does not apply the same auto linking as Bitbucket. AFAIK, only commits can be tagged with issue ids.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, makes sense to do that.
naming branches: `pattern/<patternName>`. Example: | ||
`pattern/contractedContributor`. | ||
# Create a _Markdown_ file with the description of the _idea_, _donut_ or | ||
_pattern_ and store it either the `ideas`, `donuts` or `patterns` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the subdirectories as a proposal. I think it would make sense to do this in order to avoid having a user of the repo guess whether a file describes an idea, a donut or a pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of putting the stuff into separate directories. Having a look at the Patterns template there are a couple of states a pattern can have:
brainstormed solution (not proven), a donut (no solution), a proven solution, a reviewed pattern, an untested idea, an unreviewed draft of a proven solution
Do we need to take that into account? Like having inside of each directory a folder proven?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. Here's an idea:
- On a
patterns
branch, always start the pattern.md
file in the main directory (by convention). That way, it is obvious what file is being worked on. - Once the review is complete and prior to merging the
patterns
branch, it should clear what the pattern is (idea, donut or pattern). So before merging, move the file to the appropriate subdirectory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
### Publishing a InnerSource pattern on innersourcecommons.org (InnerSourceCommons repository) | ||
|
||
* for each new pattern which should be published a new issue should be created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was my understanding that we will publish the patterns on the wiki, once they are accepted in the patterns repo. Does this work with PRs, as well, @HaRo87 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by:
Does this work with PRs, as well, @HaRo87 ?
I think a wiki is not the right place to publish patterns, or? In a wiki you can also edit and change stuff. On the GitHub pages site of InnerSource Commons a published pattern will have a stable (not so easy to change) state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work with PRs, as well, @HaRo87 ?
I was wondering whether it is possible to restrict wiki editing with PRs. I guess we can just as well store patterns as .md
files and link to them from the wiki. I personally think a 2nd PR after the first would be a bit over the top ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I think we have a communication issue here. ;-) I would use the GitHub pages site: innersourcecommons.org to publish the patterns, not the wiki.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we leave that PR open until some of the InnerSource Patterns folks will participate or should we close it once we're done and discuss our proposal in another way?
There are two separate repositories needed for this workflow: | ||
|
||
* [InnerSourceCommons](https://github.com/paypal/InnerSourceCommons) | ||
* InnerSourcePatterns [todo: create and add link to repo] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patterns repo has to be created, right?
* once a pattern was accepted by the reviewers, it should be labeled `Accepted` | ||
and merged to `master` | ||
|
||
### Publishing a InnerSource pattern on innersourcecommons.org (InnerSourceCommons repository) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to define a place where we want to store the patterns on innersourcecommons.org.
* be labeled with the appropriate label (_idea_, _donut_, _pattern_) | ||
# Create a new branch either in your clone or fork of the | ||
[patterns repository][patternsRepo]. Please use the following pattern for | ||
naming branches: `pattern/<patternName>`. Example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, makes sense to do that.
naming branches: `pattern/<patternName>`. Example: | ||
`pattern/contractedContributor`. | ||
# Create a _Markdown_ file with the description of the _idea_, _donut_ or | ||
_pattern_ and store it either the `ideas`, `donuts` or `patterns` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of putting the stuff into separate directories. Having a look at the Patterns template there are a couple of states a pattern can have:
brainstormed solution (not proven), a donut (no solution), a proven solution, a reviewed pattern, an untested idea, an unreviewed draft of a proven solution
Do we need to take that into account? Like having inside of each directory a folder proven?
|
||
### Publishing a InnerSource pattern on innersourcecommons.org (InnerSourceCommons repository) | ||
|
||
* for each new pattern which should be published a new issue should be created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by:
Does this work with PRs, as well, @HaRo87 ?
I think a wiki is not the right place to publish patterns, or? In a wiki you can also edit and change stuff. On the GitHub pages site of InnerSource Commons a published pattern will have a stable (not so easy to change) state.
Should we leave that PR open until some of the InnerSource Patterns folks will participate or should we close it once we're done and discuss our proposal in another way @gruetter? |
This PR needs to be accepted sooner than later if we are going to continue to work forward here. I assume the "Test" monicker will soon be removed from the name of this repo. There needs to be instructions like this in the root of the repo - actually they would be more visible in the README, but let's at least get a draft version out there of this. There can be additional pull requests for further changes. |
Nick, re your comment "I assume the "Test" monicker will soon be removed from the name of this repo." -- do note that this is just a test repo; the content of this workflow will need to be copied over to the real repository that Cedric set up. |
It might be worth considering to simply fork or replicate this repo over at InnerSourceCommons (or wherever). Otherwise, the many valuable comments, already numerous commit history (from many parties - which is a very positive thing to keep track of), and issues will be erased. Why start from zero when we have a good thing going here? Maybe there is something I don't understand though... do explain if so. This is not the best place to put this kind of suggestion - I'll be sure to mention it elsewhere. |
* Added the translation of communication-tool * Updated the translation with review comments
Hi @gruetter,
here comes a first draft for the InnerSource workflow description. I think it would also make sense to invite the other pattern folks as well (Tim, Cedric, Padma, ...). Will do that on Slack.