Skip to content
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

Checkout for PRs #20

Closed
isanae opened this issue May 22, 2020 · 2 comments
Closed

Checkout for PRs #20

isanae opened this issue May 22, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@isanae
Copy link
Contributor

isanae commented May 22, 2020

Add something like build --pr repo/123:

  1. Find the remote branch for the PR from the github API;
  2. Attempt to checkout this org and branch for all MO projects;
  3. Fall back on main org/branch if it's not found (see Fallback org and branch #13);
@isanae isanae added the enhancement New feature or request label May 22, 2020
@isanae
Copy link
Contributor Author

isanae commented May 22, 2020

Actually, this needs to get all PRs for all for projects and check branch names, because branches may not be unique and checking them out blindly from other projects might get random stuff. Doing a PR from master would be particularly bad.

@isanae
Copy link
Contributor Author

isanae commented Dec 3, 2020

Done.

@isanae isanae closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant