Replies: 6 comments 22 replies
-
Cc: @mbasmanova @oerling @xiaoxmeng @majetideepak @assignUser @Yuhta @kgpai @rui-mo @bikramSingh91 @kagamiori @aditi-pandit @yingsu00 @JkSelf Please help other folks who might have an opinion on this. |
Beta Was this translation helpful? Give feedback.
-
For 1, I think it's ok to adopt it for a pure informational purpose; using it for versioning would quickly go out of control because people for sure will tag the things wrong, and a big FIX is often more significant (in terms of functionality/performance change and breaking compatibility) than a small FEAT, these tags should not be used as criteria to bump versions. For 2, it's very hard to define breaking change now because we still don't have an API. The most explicit and safe way would be starting creating an For 3, it feels redundant because it can be quickly implied from the list of files changed. So I would say let's keep these for issues and not tagging PRs with these. |
Beta Was this translation helpful? Give feedback.
-
We can be explicit and say |
Beta Was this translation helpful? Give feedback.
-
On 3 - Certain fundamental changes may affect many areas, In this case adding which areas affected might become inaccurate and probably not very useful. |
Beta Was this translation helpful? Give feedback.
-
One open question is whether we use actual github tags to classify PRs, or the conventional commit pattern of adding it to the diff title, like "fix(memory): " or "refactor(expression): ". How does everyone feel about it? |
Beta Was this translation helpful? Give feedback.
-
Label maybe an alternative solution. |
Beta Was this translation helpful? Give feedback.
-
To improve our ability to classify PRs while summarizing monthly updates (and in the future, release changelogs), we are proposing two additions to our open source development workflow:
Following on @assignUser 's proposal a while ago (#3330), conventional commits would help us differentiate new features from bug fixes, refactoring, documentation improvements, and so. Specifically, the proposal is to, moving forward, use the following pattern of commit title prefixes:
To further help classification, conventional commits may take an optional field containing the area of the code a PR is changing, such as "fix(expression): " or "refactor(parquet): " or "feat(memory): ". We should discuss a set of valid tags/components and document them in the contributing guide.
Example: #11017 would have been titled:
To further improve our ability to summarize changelogs (either monthly or when cutting future releases), we would like to ask authors to add a "Changelog: " section to the PR description, whenever new features are added. The Changelog would contain a sentence (one line or two) summarizing the feature added by the PR. This message would automatically get processed while generating changelogs.
Likewise, any PR containing changes to APIs (or their semantics) should also contain a "Breaking API Changes: " section in the PR description that explains the change. This will help us keep track and summarize breaking API changes for future releases.
--
As with any changes, it will take us some time to adapt. These changes would naturally be documented in our https://github.com/facebookincubator/velox/blob/main/CONTRIBUTING.md guide to alert new contributors, communicated to the community, and enforced by maintainers and code reviewers.
Please comment below if you are supportive of the changes or not (if not, please explain why).
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions