Re: [RFC] Build tag in RPM: from NVR to NVRB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux