Possible to download a single patch representing all closed issues of a milestone? #22306
-
One can append a “.patch” to a pull request’s URL to have github generate a patch which is really convenient. Is it possible to have github generate a single patch for all closed issues/merged PRs associated with a project milestone somehow? For example, there are currently 19 closed PRs associated with a Leia milestone … can I get github to make a single patch for these 19? Alternatively, I can manually go through them and make github generate the corresponding patches as I described above. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Interesting question. There isn’t a way that I know of to do this through the GitHub UI. Because GitHub is relying on Git functionality to generate the patch that you see, you might be able to build a tool that could query the GitHub API for the information about pull requests associated with a milestone and then generate the patch yourself from a local clone of the repository. I hope that helps! Let us know if you have more questions. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the reply. I have a hacky bash script that lists out each indiviual patch for inclusion in a package, but doing it via an API would be must slicker.
|
Beta Was this translation helpful? Give feedback.
Interesting question.
There isn’t a way that I know of to do this through the GitHub UI. Because GitHub is relying on Git functionality to generate the patch that you see, you might be able to build a tool that could query the GitHub API for the information about pull requests associated with a milestone and then generate the patch yourself from a local clone of the repository.
I hope that helps! Let us know if you have more questions.