#767 Can't create pull request from the master project, invalid link
Closed: Fixed None Opened 8 years ago by kparal.

I've forked https://pagure.io/releng. I can create a pull request from my forked project page, that uses this link:

https://pagure.io/fork/kparal/releng/diff/master..feature/fix-phab-links

But when I try to do the same from the releng project page, it uses this link:

https://pagure.io/releng/diff/master..feature/fix-phab-links

That returns HTTP 400 Bad request. It seems it's trying to locate feature/fix-phab-links branch inside the releng repo, but that's incorrect, it's my branch in my forked repo. The UI looks OK when attempting to create such a request, it says File Pull Request -> From kparal/releng feature/fix-phab-links. Just the generated URL is incorrect.


Where did you find the link: https://pagure.io/releng/diff/master..feature/fix-phab-links ?

Currently from a fork you can only open a PR to the main project, we don't (yet) support PR within a fork, so I suspect the first link is/was correct.

hm, sounds like a bug indeed

Fixed in the PR linked to above

Login to comment on this ticket.

Metadata
Attachments 1
Attached 8 years ago View Comment