Should "koji regen-repo" be necessary?

Jon jdisnard at gmail.com
Thu May 14 02:07:47 UTC 2015


On Wed, May 13, 2015 at 7:13 PM, Sérgio Basto <sergio at serjux.com> wrote:

> On Seg, 2015-05-11 at 14:37 -0500, Dennis Gilmore wrote:
> > On Monday, May 11, 2015 06:56:39 PM John Florian wrote:
> > > I'm relatively new to Koji and my setup works very well, until it
> doesn't.
> > > A recurring theme is that the buildroot sometimes cannot be populated.
> > > Today's example:
> > >
> > > DEBUG util.py:388:  Transaction Summary
> > > DEBUG util.py:388:
> > >
> ===========================================================================
> > > ===== DEBUG util.py:388:  Install  11 Packages (+174 Dependent
> packages)
> > > DEBUG util.py:388:  Total download size: 104 M
> > > DEBUG util.py:388:  Installed size: 429 M
> > > DEBUG util.py:388:  http://our-local-mirror-host
> > > /pub/fedora/updates/21/i386/p/perl-Encode-2.72-1.fc21.i686.rpm: [Errno
> 14]
> > > HTTP Error 404 - Not Found DEBUG util.py:388:  Trying other mirror.
> > > DEBUG util.py:388:  Error downloading packages:
> > > DEBUG util.py:388:    1:perl-Encode-2.72-1.fc21.i686: failed to
> retrieve
> > > perl-Encode-2.72-1.fc21.i686.rpm from build DEBUG util.py:388:  error
> was
> > > [Errno 14] HTTP Error 404 - Not Found DEBUG util.py:499:  Child return
> code
> > > was: 1
> > > DEBUG util.py:183:  kill orphans
> > >
> > > When this happens I can regen-repo and then resubmit the build and
> > > everything will be fine.  Is this normal?  I was kind of under the
> > > impression that kojira maybe took care of this kind of thing, but the
> > > documentation vacuum leaves one to wonder quite a bit.
> >
> > kojira handles it for internally generated builds,  however it does not
> > have any way to check if an external repo has changed and trigger new
> > repos for external repos.  so you will need to do something that
> > triggers kojira to generate a new repo or run regen-repo
> >
>
> When we want have a koji, to build packages that extends Fedora and have
> Fedora repos as external repos , what we can do ? to avoid this
> problem .
> We need setup an local mirror ? and after our local mirror sync
> packages, runs regen-repo ?
>
> Thanks,
> --
> Sérgio M. B.
>
> --
> buildsys mailing list
> buildsys at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>


Yes, you would script the repo regen after the mirror sync.


-- 

-Jon Disnard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20150513/4a454ab9/attachment.html>


More information about the buildsys mailing list