#481 RFE: please allow pull requests between forks
Closed: Fixed None Opened 8 years ago by maxamillion.

In the event multiple contributors would like to work together on a feature branch outside of the main "upstream" repository, it would be nice to allow pull requests between two forks of "upstream" ... currently an attempt to do this results in a 500 error.


So this should work but there is a bug in the code, here is the stacktrace:

  File "/usr/lib/python2.7/site-packages/pagure/ui/fork.py", line 786, in new_request_pull
    orig_repo = pygit2.Repository(parentpath)
  File "/usr/lib64/python2.7/site-packages/pygit2/repository.py", line 59, in __init__
    super(Repository, self).__init__(*args, **kwargs)
KeyError: '/srv/git/repositories/maxamillion/releng.git'

Should be an easyfix, it's looking at the parent repo as if it is a regular repo while it's a fork, so the folder is to fix.

Login to comment on this ticket.

Metadata