Prepare fork to given namespace
Compare changes
@@ -2,11 +2,9 @@ module Projects
@@ -15,8 +13,15 @@ module Projects
@@ -27,7 +32,7 @@ module Projects
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Issue #210 (closed) reported that fork into a group's namespace is not possible thru gitlab and in the merge request "to be able to fork a project through the API", two people wanted to also be able to fork to a group's namespace.
Example user story for this from the fork merge request: "+1 For training courses we are running, we want to fork a project in a known state, rename it and then move it to a Training Group. It would be great to be able to script this."
This is the 1st of two commits to make this happen:
Add the Middleware for supporting forks to a given namespace. gitlab-shell's 2nd argument for fork is already the namespace in which the forked project shall be created. This commit makes this functionality available in the gitlab-rails layer.