Re: upcoming branching

2017-02-21 Thread Pavel Raiskup
On Tuesday, February 21, 2017 1:45:38 PM CET Michal Novotny wrote:
> On Tue, Feb 21, 2017 at 12:03 PM, Pavel Raiskup  wrote:
> 
> > On Tuesday, February 21, 2017 9:31:33 AM CET Michal Novotny wrote:
> > > I plan to allow rebuilding all packages in a new chroot if users welcome
> > such
> > > option.
> >
> > Definitely.
> >
> > But how this is going to be implemented?  Simply resubmit builds into
> > initialized (empty) buildroot in random order work in most of the cases.
>
> In theory, we can find out, from db, the order, in which the existing packages
> were successfully built and build in that same order.

Many times the order is not enough.  There are two(or more)-step bootstrap
processes where you need to build some trimmed package A, then build dependency
B, and then build full package A.

> We can, however, always add the chroot where the packages are already
> built as an 'additional repository' for the new chroot.

Yes, that's what I've been doing (suggested by Mirek) .. but doing this manually
for like 7 maintained chroots is pretty error prone and boring manual job .. :(
You need to keep in mind to drop that additional repo once you bootstrapped...
Truth is that I should script this somehow via copr-cli, but ...

Anyways, yes -> if the Fedora N-1 was available automatically during
"mass-copr-rebuild", it would resolve the issues.

> There is an issue that when we do rebuilding, we use the latest
> "upstream" for MockSCM, PyPI, GitAndTito, Rubygems methods, which could
> have evolved from the latest build in the linked chroot.

That's right but I don't think we can do much about it (except for the explicit
"copy fedora N-1 builds only" option).  FTBFS bugs happen, the sooner user is
informed the better.

Thanks,
Pavel

> 
> > Pavel
> >
> >
> 

___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: upcoming branching

2017-02-21 Thread Michal Novotny
On Tue, Feb 21, 2017 at 7:18 AM, Igor Gnatenko  wrote:

> On Mon, 2017-02-20 at 21:28 +0100, Michal Novotny wrote:
> > On Mon, Feb 20, 2017 at 8:20 PM, Igor Gnatenko 
> > wrote:
> >
> > > On Mon, 2017-02-20 at 16:16 +0100, Michal Novotny wrote:
> > > > Hello,
> > > >
> > > > as soon as branching is done and f26 repo links become available,
> > > > we
> > > > will
> > > > switch the current fedora-26-* chroots from rawhide to use the
> > > > f26
> > > > repositories.
> > >
> > > I'm more interested in fedora-27-* being added...
> > >
> >
> > Hello, are you in favor of adding fedora-27 or rather fedora-rawhide
> > back?
> > This is more general question to the crowd. Both are technically
> > possible
> > but the question is what is less confusing. Does anything of it bring
> > you
> > less work? f26 -> f27 -> etc has probably higher maintenance cost.
> it depends. if you are planning to do mass-rebuild after branching in
> all copr repos, then I prefer rawhide. If not, I prefer fXY.
>

I plan to allow rebuilding all packages in a new chroot if users welcome
such option.


> >
> >
> > > >
> > > > COPR team
> > > > ___
> > > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > > To unsubscribe send an email to copr-devel-leave@lists.fedorahost
> > > > ed.o
> > > > rg
> > >
> > > --
> > > -Igor Gnatenko
> > > ___
> > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted
> > > .org
> > >
> > >
> >
> > ___
> > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> > rg
>
> --
> -Igor Gnatenko
>
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org
>
>
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: upcoming branching

2017-02-21 Thread Michal Novotny
On Tue, Feb 21, 2017 at 7:56 AM, Pavel Raiskup  wrote:

> On Tuesday, February 21, 2017 7:18:51 AM CET Igor Gnatenko wrote:
> > it depends. if you are planning to do mass-rebuild after branching in
> > all copr repos, then I prefer rawhide. If not, I prefer fXY.
>
> We had some off-list discussion with Michal and he was talking about
> something
> like "Settings -> Other Options" radio button:
>
> [ ] Fedora branching: Copy builds from Fedora N-1
> [ ] Fedora branching: Rebuild all packages from Fedora N-1
> [x] Fedora branching: Nothing happens
>
>
Something like that. I intended to allow both copying into a newly added
chroot and also
rebuilding all project packages for it. First as manually invoked user
action and then perhaps
add some automation. This can, however, work with both rawhide and just fXY
scheme.

Did I get this right?  Maybe we should have RFE for it?
>
>
The "copy builds" option is already sort-of implemented (worked for rawhide
> ->
> stable branching) but some fixes are needed per bug 1400941.
>

Yes, that's true, I would rather see that action to be implemented as
"fork-chroot" kind
to leave db records about builds that were copied (forked) but backend
logic is implemented.


>
> Pavel
>
> > >
> > >
> > > > >
> > > > > COPR team
> > > > > ___
> > > > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > > > To unsubscribe send an email to copr-devel-leave@lists.fedorahost
> > > > > ed.o
> > > > > rg
> > > >
> > > > --
> > > > -Igor Gnatenko
> > > > ___
> > > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted
> > > > .org
> > > >
> > > >
> > >
> > > ___
> > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> > > rg
> >
> >
>
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org
>
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: upcoming branching

2017-02-20 Thread Pavel Raiskup
On Tuesday, February 21, 2017 7:18:51 AM CET Igor Gnatenko wrote:
> it depends. if you are planning to do mass-rebuild after branching in
> all copr repos, then I prefer rawhide. If not, I prefer fXY.

We had some off-list discussion with Michal and he was talking about something
like "Settings -> Other Options" radio button:

[ ] Fedora branching: Copy builds from Fedora N-1
[ ] Fedora branching: Rebuild all packages from Fedora N-1
[x] Fedora branching: Nothing happens

Did I get this right?  Maybe we should have RFE for it?

The "copy builds" option is already sort-of implemented (worked for rawhide ->
stable branching) but some fixes are needed per bug 1400941.

Pavel

> > 
> > 
> > > > 
> > > > COPR team
> > > > ___
> > > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > > To unsubscribe send an email to copr-devel-leave@lists.fedorahost
> > > > ed.o
> > > > rg
> > > 
> > > --
> > > -Igor Gnatenko
> > > ___
> > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted
> > > .org
> > > 
> > > 
> > 
> > ___
> > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> > rg
> 
> 

___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: upcoming branching

2017-02-20 Thread Igor Gnatenko
On Mon, 2017-02-20 at 21:28 +0100, Michal Novotny wrote:
> On Mon, Feb 20, 2017 at 8:20 PM, Igor Gnatenko 
> wrote:
> 
> > On Mon, 2017-02-20 at 16:16 +0100, Michal Novotny wrote:
> > > Hello,
> > > 
> > > as soon as branching is done and f26 repo links become available,
> > > we
> > > will
> > > switch the current fedora-26-* chroots from rawhide to use the
> > > f26
> > > repositories.
> > 
> > I'm more interested in fedora-27-* being added...
> > 
> 
> Hello, are you in favor of adding fedora-27 or rather fedora-rawhide
> back?
> This is more general question to the crowd. Both are technically
> possible
> but the question is what is less confusing. Does anything of it bring
> you
> less work? f26 -> f27 -> etc has probably higher maintenance cost.
it depends. if you are planning to do mass-rebuild after branching in
all copr repos, then I prefer rawhide. If not, I prefer fXY.
> 
> 
> > > 
> > > COPR team
> > > ___
> > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > To unsubscribe send an email to copr-devel-leave@lists.fedorahost
> > > ed.o
> > > rg
> > 
> > --
> > -Igor Gnatenko
> > ___
> > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted
> > .org
> > 
> > 
> 
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> rg

-- 
-Igor Gnatenko

signature.asc
Description: This is a digitally signed message part
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: upcoming branching

2017-02-20 Thread Pavel Raiskup
On Monday, February 20, 2017 4:16:38 PM CET Michal Novotny wrote:
> as soon as branching is done and f26 repo links become available, we will
> switch the current fedora-26-* chroots from rawhide to use the f26
> repositories.

Thanks for the update!

Regarding the future fedora-27-x86_64 rpm repositories ...  Will we
inherit built rpm packages from the actual fedora-26 repos?  That's
important to avoid re-bootstrapping or at least expensive rebuilding of
all the .fc26 packages (IOW, I'm definitely fine provide packages with
.fc26 dist in fedora-27 repos).

Thanks!
Pavel
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: upcoming branching

2017-02-20 Thread Michal Novotny
On Mon, Feb 20, 2017 at 8:20 PM, Igor Gnatenko  wrote:

> On Mon, 2017-02-20 at 16:16 +0100, Michal Novotny wrote:
> > Hello,
> >
> > as soon as branching is done and f26 repo links become available, we
> > will
> > switch the current fedora-26-* chroots from rawhide to use the f26
> > repositories.
> I'm more interested in fedora-27-* being added...
>

Hello, are you in favor of adding fedora-27 or rather fedora-rawhide back?
This is more general question to the crowd. Both are technically possible
but the question is what is less confusing. Does anything of it bring you
less work? f26 -> f27 -> etc has probably higher maintenance cost.


> >
> > COPR team
> > ___
> > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> > rg
>
> --
> -Igor Gnatenko
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org
>
>
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: upcoming branching

2017-02-20 Thread Igor Gnatenko
On Mon, 2017-02-20 at 16:16 +0100, Michal Novotny wrote:
> Hello,
> 
> as soon as branching is done and f26 repo links become available, we
> will
> switch the current fedora-26-* chroots from rawhide to use the f26
> repositories.
I'm more interested in fedora-27-* being added...
> 
> COPR team
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> rg

-- 
-Igor Gnatenko

signature.asc
Description: This is a digitally signed message part
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org