Is it possible (or even smart) to pack changes for multiple repositories into a single pull request on Github? Or would it be better to make two separate pull requests?
In my specific case, I am adding a new feature to Paris, the simple Active Record implementation built on top of Idiorm. But the change in Paris also requires a change in Idiorm. Idiorm and Paris are from the same author but live in different repositories.
Can I (and should I) make a single pull request? Or do I need to make two, and then comment in the second pull request that it won't work unless the first changeset has been merged on the other repository?
There can be only one open PR from a given branch. However, you can create a new branch from the tip (branch is just a pointer to a commit) and work from there.
From what I can see of GitHub pull request, this operation is linked to a single GitHub repository:
By default, pull requests are assumed to be based on the parent-most repository’s integration branch.
In a great majority of cases, the defaults will be right; however, if any of this information is incorrect, press theChange Commits
button.
The commit range selector will expand, allowing the base repository, base branch, and head branch to be customized.
Only one base repo can be entered.
So in your case, a note mentioning the dependency seems the relevant option here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With