Skip to content

Support pull request actions from local forks - #8652

Closed
outofambit wants to merge 34 commits into
developmentfrom
feature/support-fork-pr-actions
Closed

outofambit wants to merge 34 commits into
developmentfrom
feature/support-fork-pr-actions

Conversation

@outofambit

@outofambit outofambit commented Nov 19, 2019 •

Copy link
Copy Markdown
Contributor

Closes #8549

  • Improves PR matching logic to match local branches with upstream PRs
  • Fixes logic to navigate to correct PR webpage from local branch
  • Hardens logic around opening a new PR from a fork

Description

  • store both upstream and regular PRs for cloned forks in our pr database
  • add upstream remote to repository state cache
  • and logic to handle multiple remotes while looking up PRs
  • filter PR list to omit upstream in UI

Screenshots

gif

electron fork

@outofambit
outofambit marked this pull request as ready for review November 20, 2019 00:34

@Torino777 Torino777 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

все супер

@Torino777 Torino777 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

отлично

@outofambit
outofambit requested review from a team and joshaber November 22, 2019 00:39

@joshaber joshaber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few notes but nothing too serious! 🍪 🕺

Comment thread app/src/lib/stores/app-store.ts Resolved
Comment thread app/src/models/repository.ts Resolved
Comment thread app/src/lib/stores/app-store.ts Resolved
@outofambit
outofambit requested a review from niik December 3, 2019 03:45

@niik niik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking a whole lot better @outofambit! Some quick notes here but as I said in our zoom call I think we need to ensure that the pull request updater accurately signals to the App Store when the parent repository PR list has changed.

Comment thread app/src/lib/stores/app-store.ts Resolved
Comment thread app/src/lib/stores/app-store.ts Resolved
@outofambit

Copy link
Copy Markdown
Contributor Author

Closing this PR and continuing this effort with a different strategy in #8825 (and on). Thanks all!

@xXxrAinZyian

Copy link
Copy Markdown

Ok

@rafeca
rafeca deleted the feature/support-fork-pr-actions branch July 22, 2020 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fork] "Create pull request" is still a suggestion even after I've created a PR for the current branch on my fork

5 participants