-
Notifications
You must be signed in to change notification settings - Fork 178
Workflow document update #377
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
Please create separate pull requests for each concern; each pull request should have a clear unity of purpose. In particular, separate code formatting and style changes from functional changes. This makes each patch’s true contribution clearer and therefore quicker and easier to review. | ||
The current maintainers are: | ||
|
||
* Anna Bridge (adbridge). |
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.
Can we link to os.mbed.com developer accounts rather than github?
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 can do. The full name and link to os.mbed.com profile only, no github profile link here?
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.
Fixed in 9e39249 commit
|
||
Please see the [code contributions chapter](/docs/v5.7/reference/guidelines.html#style) for the guidelines to GitHub pull requests and the coding style guide. | ||
All Mbed OS is on GitHub; please use GitHub's [issues mechanism](https://guides.github.com/features/issues/) to open a bug report directly against the relevant GitHub 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.
Can we delete this line or point all issues to be opened under bugs and suggestions or Questions on os.mbed.com and use a specific tag?
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.
will fix
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.
fixed 2226b6e. The reporting bug is quite brief, is that sufficient ?
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.
Please address my initial comments before a perform a complete copy edit.
@@ -1,42 +1,60 @@ | |||
### Workflow | |||
|
|||
#### Contributions | |||
#### Gatekeepers |
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 don't think it makes sense to go straight into Gatekeepers without any sort of introductory paragraph. Could we move this down?
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 will add here or move it
|
||
#### Reporting and fixing bugs | ||
* Anna Bridge [adbridge](https://os.mbed.com/users/AnnaBridge). |
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.
Query: If we're linking to the os.mbed.com profile, does it make sense to use the GH username?
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.
Good point. I think we should either link to the GH user page, or use the os.mbed.com profile username.
I'm personally more of a fan of the former.
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 reason I left github name is that pull requests are via github so that name is visible to contributors, however name might be sufficient and then link to mbed OS?
|
||
Before submitting a bug report or a bug fix, please [discuss it on the forums](https://os.mbed.com/forum/bugs-suggestions/) to avoid duplication of work, as we or others might be working on it already. | ||
##### Stakeholders |
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.
Query: Is this a new official term for lead engineers for new features and modules? I think it's vague because there are many stakeholders who do not fit this 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.
This was the name I could come up with to merge tech leads with feature leads.
The groups as I see them:
Gatekeepers:
- maintainers
- tech leads/feature leads (often they match but not always)
I think the second group could be tech leads group, better?
|
||
##### Bug reports (issues) on GitHub | ||
They are responsible for a specific mbed OS module or feature. |
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.
They are responsible for specific Mbed OS modules or features.
|
||
A member of the Mbed team must verify bug fixes before we pull the fixes into the main branch. You must therefore use GitHub to fork the repo and then submit a pull request with your changes. | ||
All code changes and additions to Mbed OS are handled through GitHub. If you want to contribute, either by adding features or by fixing bugs, please follow the guidelines for [new features](#contributing-new-features-to-mbed-os) and [bugs](#reporting-and-fixing-bugs). In both cases, please follow the [code style guide and GitHub pull request guidelines](/docs/v5.7/reference/guidelines.html#style)</a>. Please also read the [CLA](/docs/v5.7/reference/guidelines.html#cla) guidelines because we will immediately close pull requests submitted without a CLA. |
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.
Please fix the first two links because they're now broken.
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 did not change those links, only moved this paragraph. Any help to make it right if they became invalid? don't know how to yet
|
||
#### Guidelines for GitHub pull requests | ||
|
||
Pull requests on GitHub have to meet the following requirements to keep the code and commit history clean: | ||
|
||
- Commits should always contain a proper description of their content. Start with a concise and sensible one-line description. Then, elaborate on reasoning of the choices made, descriptions for reviewers and other information that might otherwise be lost. | ||
- Commits should always contain a proper description of their content. Start with a concise and sensible one-line description. Then, elaborate on reasoning of the choices made, descriptions for reviewers and other information that might otherwise be lost. | ||
- You should always write commits to allow publication, so they can never contain confidential information, reference private documents, links to intranet locations or rude language. | ||
- Each commit should be the minimum self-contained commit for a change. A commit should always result in a new state that is again in a compilable state. You should (if possible) split large changes into logical smaller commits that help reviewers follow the reasoning behind the full change. | ||
- Commits should follow [Chris Beam’s seven rules of great commit messages](http://chris.beams.io/posts/git-commit#seven-rules): |
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.
Add a new line after the image. The rendered text starts on the same line as the image.
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.
Wrong spot. The problem line is 99, not this one.
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.
Can we have pull request titles follow these rules too?
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'll add it there
Updated , I responded to all feedback, see new 4 commits |
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.
Thanks for the updates. I've performed another copy edit and left some more queries. This is looking good.
|
||
#### Further reading | ||
We can only accept patch contributions through GitHub if you create a pull request from forked versions of our repositories. This allows us to review the contributions in an easy-to-use and reliable way, under public scrutiny. |
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.
Query: What do we mean by "patch contributions"? Patch release contributions? Or all PRs? Or something else? Please clarify.
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.
a patch - series of commits, another name?
* Sam Grove (sg-). | ||
##### Changes and additions | ||
|
||
Backward compatible changes (refactoring, enhancements) or new target additions are considered to be part of the patch release. |
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.
Query: What does this mean? That we don't include these in feature releases, we only include them in patch releases? Or something else?
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.
they are in patch releases and by default in the feature releases
|
||
##### Features | ||
|
||
New features should initially be implemented on a separate branch in the Mbed OS repository. The naming convention for a feature branch is: "feature-". |
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.
Query: Who should initially implement new features on a separate branch? Can anyone in the community do this?
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.
Will add info, that this branch is created on request (community can do once branch is created, send pull requests)
All pull requests must be reviewed. The Mbed OS maintainers determine the most suitable person to review the pull request and tag that person accordingly. If a pull request requires a review from partners, the maintainers tag the corresponding GitHub group instead. | ||
All pull requests must be reviewed. The Arm Mbed CI bot determines the most suitable person to review the pull request and tags that person accordingly. | ||
|
||
Time: 3 days for reviewers to leave feedback after the label is added. |
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.
Query: Would it still be accurate to rewrite this as "Time: 3 days for reviewers to leave feedback after the maintainers add the "needs: review" label" for active voice?
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.
will fix
|
||
Time: 1 day for CI to complete and report back results. | ||
|
||
The CI workflow can be found [here](tbd) |
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.
Please complete this section.
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.
@studavekar - I either to remove this for now, but would like to have it soon in
|
||
##### Work needed | ||
|
||
The pull request requires additional work due to failed tests, changes requested. |
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.
Query: What does this mean? Could we rewrite this as "A pull request in the work needed state requires additional work due to failed tests. If a pull request is in this state, our maintainers request changes from the pull request author." for clarity?
|
||
The pull request requires additional work due to failed tests, changes requested. | ||
|
||
Time: 3 days to respond to the review comments. |
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.
Query: Could we elaborate by saying "Time: 3 days for the pull request author to respond to the review comments."?
Fixed all the comments, please review |
@cmonr @theotherjimmy Happy with this ? |
@AnotherButler When this can be integrated and the docs updated? |
As soon as all tagged reviewers approve it. |
|
||
Before submitting a bug report or a bug fix, please [discuss it on the forums](https://os.mbed.com/forum/bugs-suggestions/) to avoid duplication of work, as we or others might be working on it already. | ||
##### Mbed OS tech leads |
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.
Can we remove this section. Seems to blur internal organization with an open project and not provide much usefulness.
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 goal was to define what a team responsible for a module/feature should be doing.
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 removed it for now.
From experience, we are not always aware what is the release version planned for PR (this can come specified in PR ) plus helping with reviews (they know who would be the best to do a review)
@@ -50,53 +68,69 @@ Pull requests on GitHub have to meet the following requirements to keep the code | |||
- Because we use GitHub and explicit CLAs, special commit tags that other projects may use, such as “Reviewed-by”, or “Signed-off-by”, are redundant and should be omitted. GitHub tracks who reviewed what and when, and our stack of signed CLAs shows us who has agreed to our development contribution agreement. | |||
- Prefixing your commit message with a domain is acceptable, and we recommend doing so when it makes sense. However, prefixing one's domain with the name of the repo is not useful. For example, making a commit entitled "mbed-drivers: Fix doppelwidget frobulation" to the `mbed-drivers` repo is not acceptable because it is already understood that the commit applies to `mbed-drivers`. Renaming the commit to "doppelwidget: Fix frobulation" would be better, if we presume that "doppelwidget" is a meaningful domain for changes, because it communicates that the change applies to the doppelwidget area of `mbed-drivers`. | |||
- All new features and enhancements require documentation, tests and user guides for us to accept them. Please link each pull request to all relevant documentation and testing pull requests. | |||
- Avoid merging commmits. (Always rebase when possible.) | |||
- Pull requests should fix a bug or add a feature or refactor. |
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.
thing or thing or thing -> thing, thing or thing
4. Run pull requests through the CI systems. | ||
5. Merge pull requests into the requested branches. | ||
6. Make periodic patch and feature releases. | ||
The last line in your commit message description should say “Fixes #deadbeef”, where “deadbeef” is the issue number in GitHub. This allows GitHub to automatically close the issue when the commit merges into the default branch. |
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.
Specify master branch? "default branch" is vague
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's not always master, often it is. I'll edit this to destination
branch rather
Labels that the Mbed OS maintainers add to a pull request represent the pull request workflow states. The Mbed OS maintainers are responsible for moving pull requests through the workflow states. | ||
The Mbed OS maintainers add labels to a pull request that represent the pull request workflow states. The Mbed OS maintainers are responsible for moving pull requests through the workflow states. | ||
|
||
Each state is time boxed. In most cases, this is sufficient time to move to an another 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.
What happens when this time expires? this is not explained in the following sections. I don't think that the second sentence adds any value to the reader.
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 actions will come as another update with more specification (once bot comes to play). For now, should be sufficient to explain that if an update is not provided within the time frame, pull request can be closed
|
||
##### Releases | ||
|
||
Once we merge a pull request, we tag it with a release. This is the release in which we first publish this pull request. For patch releases, we allow only bug fixes, new targets and enhancements to existing functionality. New features only go to feature releases. | ||
Once we merge a pull request, we tag it with a release. (This is not applicable for feature pull requests.) This is the release in which we first publish this pull request. For patch releases, we allow only bug fixes, new targets and enhancements to existing functionality. New features only go to feature releases. |
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.
Don't we tag features with the next applicable feature release? Why would we omit that step? Why is this in parenthesis? If we want to omit tagging things that go to feature releases it would be less confusing to word it as:
"When we merge a pull request that will be published in a patch release, we tag that pull request with that patch release version."
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 haven't noticed us tagging a feature PR with a target release.
+1 for the updated text.
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.
"When we merge a pull request that will be published in a patch release, we tag that pull request with that patch release version."
Will fix
Addressed all the comments |
@theotherjimmy Good with the updates? |
|
||
Before contributing an enhancement (new feature, new port and so on), please [discuss it on the forums](https://os.mbed.com/forum/bugs-suggestions/) to avoid duplication of work, as we or others might be working on a related feature. | ||
##### Mbed OS maintainers |
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.
Why do we have a Gatekeepers heading immediately followed by a Mbed OS Maintainers heading, think the gatekeepers one should go?
|
||
#### Further reading | ||
Please submit all Mbed OS bugs [on the forums](https://os.mbed.com/forum/bugs-suggestions/). |
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.
Is this right? Are we now asking people to do this rather than directly raise issues? Is this so the support team can pick these up and raise the issues themselves ?
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.
That is correct, more update will come from support team
|
||
Labels that the Mbed OS maintainers add to a pull request represent the pull request workflow states. The Mbed OS maintainers are responsible for moving pull requests through the workflow states. | ||
Each state is time boxed. In most cases, this is sufficient time to move to an another state. The pull request can be closed if no update is provided within the time frame. |
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.
Superfluous 'an' there
All pull requests must be reviewed. The Mbed OS maintainers determine the most suitable person to review the pull request and tag that person accordingly. If a pull request requires a review from partners, the maintainers tag the corresponding GitHub group instead. | ||
All pull requests must be reviewed. The Arm Mbed CI bot determines the most suitable person to review the pull request and tags that person accordingly. | ||
|
||
Time: 3 days for reviewers to leave feedback after the maintainers add the "needs: review" label. |
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.
As this is going to be the bot adding this label we should re-word this to:
Time: 3 days for reviewers to leave feedback once the "needs: review" label has been applied.
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 would like to do an update to this once bot is implemented and ready for action (thus it is manual at the moment)
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 wouldn't like us to commit to 3 days, we may have other things on our plate and big, unrelated PR may not be a priority. I'm trying to go through my github feed twice a week, but doesn't always happen. Unless it's a guidance not a deadline.
|
||
##### Work needed | ||
|
||
A pull request in the work needed state requires additional work due to failed tests. If a pull request is in this state, our maintainers request changes from the pull request author. |
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.
failed tests or rework as a result of the review
|
||
A pull request in the work needed state requires additional work due to failed tests. If a pull request is in this state, our maintainers request changes from the pull request author. | ||
|
||
Time: 3 days for the pull request author to respond to the review comments. |
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.
Time: 3 days for the pull request author to action the required changes.
|
||
##### Releases | ||
|
||
Once we merge a pull request, we tag it with a release. This is the release in which we first publish this pull request. For patch releases, we allow only bug fixes, new targets and enhancements to existing functionality. New features only go to feature releases. | ||
When we merge a pull request that we will publish in a patch release, we tag the pull request with specific patch release version. This is the release in which we first publish this pull request. For patch releases, we allow only bug fixes, new targets and enhancements to existing functionality. New features only go to feature releases. |
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.
with the specific patch release version.
@adbridge Updated, all comments were addressed |
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.
One last minor typo :)
|
||
Time: 3 days for the pull request author to respond to the review comments. | ||
Time: 3 days for the pull request author to action to the review comments. |
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.
you didn't remove the superfluous 'to'. Should say 'to action the review comments'
5e3ce2e
to
a898fe4
Compare
|
||
##### Bug reports (issues) on GitHub | ||
* [Anna Bridge](https://os.mbed.com/users/AnnaBridge). |
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.
Wouldn't it be easier to get an alias/group and not have to maintain that list?
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.
Not sure if they can do that on the os.mbed.com site...
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 will have a group soon (not on mbed.os though). Once done, we can update it separately. This will come in the following days
1. Ensure the relevant stakeholders review pull requests. | ||
1. Guide contributors both technically and procedurally. | ||
1. Run pull requests through the CI systems. | ||
1. Put label version. |
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.
That probably doesn't mean much to an external reader.
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's a description of our process, this documentation is for internal use as well as external
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.
Exactly, I would say anyone reading it should be able to understand what's the process (external or newstarter).
|
||
Please see the [code contributions chapter](/docs/v5.7/reference/guidelines.html#style) for the guidelines to GitHub pull requests and the coding style guide. | ||
The bug report should be reproducible (fails for others) and specific (where and how it fails). We will close insufficient bug reports. |
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 bug report should be reproducible (fails for others)
If it's an intermittent issue it may not be readily reproducible.
Should we put more details what we expect to be in a report? Like versions, steps, example, expected and actual outcomes,...
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.
There should be enough information captured so that anyone trying to reproduce the bug can replicate the environment and code versions used
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 put more details what we expect to be in a report? Like versions, steps, example, expected and actual outcomes,...
Having how to report a bug
would be nice to have, currently there is something in github template issue (not sufficient though). I'll talk to the team who will be handling issues
4. Run pull requests through the CI systems. | ||
5. Merge pull requests into the requested branches. | ||
6. Make periodic patch and feature releases. | ||
The last line in your commit message description should say “Fixes #deadbeef”, where “deadbeef” is the issue number in GitHub. This allows GitHub to automatically close the issue when the commit merges into the destination branch. |
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.
Couple of lines above we are mentioning not to use github for bugs, but use forums instead. It's conflicting info.
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.
Agreed, there are two different areas here and I don't think it has been fully thought out how this is going to work in practice..
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.
Good catch, will fix this line
|
||
##### Changes and additions | ||
|
||
Backward compatible changes (such as refactoring and enhancements) or new target additions can go into patch and feature releases. We only consider features and new functionality additions for feature releases. |
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 should describe something what a patch or feature release is. Also I'm not sure what a feature release is we should probably just stick to versions nomenclature: major, minor, patch.
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 started off with semantic nomenclature but were told by the powers that be to use feature and patch instead
Labels that the Mbed OS maintainers add to a pull request represent the pull request workflow states. The Mbed OS maintainers are responsible for moving pull requests through the workflow states. | ||
The Mbed OS maintainers add labels to a pull request that represent the pull request workflow states. The Mbed OS maintainers are responsible for moving pull requests through the workflow states. | ||
|
||
Each state is time boxed. In most cases, this is sufficient time to move to another state. The pull request can be closed if no update is provided within the time frame. |
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.
In most cases, this is sufficient time to move to another state.
Not sure what does it mean
The pull request can be closed if no update is provided within the time frame.
Should we either define it or reword it to something like "The pull request can be closed if it's not actively maintained"
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.
Another state in the workflow. ie go from needs review to needs ci.
We need some kind of time frame that people are aware of . If it is ambiguous and we start randomly closing PRs then people will complain. If it is a clear cut rule then there can be no complaints. After all, the time limits should be for responses not necessarily to completely fix something. This is to prevent open PRs just sitting there with no response from the authors for weeks at a time...
All pull requests must be reviewed. The Mbed OS maintainers determine the most suitable person to review the pull request and tag that person accordingly. If a pull request requires a review from partners, the maintainers tag the corresponding GitHub group instead. | ||
All pull requests must be reviewed. The Arm Mbed CI bot determines the most suitable person to review the pull request and tags that person accordingly. | ||
|
||
Time: 3 days for reviewers to leave feedback after the maintainers add the "needs: review" label. |
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 wouldn't like us to commit to 3 days, we may have other things on our plate and big, unrelated PR may not be a priority. I'm trying to go through my github feed twice a week, but doesn't always happen. Unless it's a guidance not a deadline.
I cant reply to the above:
It's a guidance to begin with (3 working days). Someone should find time to go through changes. If not reviewed, a reminder will be sent. |
Any more reviews or all fine with all reviewers? |
Before this is merged, looks like it'll need top be rebased :( |
07cbf51
to
afc978c
Compare
afc978c
to
c3934ce
Compare
I fixed the conflict, squashed the history. @AnotherButler Please review |
This update contains: - maintainers addition - issues should point to os mbed forum - time box each stage - feature branches
c3934ce
to
c64da10
Compare
rebased on top of the new engine |
There are lot of changes (I can split some restructuring from this if that would make it easier but the changes are not that significant to the text itself). I can rebase after the review (squash fix typos and similar commits).
Rendered file here
The new structure is:
New additions here:
Please assign for review maintainers (@theotherjimmy @adbridge @cmonr )
@studavekar (there is one reference to CI that is currently empty and would like to have a page that explains our CI. I can remove the reference for now, but should be added later).