-
Notifications
You must be signed in to change notification settings - Fork 767
Docs/new contributor misc #15712
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
Docs/new contributor misc #15712
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15712
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 4 Unrelated FailuresAs of commit 4b0acf3 with merge base 6de1f4e ( NEW FAILURE - The following job has failed:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Hi @nicholsonjf! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
This PR needs a
|
| ```bash | ||
| git fetch --all --prune | ||
| ``` | ||
|
|
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.
Curious - why remove 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.
Apologies @lucylq I should have included notes in the PR description. Let me know your thoughts about my recommendation below and I can update the PR if needed.
tl;dr
I actually think this guide would be clearer if Step 4 (how to sync a branch from the GitHub UI) was removed (see the last paragraph below)
Background
When I was working through this guide setting up my dev env, it was a bit confusing why the reader is being instructed to sync their local fork at the end of Step 3, and then again at the beginning of Step 5.
End of Step 3:
Let's sync from both your fork and the main ExecuTorch branch, getting the latest changes from each of them. To do this, run:
git fetch --all --prune
Beginning of Step 5:
- Now you have the latest fork on your GitHub account, it's time to download it onto your dev machine. For this, you can run the following commands in your terminal:
git fetch --all --prune # pull all branches from GitHub ...
It seems like the original intent of Steps 4 and 5 is to demonstrate the two ways you can sync your fork with the ExecuTorch upstream (from GitHub, or from your terminal).
IMO though, I think the part about syncing from the GitHub UI can be removed entirely. If someone is onboarding as a contributor, the more common workflow will be syncing from the terminal. I think it would be clearer to explain how to sync from the terminal, and then mention at the end that it's also possible to sync an individual branch from the GitHub UI, i.e. if you're comparing code in the browser.
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 detailed explanation! I didn't realize it was duplicated in step 5, that makes sense.
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.
Btw, feel free to publish and merge.
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 @lucylq. I published the PR, but some checks failed so I don't think I can merge? Let me know what you recommend to resolve those, or if it's not needed because this is just a documentation change. Also it looks like @mergennachin is marked as an approver so I'm assuming I need to to wait for their approval.
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.
Hi @nicholsonjf this is a docs change and shouldn't cause these test failures - I think they're all pre-existing. hud shows the current status of the executorch tests on main.
The 'approver/owner' tags are not merge-blocking, so the team can approve and unblock land. This PR meets merge requirements (you can click the 'squash and merge' button) but also feel free to wait for Mergen's review.
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 @lucylq just merged
|
|
||
| ## Environment Setup | ||
| Clone the ExecuTorch repository from GitHub and create a conda environment. Venv can be used in place on conda. | ||
| Clone the ExecuTorch repository from GitHub and create a conda environment. Venv can be used in place of conda. |
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.
Nice, thanks
### Summary Removes a redundant step in the New Contributor Guide See the below comment for more detail. pytorch#15712 (comment) ### Test plan N/A
Summary
Removes a redundant step in the New Contributor Guide
See the below comment for more detail.
#15712 (comment)
Test plan
N/A