Re: FYI Koji 1.35 changed how side tag newRepo works

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

 



On Thu, Oct 24, 2024 at 9:22 AM Alexander Ploumistos
<alex.ploumistos@xxxxxxxxx> wrote:
>
> Hello Kevin, Fabio,
>
> Thank you both for the information.
>
> On Thu, Oct 24, 2024 at 2:23 AM Fabio Valentini <decathorpe@xxxxxxxxx> wrote:
> >
> > In both cases, you'd need to do a `koji wait-repo <tag building in>
> > --build <nvr you need>` to ensure that the build you need is
> > available.
>
> Good, that's what I was doing already when building multiple packages.
>
>
> > The only change is that you now might need to pass `--request` if
> > there hasn't been a repo regeneration since the build you need
> > finished, and the CLI even warns you that without `--request` you
> > might need to wait a looooong time.
>
> Also "koji wait-repo <tag name>" is no longer working, but that is
> getting fixed, correct?

Yes, currently that does (almost always) nothing, because it waits for
*any* valid repo to exist for that tag, not a *current* one.
But yes, there's an open PR against koji to default to waiting for a
*current* repo:
https://pagure.io/koji/pull-request/4228

> I haven't created a side tag during the last month or so, but I
> remember that once a side tag was created, the following message was
> printed:
> Side tag '<tag-name-xxx>' (id <xxx>) created.
> Use 'fedpkg build --target=<tag-name-xxx>' to use it.
> Use 'koji wait-repo <tag-name-xxx>' to wait for the build repo to be generated.
>
> I thought that the last bit was necessary before the first build.
> Sometimes it would exit instantly with "successfully waited for 0s" or
> something similar, other times it would take longer. Was I wrong to
> use it like this?

The last bit was *never* necessary before the first build, fedpkg just
lied to all of us :)
So you weren't wrong to use it, but it just wasn't ever actually doing
anything useful.
The first build *always* waited for the repo to get generated when
launched, without needing to run a wait-repo between creation of the
side-tag and launching the first build.

Fabio
-- 
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue




[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