#5281 Default "New Pull Request" to main branch
Opened 2 years ago by opohorel. Modified 2 years ago

When you want to create a PR for example from a branch in a fork, you click on "Open PR" and then "New Pull Request", you are redirected to 400 Bad Request page.

This happens because Fedora no longer uses master branch[0].

Can we change default branch PR are created against from "master" to "main" in order to fix this?

[0]https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main


On src.fedoraproject.org, this has already been changed. For pagure.io, that deployment needs configuration changes applied to make it effective.

@zlopez, @pingou, do we plan to make those changes to pagure.io anytime soon?

Metadata Update from @ngompa:
- Issue tagged with: pagure.io, pkgs.fp

2 years ago

On src.fedoraproject.org, this has already been changed.

Is this changed on live? Because about 30 minutes ago I ran into this issue when creating PR[0] through src.fedoraproject.org

[0]https://src.fedoraproject.org/rpms/recode/pull-request/5

Login to comment on this ticket.

Metadata