-
Notifications
You must be signed in to change notification settings - Fork 5.8k
updated fork feature to use gitlab-shell for v5 of gitlab #3597
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
Conversation
Too bad that the build faild :( |
Is there anyway to retry the build? The failure is in an area entirely unrelated to my changeset, and from what I've seen, capybara is prone to intermittent falure.
|
So if I understand correctly, you cannot merge (PR/MR) forks back into any branch of the original repo. However, I think it is vital for this feature to actually allow to send your work in the forked repo back to the original one. Is this being worked on somewhere else? |
@fbender Yes - this is actively being worked on. |
@@ -60,7 +60,8 @@ def project_guest_rules | |||
:read_note, | |||
:write_project, | |||
:write_issue, | |||
:write_note | |||
:write_note, | |||
:fork_project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allowing fork project for guest role is bad. Guest role does not have access to source code
@amacarthur its almost in upstream. Few notes left :) |
Excellent! Thanks @randx |
I hope to update this pull request today. I have encountered a bug that I need to address before this should be merged. |
When asking to fork a project and a project with the same name already exists (likely from a previous fork), the recovery from the fork failure would inadvertantly delete the repo of the existing destination project.
Travis build failed only when attempting to run with Ruby 2.0.0. The failure is due to a known Ruby 2.0.0 issue. See rails/rails#9417 (comment) |
@amacarthur thank you. Lets merge it :) |
updated fork feature to use gitlab-shell for v5 of gitlab
Wonderful. Thanks @amacarthur for all your work on this. And for not giving up 👍 |
@amacarthur since
for ruby 2.0 we should find a better solution. |
@amacarthur Can you please make it work with ruby 2.0 today or should I fix it? |
This feature is an awesome addition to gitlab! 👍 |
@randx Looking into it now. |
Fix for failure using ruby 2.0: |
@amacarthur thank you for quick fix :) Also thank you again for good contribution! |
Suggest fork feature add configurable options, and default project features settings, Just like: ## Default project features settings
default_projects_features:
issues: true
merge_requests: true
wiki: true
wall: false
snippets: false
fork: false ##here Thanks! |
Award Emoji: fix for merge requests Closes #3597 See merge request !1865
Award Emoji: fix for merge requests Closes #3597 See merge request !1865
Replaces pull request #3382
Dependent upon gitlab-shell pull request: gitlabhq/gitlab-shell#45
This will provide a button on the project page which will create a fork of a project into their own namespace. The fork from/to relationship is recorded in anticipation of gitlab handling cross-repo pull requests.