X Tutup
Skip to content

Add the ability to fork to a specific namespace#144

Merged
gpocentek merged 4 commits intopython-gitlab:masterfrom
koyaan:master
Sep 10, 2016
Merged

Add the ability to fork to a specific namespace#144
gpocentek merged 4 commits intopython-gitlab:masterfrom
koyaan:master

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

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

X Tutup