githubschool / orbit

Let's learn about Git and GitHub
https://githubschool.github.io/orbit/
MIT License
1 stars 1 forks source link

Parking Lot #7

Open githubteacher opened 3 years ago

githubteacher commented 3 years ago

Post any questions you may have here during the training.

ericalloyd commented 3 years ago

🎥 Recordings will be posted here

Day 1 - Wednesday, April 14, 2021

Zoom Link: https://github.zoom.us/rec/share/4TJnTCluE0sv4Zx66IhPbCcGd69tIqQtEk8jIxGDOvlmXHwc7X3TeLqf6BHOkRk.UOB-G4_SRDnAx-rk

Passcode: mI?53BTM

Day 2 - Thursday, April 15, 2021

Zoom link: https://github.zoom.us/rec/share/VDOdNh4ewaBnTrpVTn8Sn9gH3JFFw6sRakfc78uAZXmgDbQl4U6nJrsdkjsM3o5P.CNkXHX8vrTG92EKq

Passcode: Q?v4VC9A

ericalloyd commented 3 years ago

Questions & Answers:

cassella commented 3 years ago

Is there a way to get to my invitations-to-repositories through the github web interface? That is, without having to find the emails in the flood of PR emails from this morning, and without having to start with the URL of the invited-to repo to modify with /invitations?

This morning I was able to find the invite to orbits in my bell icon notification list, but I can't find the two new ones there. (In fact, I can't find the invitation to orbits there now either.)

cassella commented 3 years ago

When reviewing a PR, is there a way to get a diff between two different commits in the review's history using the web interface? That is, if I've spent an hour reviewing a PR and left comments, and the developer addresses those comments by rewriting the commit and force-pushing, can I see just what's changed since the commit I reviewed? (After the "changes since you last viewed" has disappeared.)

The last time I tried that, I couldn't figure out how to view the original commit through the web interface.

I know I can do it through the commandline if I've fetched the PR branch and tagged it before the force push, but I don't usually think to do that until I see that there's been a force push.

ericalloyd commented 3 years ago

When reviewing a PR, is there a way to get a diff between two different commits in the review's history using the web interface? ...

@cassella:

Yes! On the "Files Changed" tab at the menu on the top left, there is a "Changes from:" dropdown. It defaults to "all commits". You can change it to select "Show changes since your last review", or select a specific commit range.

comparing-commits
ericalloyd commented 3 years ago
  • [ ] How to link to Jira tickets

@Gary-Elsesser:

ericalloyd commented 3 years ago

Is there a way to get to my invitations-to-repositories through the github web interface? That is, without having to find the emails in the flood of PR emails from this morning, and without having to start with the URL of the invited-to repo to modify with /invitations?

This morning I was able to find the invite to orbits in my bell icon notification list, but I can't find the two new ones there. (In fact, I can't find the invitation to orbits there now either.)

@cassella:

MattPD commented 3 years ago

I'd be interested in the suggested fixes (possibly including on-prem GitHub instance configuration if applicable as a workaround) to the following errors that came up in practical workflow using GitHub for the LLVM (one of the projects we're working with):

ericalloyd commented 3 years ago

I'd be interested in the suggested fixes (possibly including on-prem GitHub instance configuration if applicable as a workaround) to the following errors that came up in practical workflow using GitHub for the LLVM (one of the projects we're working with):

@MattPD

I'll bring in @michaelsainz to follow up on this with you. During the developer training we wouldn't be diving into configuration or error troubleshooting.

MattPD commented 3 years ago

@ericalloyd Thank you, I appreciate it!

ericalloyd commented 3 years ago

Feedback/Request:

ericalloyd commented 3 years ago

Create conflict and games repos for: @JajuRamanuj-hpe @damrkul

ericalloyd commented 3 years ago
ericalloyd commented 3 years ago
ericalloyd commented 3 years ago
sewatters commented 3 years ago

Please leave link and code for Day 2 recording. Thanks!

sewatters commented 3 years ago

I'm also interested in admin/automation training.

datle79 commented 3 years ago

happy to attend more training! admin, automation and deep dive into Github Actions.

cassella commented 3 years ago

Yes! On the "Files Changed" tab at the menu on the top left, there is a "Changes from:" dropdown. It defaults to "all commits". You can change it to select "Show changes since your last review", or select a specific commit range.

Thanks! But that's not working for me when I try to compare to a commit that a force push removed. I'm trying to see what's different in the PR between the previous review point and after a force-push. E.g., to verify that squashing all the commits down to one didn't result in any changes.

I tried a PR where I force pushed a few times, but when I try the "Show changes from your last review", I just get an error page:

https://github.com/githubschool/github-games-cassella/pull/4/files/bb6991ad0f26bfdaa0da40143cfd7ff534276098..HEAD

Is that "Changes from" dropdown menu conditional on something? I looked at a PR with multiple commits in a different repo, and that option isn't available on the view changes page. I just see the File filter, Jump to, and Gear icon.

MattPD commented 3 years ago

@michaelsainz Feel free to let me know if you have time to follow up on https://github.com/githubschool/orbit/issues/7#issuecomment-820464252 Thanks!

ericalloyd commented 3 years ago

@cassella Regarding the force push specifically: when commits are force pushed, history of the branch is rewritten, so in that case you would not be able to view the diff for any commits that were overwritten. They are no longer on the branches history.

I'm not sure why you're unable to view the comparison options in general, and will have to look into that further.