Skip to content

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

Merged
merged 6 commits into from
Nov 6, 2019
Merged

Conversation

adbridge
Copy link
Contributor

This commit updates the pull request sections to detail the new
pull request template.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each 2x?

Copy link
Contributor Author

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.
Copy link
Contributor

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

Copy link
Contributor Author

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.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 25, 2019

@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.
Copy link
Contributor

@0xc0170 0xc0170 left a 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.
Copy link
Contributor

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

Copy link
Contributor Author

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

@AnotherButler
Copy link
Contributor

@0xc0170 After I've finished the priority, planned work, I'll see what I can do.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 29, 2019

Any update for this one?

Amanda Butler added 2 commits October 29, 2019 14:42
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
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor Author

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/ .


Copy link
Contributor

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?

Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here #1161

Copy link
Contributor

@AnotherButler AnotherButler left a 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 👍

@AnotherButler
Copy link
Contributor

Could you please fix the merge conflicts, so I can merge?

@adbridge
Copy link
Contributor Author

adbridge commented Nov 6, 2019

@AnotherButler conflicts sorted :)

@AnotherButler
Copy link
Contributor

Thanks, @adbridge 👍

@AnotherButler AnotherButler merged commit 455d9b0 into ARMmbed:development Nov 6, 2019
AnotherButler pushed a commit that referenced this pull request Nov 6, 2019
Add PR template by applying changes from PR #1158 to v5.14.
AriParkkila pushed a commit to AriParkkila/mbed-os-5-docs that referenced this pull request Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants