I have a deployment of Pagure that maintains repos with unused "master" branches, where all the important code is in branches named "product-x.y" or similar. I'd like Pagure to offer these branches as default PR target when creating new PRs in UI. E.g. branch "product-x.y" should be offered as default PR target when making PR from branch "product-x.y-feature.1".
This PR implements this and makes it a non-default behavior controlled by a value in config.
I have a deployment of Pagure that maintains repos with unused "master" branches, where all the important code is in branches named "product-x.y" or similar. I'd like Pagure to offer these branches as default PR target when creating new PRs in UI. E.g. branch "product-x.y" should be offered as default PR target when making PR from branch "product-x.y-feature.1".
This PR implements this and makes it a non-default behavior controlled by a value in config.