What does this MR do?
Adds the ability for project owners to remove the forked relationship to the source
project via the Project > Settings screen. This was from an issue request #2578 (closed).
I worked on this MR with @DouweM.
Where should the reviewer start?
There's a new controller action projects#remove_fork
and changes to the edit
view to provide the new context. The logic was taken form the exiting API.
How should this be manually tested?
- As a logged in user fork a project from another namespace
- Visit the settings page for that newly fork project
- You should be given the option to Remove forked relationship with a confirmation.
- A flash message should appear when complete.