#4970 Add a note that repo_from* argument are mandatory in some situations
Merged 3 years ago by pingou. Opened 3 years ago by pingou.

file modified
+5
@@ -1353,6 +1353,11 @@ 

      |                       |          |             | changes are about.     |

      +-----------------------+----------+-------------+------------------------+

  

+     Note: If f the repo you're opening the PR against is not the same as the

+     repo from which the changes originates, you must provide the ``repo_from``

+     and ``repo_from_username`` (and potentially ``repo_from_namespace``)

+     corresponding to the fork.

+ 

      Sample response

      ^^^^^^^^^^^^^^^

  

When creating PR via the API, if the repo that the changes originates
from is different from the repo targeted by the PR, then the information
about the repo_from must be provided so that pagure knows where to look
for these changes.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Since this is not tested in the test suite, I'll rebase and merge it directly.

Thanks for the review! :)

rebased onto 7f36aef

3 years ago

Pull-Request has been merged by pingou

3 years ago