You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/02/06 08:59:50 UTC
[GitHub] [incubator-hudi] yanghua opened a new pull request #1311:
[HUDI-602] Add some guidance about how to judge the scope of MINOR to the
contribution guidance
yanghua opened a new pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311
## What is the purpose of the pull request
*This pull request adds some guidance about how to judge the scope of MINOR to the contribution guidance*
## Brief change log
- *Add some guidance about how to judge the scope of MINOR to the contribution guidance*
## Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] yanghua commented on issue #1311: [HUDI-602] Add
some guidance about how to judge the scope of MINOR to the contribution
guidance
Posted by GitBox <gi...@apache.org>.
yanghua commented on issue #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#issuecomment-582802669
I cannot find a good way to show these tips. I am open to listening to suggestions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] yanghua commented on a change in pull request
#1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR
to the contribution guidance
Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r376186088
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. Below are some tips to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link, intellisense or an obvious error)
+ - the change is not functionality relevant
Review comment:
Have addressed your two suggestions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] vinothchandar commented on a change in pull
request #1311: [HUDI-602] Add some guidance about how to judge the scope of
MINOR to the contribution guidance
Posted by GitBox <gi...@apache.org>.
vinothchandar commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375999410
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. Below are some tips to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link, intellisense or an obvious error)
+ - the change is not functionality relevant
Review comment:
nit: the change does not alter functionality or performance in any way
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] pratyakshsharma commented on a change in pull
request #1311: [HUDI-602] Add some guidance about how to judge the scope of
MINOR to the contribution guidance
Posted by GitBox <gi...@apache.org>.
pratyakshsharma commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375765642
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
+ - the change is not functionality relevant
+ - changed lines less than 50
Review comment:
Now I am skeptical of actually quantifying a MINOR PR based on the number of lines. Just by following IDE suggestions, one might modify more than 50-60 lines of code and still it can be considered as a MINOR PR. I guess it is better to not mention number of lines here. Open to hearing others' suggestions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] yanghua commented on a change in pull request
#1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR
to the contribution guidance
Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375784708
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
Review comment:
> may be we should add IDE suggestions also here?
What's the meaning of "suggestions" that you mentioned? If you mean our discussion on the thread(`[DISCUSS] Unify Hudi code cleanup and improvement
`) of the mailing list. I would suggest filing jira issues.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] vinothchandar commented on a change in pull
request #1311: [HUDI-602] Add some guidance about how to judge the scope of
MINOR to the contribution guidance
Posted by GitBox <gi...@apache.org>.
vinothchandar commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375998821
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
+ - the change is not functionality relevant
+ - changed lines less than 50
Review comment:
We could make the limit larger to say 100.. may be? but I do feel there should be a limit. we are not saying we won't take larger code changes. Just saying if someone is going to change 300 files and cause everyone to rebase/resolve conflicts, lets have them file a JIRA and get some consensus..
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] yanghua commented on a change in pull request
#1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR
to the contribution guidance
Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375789475
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
+ - the change is not functionality relevant
+ - changed lines less than 50
Review comment:
Maybe your opinion is reasonable. The number of lines is only for reference. The main factor should be the content that the PR changed. Let's listen to @vinothchandar 's opinion.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] yanghua commented on a change in pull request
#1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR
to the contribution guidance
Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r376184198
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
+ - the change is not functionality relevant
+ - changed lines less than 50
Review comment:
agree too
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] pratyakshsharma commented on a change in pull
request #1311: [HUDI-602] Add some guidance about how to judge the scope of
MINOR to the contribution guidance
Posted by GitBox <gi...@apache.org>.
pratyakshsharma commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375764388
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
Review comment:
may be we should add IDE suggestions also here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] yanghua commented on a change in pull request
#1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR
to the contribution guidance
Posted by GitBox <gi...@apache.org>.
yanghua commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375824665
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
Review comment:
Ok, let me add it as a kind of example.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] pratyakshsharma commented on issue #1311:
[HUDI-602] Add some guidance about how to judge the scope of MINOR to the
contribution guidance
Posted by GitBox <gi...@apache.org>.
pratyakshsharma commented on issue #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#issuecomment-582850274
Looks good overall to me @yanghua, only left minor comments.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] vinothchandar commented on issue #1311: [HUDI-602]
Add some guidance about how to judge the scope of MINOR to the contribution
guidance
Posted by GitBox <gi...@apache.org>.
vinothchandar commented on issue #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#issuecomment-583249124
Please go ahead merge when ready @yanghua
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] yanghua merged pull request #1311: [HUDI-602] Add
some guidance about how to judge the scope of MINOR to the contribution
guidance
Posted by GitBox <gi...@apache.org>.
yanghua merged pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] pratyakshsharma commented on a change in pull
request #1311: [HUDI-602] Add some guidance about how to judge the scope of
MINOR to the contribution guidance
Posted by GitBox <gi...@apache.org>.
pratyakshsharma commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375822561
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
Review comment:
@yanghua I was referring to intellisense i.e we can mention it like
- trivial fixes (for example, a typo, a broken link, intellisense or an obvious error)
Let me know if it makes sense.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] pratyakshsharma commented on a change in pull
request #1311: [HUDI-602] Add some guidance about how to judge the scope of
MINOR to the contribution guidance
Posted by GitBox <gi...@apache.org>.
pratyakshsharma commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r376064490
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
+ - trivial fixes (for example, a typo, a broken link or an obvious error)
+ - the change is not functionality relevant
+ - changed lines less than 50
Review comment:
I was trying to raise a similar point :) I was thinking since anyways this needs mentor's/reviewer's approval, so may be we could do away with this tip here. :) But this is a valid point that mentioning the limit will help make the contributor aware that MINOR PR is supposed to have limited changes. LGTM
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] pratyakshsharma commented on a change in pull
request #1311: [HUDI-602] Add some guidance about how to judge the scope of
MINOR to the contribution guidance
Posted by GitBox <gi...@apache.org>.
pratyakshsharma commented on a change in pull request #1311: [HUDI-602] Add some guidance about how to judge the scope of MINOR to the contribution guidance
URL: https://github.com/apache/incubator-hudi/pull/1311#discussion_r375768601
##########
File path: docs/_pages/contributing.cn.md
##########
@@ -88,7 +88,11 @@ and more importantly also try to improve the process along the way as well.
- Once you finalize on a project/task, please open a new JIRA or assign an existing one to yourself.
- Almost all PRs should be linked to a JIRA. It's always good to have a JIRA upfront to avoid duplicating efforts.
- - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA.
+ - If the changes are minor, then `[MINOR]` prefix can be added to Pull Request title without a JIRA. There are some tips to help to judge **MINOR** Pull Request :
Review comment:
I guess it would look better with - "Below are some tips to judge **MINOR** Pull Request"?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services