Am 04.04.24 um 14:39 schrieb Andreas Stieger via openSUSE Factory:
On 2024-04-04 13:24, Ben Greiner wrote:
I always use the GitHub URL (github.com/org/pkg/pull/NNN.patch#/pkg-prNNN-shortdesc.patch) when possible in order to have a stable version. But sometimes you have to apply patches which have not been merged yet. In that case, there might be later additional commits (relevant or not) and the URL will yield a different patch which a bot in factory will complain about. So you leave out the URL and only reference it by comment.
You may have missed that unmerged commits from pull requests have an immutable commit ID that you can reference. Andreas
I know that, and I do use it for single commits. But a PR consisting of 10 commits would translate to 10 PatchXX lines and corresponding files. The lazy way always has been to download the whole file for the .patch or .diff URL and push it to obs. My point is that none of this is enforced. Nobody reviews big semi-reproducible patches. - Ben