Skip to content
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

Support creating fork relationships #410

Closed
Charuru opened this issue Aug 10, 2019 · 2 comments · Fixed by #413
Closed

Support creating fork relationships #410

Charuru opened this issue Aug 10, 2019 · 2 comments · Fixed by #413

Comments

@Charuru
Copy link

Charuru commented Aug 10, 2019

Fork relationship described here:
https://docs.gitlab.com/ce/api/projects.html#fork-relationship

Steps to reproduce

api.Projects.fork(65, 66)

Expected behaviour

A new fork relationship is created between 65 and 66.

Actual behaviour

Tries to fork 65.

@jdalrymple
Copy link
Owner

api.Projects.fork only supports forking projects at the moment, not forking relationships :) Will add soon!

jdalrymple added a commit that referenced this issue Aug 13, 2019
Implemented https://docs.gitlab.com/ce/api/projects.html#fork-relationship. ForkedFromId can be supplied as a optional argument.

closes: #410
jdalrymple pushed a commit that referenced this issue Aug 22, 2019
# [10.2.0](10.1.2...10.2.0) (2019-08-22)

### Bug Fixes

* incorrect url path for mr unapprove ([85c3329](85c3329))

### Features

* Add Gitlab Blame endpoint to the RespositoryFiles API ([ac670cc](ac670cc)), closes [#409](#409)
* Adding fork relationship support ([76cb783](76cb783)), closes [#410](#410)
@jdalrymple
Copy link
Owner

🎉 This issue has been resolved in version 10.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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 a pull request may close this issue.

2 participants