-
Notifications
You must be signed in to change notification settings - Fork 178
Update the workflow sections #1158
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 commit updates the pull request sections to detail the new pull request template.
|
||
We initially implement new features on separate branches in the Mbed OS repository. Mbed OS maintainers or | ||
tech leads may create the new branches by following the naming convention: "feature-" prefix. | ||
Each |
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.
Each 2x?
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.
Well spotted!
|
||
This can be any change in the functionality, including adding a new feature, a new method or a function. Software language does not matter. | ||
|
||
A feature contribution contains a new API, capability or behavior. It does not break backward compatibility with existing APIs, capabilities or behaviors. New feature contributions are very welcome in Mbed OS. However, because they add capability to the codebase, a new feature may introduce bugs and a support burden. New features should also come with documentation, support for most targets and comprehensive test coverage. Feature PRs are treated cautiously, and new features require a new minor version for the codebase. Features are candidates 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.
should this contain also this: "The Mbed OS technical lead must approve feature change pull requests.", this is currently what we do
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.
Yes we can add that.
@AnotherButler is there chance to get this in by end of this week ? No dependency here, the template was integrated in Mbed OS already to start using simplified PR type. |
Removed duplicate instance of 'Each'. Added extra clarification that tech leads are responsible for approving all feature PRs.
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 change request, otherwise LGTM
|
||
Release: patch | ||
A refactor is a contribution that modifies the codebase without fixing a bug or changing the existing behavior. Examples of this are moving functions or variables between translation units, renaming source files or folders, scope modification for nonpublic code, documentation structure changes and test organization changes. There is always the risk that someone depended on the location or name before a refactor; therefore, these are lower in priority than bug fixes and might require detailed justification for the change. Refactors are candidates 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.
Refactors are candidates for feature releases.
this one should be updated to reflect PR type above - 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.
Ah just need to remove that last sentence completely as it is already under the Patch section
@0xc0170 After I've finished the priority, planned work, I'll see what I can do. |
Any update for this one? |
Edit file, mostly for consistent capitalization, consistent person and spelling.
Edit file, mostly for active voice, consistent person and correct grammar.
@@ -61,90 +61,131 @@ If commits do not follow the above guidelines, we may request that you modify th | |||
|
|||
[How We Release Arm Mbed OS](../introduction/how-we-release-arm-mbed-os.html) explains Mbed OS versioning. | |||
|
|||
## Pull request types | |||
## Pull request template |
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 blog post says the template now "includes a note about reporting and questions and enhancements to the Forum," but I don't see that 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.
Ah I think the blog post might have been a little confusing. When someone raises an issue that is not a bug then the git2jira bot closes the issue with a comment stating that questions or enhancements should be raised in the forums. It has nothing to do with PRs
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 the issue template:
(which is not affected by this PR)
************************************** WARNING **************************************
The ciarcom bot parses this header automatically. Any deviation from the
template may cause the bot to automatically correct this header or may result in a
warning message, requesting updates.
Please ensure all sections of the template below are filled in and no changes
are made to the template format. Only bugs should be raised here as issues.
Questions or enhancements should instead be raised on our forums:
https://forums.mbed.com/ .
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 clarifying 👍
Should we mention somewhere (not in the PR section) that nonbug issues will be closed?
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 can submit Mbed OS bugs on the forums or directly on GitHub.
I'll send separate PR to change this in this workflow file
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.
Here #1161
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 PRs, y'all 👍
Could you please fix the merge conflicts, so I can merge? |
@AnotherButler conflicts sorted :) |
Thanks, @adbridge 👍 |
Add PR template by applying changes from PR #1158 to v5.14.
Update the workflow sections
This commit updates the pull request sections to detail the new
pull request template.