Kallithea issues archive

Issue #210: API: fork_repo failing when group specified in fork_name

Reported by: Alexandre Beaulieu
State: resolved
Created on: 2016-04-14 16:50
Updated on: 2018-05-19 15:14

Description

The fork_repo API method fails if a group is provided in fork_name. However, if no group is provided then the request creates the fork in the root.

A patch that fixes the issue is attached.

Attachments

fork_repo.patch

Comments

Comment by Mads Kiilerich, on 2016-04-14 18:26

See also https://bitbucket.org/conservancy/kallithea/pull-requests/212/clean-repo-name-from-group-if-exist-for/diff - and especially the request for also getting a test that shows it actually works and makes sure it keeps working.

Comment by Thomas De Schampheleire, on 2018-05-19 15:14

Fixed with 6754597990cb