Re: FYI Koji 1.35 changed how side tag newRepo works

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

 



V Tue, Oct 22, 2024 at 11:03:17AM -0700, Kevin Fenzi napsal(a):
> On Tue, Oct 22, 2024 at 10:24:58AM -0700, Adam Williamson wrote:
> > On Tue, 2024-10-22 at 16:11 +0100, Richard W.M. Jones wrote:
> > > [So no one else ends up waiting around like an idiot]
> > > 
> > > Koji 1.35 changed how repositories and side tags and such get rebuilt,
> > > so they no longer get rebuilt on their own.  Instead you have to *either*:
> > > 
> > >   fedpkg build --target=... --wait-build=<build>
> > > 
> > > *or*:
> > > 
> > >   koji wait-repo <tag> --build=<build> --request
> > > 
> > > where the --request option (I think implied in the first command) will
> > > both request that the repository is recreated and wait for it.
> 
> Yeah, if you want to be sure. If your side tag is against say rawhide,
> just doing a build on it later will likely get a newrepo anyhow as the
> base tag has updated since, but the above are some ways to be sure.
> 
Just to be sure:

"koji wait-repo <tag> --build=<build>" waits on the build,
but never itself start a repository regeneration.

"koji wait-repo <tag> --build=<build> --request" starts the regeneration if
the build is not yet there. I'm not sure what happens if the build is already
there. Does it start the regeneration nevertheless?

If find current (koji-1.35.1-1.fc39) "koji wait-repo --help" output misleading:

    Options:
      -h, --help         show this help message and exit
      --build=NVR        Check that the given build is in the newly-generated repo
                         (may be used multiple times)
      --target           Interpret the argument as a build target name
      --request          Create a repo request (requires auth)
      --no-request       Do not create a repo request (the default)
      --timeout=TIMEOUT  Amount of time to wait (in minutes) before giving up
                         (default: 120)
      -v, --verbose      Be verbose
      --quiet            Suppress output, success or failure will be indicated by
                         the return value only

What does mean "newly-generated repo" in case of (the default) --no-request
option?

-- 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, 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