1. Bitbucket Website
  2. Public Issue Tracker
  3. master

Issues

Issue #8567 invalid

Changing forking mode is only available for private repository !

Mathieu Courtois
created an issue

In the Administration tab, I would change forking mode from "Allow only private forks" to "Allow forks". But it was not possible until I check "This is a private repository"

I think that the condition is reversed.

Workaround: check "private repo", change the forking mode and then uncheck "private". The forking mode is saved.

For public repository, the widgets are: see unchecked.png

After checking the "private repo" box: see checked.png

Comments (17)

  1. Mathieu Courtois reporter

    It's not so simple because my repository was public but only private forks were allowed.

    I had to check "This is a private repository" to "Allow (public) forks".

    If private repos can be forked and public repos can be unforkable, the "Forking" widget should not depends on "This is a private repository" checkbox.

    Perhaps that public forks are allowed by default for public repos, but when I created my clones on BB I set them as private to test, fill the wiki... and then I open the access to public.

  2. Erik van Zijst staff

    I had to check "This is a private repository" to "Allow (public) forks".

    That would be a bug. However, I cannot reproduce this.

    Things are meant to work like @loicag says. Public repos are always (publicly) forkable.

    Do you have a public repo that is not publicly forkable? Or are you able to create one? If so, I'd be keen to have a look at that.

  3. Dag Lyberg

    I am having problem with switching a private repository to a public one. Currently in the Settings tab, the Access level is "This is a private repository" and Forking is "Allow only "private forks".

    I want to switch to a public repository and "Allow forks". But if I uncheck "private repository", then no matter what choice of the Forking option I choose, I only get the warning "Public repositories must allow public forks".

    This must be a bug somewhere beyond my control.

  4. Pavel Vorobiov

    the same issue.
    i even cannot change forking settings for private repository. choose "allow forks" -> save -> got "Your repository settings have been updated." message but still have "Allow only private forks" in forking select.

  5. Jan Bednář

    Same here. When I change repository to private, Forking option is hidden and i get message "Public repositories must allow public forks." Same behavior, when i choose Allow forks and then uncheck private repository.

  6. Cedar McKay

    Can't change a private to a public repo. When private, it won't let me choose "Allow Forks". When I try to switch to public, it complains that "Public repositories must allow public forks" but there is no way to do that through the web interface.

  7. Chris Somme staff

    Yes, there was a problem that was recently deployed that prevented making private repositories public. A fix was just deployed, you should be able to do it though the web interface again.

  8. Log in to comment