Skip to content

Add the ability to fork to a specific namespace #144

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

Merged
merged 4 commits into from
Sep 10, 2016

Conversation

koyaan
Copy link
Contributor

@koyaan koyaan commented Sep 10, 2016

This feature is coming in 8.12 and already in nightly.
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6213

@@ -51,6 +51,9 @@
fork = gl.project_forks.create({}, project_id=1)
# or
fork = project.forks.create({})

# fork to a specific namespace
fork gl.project_forks.create({'namespace': 'myteam'}, project_id=1)
Copy link
Contributor

Choose a reason for hiding this comment

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

= is missing in this example (fork = ...)

@gpocentek
Copy link
Contributor

Looks good! Just a small fix in the doc and I'll merge. Thank you

@koyaan
Copy link
Contributor Author

koyaan commented Sep 10, 2016

@gpocentek You're welcome! I really need this feature so i was delighted it was just added days ago.

@gpocentek gpocentek merged commit 449830f into python-gitlab:master Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants