V Sat, Jun 18, 2022 at 01:57:30PM +0200, Vitaly Zaitsev via devel napsal(a):
On 18/06/2022 13:43, Aleksandra Fedorova wrote:
> And, for example, rpmautospec will not help in the case we need to
> update a build on pull request update: When you work with
> pull-requests you don’t necessarily add commits, you rework the
> history of a branch from which you run a PR. Sometimes even reducing
> the number of commits in it.
When a PR is merged, the Release will be incremented and a new changelog
entry will be added based on the merged commits.
I think Aleksandra wants to (non-scratch) build all pull requestes before
merging. Those would have identical NVR without buildid. Imagine you have
A commit in dist-git and two competing pull requests B and C:
dist-git HEAD → A
|\
B C
With the build id, you you can build both B and C. Then you can test them.
When you are fine with one of them, let's say B, you merge it with
fast-forward:
A
|\
dist-git HEAD → B C
And you don't need to rebuild and test B again because it has already been
performed.
-- Petr