Skip to content

WIP: Find projects for merge request

Luke Picciau requested to merge (removed):show-available-branches into master

What does this MR do?

When creating a merge request, the current users projects are checked to see if any of them are forks of the project that the merge request is being opened on. If so, they are added to the source project list.

Code isn't quite working yet, the users projects are found but the list of branches to pick from isn't updated (I suspect this will have to be implemented from scratch as it looks like the first drop down has done nothing until now)

Are there points in the code the reviewer needs to double check?

I will refactor the query for finding projects to make it better but after that it should probably be checked for any obvious speed issues

Why was this MR needed?

Fixes #17722 (moved)

Screenshots (if relevant)

Screenshot_from_2018-07-09_20-37-10

Second option was found using the new code.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports