Bug 1400941 - [rfe] add fedora-rawhide chroots
Summary: [rfe] add fedora-rawhide chroots
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: frontend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-02 11:16 UTC by Pavel Raiskup
Modified: 2017-03-10 13:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1400943 (view as bug list)
Environment:
Last Closed: 2017-03-10 13:38:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1400943 0 unspecified CLOSED RFE: test './manage.py rawhide_to_release' 2021-02-22 00:41:40 UTC

Internal Links: 1400943

Description Pavel Raiskup 2016-12-02 11:16:54 UTC
For long-term (low-traffic) projects, it is very useful to build package
once (against fedora-rawhide) and let it live years without touching.  This
is how regular package maintenance works in Fedora (build once, and manually
rebuild only once FTBFS occurs).

Please add Fedora Rawhide back, or somehow guarantee that Fedora 27 will
automatically inherit builds from Fedora 26.

Comment 2 clime 2016-12-03 19:42:53 UTC
(In reply to Pavel Raiskup from comment #0)
> For long-term (low-traffic) projects, it is very useful to build package
> once (against fedora-rawhide) and let it live years without touching.  This
> is how regular package maintenance works in Fedora (build once, and manually
> rebuild only once FTBFS occurs).
> 
> Please add Fedora Rawhide back, or somehow guarantee that Fedora 27 will
> automatically inherit builds from Fedora 26.

There might be a button f26->f27 effectively doing copy of the latest successful builds from f26 into f27 chroot as a simple solution for a start.

You can also rebuild all your packages for the new chroot with the prev chroot added to 'additional repositories' so that they can be built in any order.

You can also use custom chroots (now that they are enabled) configured for rawhide repos. This has been already proposed on copr-devel mailing list.

Could you explain how this issue blocks 1400943 if we strive for particular chroot independent system?

Comment 3 Pavel Raiskup 2016-12-05 07:26:19 UTC
(In reply to clime from comment #2)
> (In reply to Pavel Raiskup from comment #0)
> > For long-term (low-traffic) projects, it is very useful to build package
> > once (against fedora-rawhide) and let it live years without touching.  This
> > is how regular package maintenance works in Fedora (build once, and manually
> > rebuild only once FTBFS occurs).
> > 
> > Please add Fedora Rawhide back, or somehow guarantee that Fedora 27 will
> > automatically inherit builds from Fedora 26.
> 
> There might be a button f26->f27 effectively doing copy of the latest
> successful builds from f26 into f27 chroot as a simple solution for a start.

Thanks, that's needed!

> You can also rebuild all your packages for the new chroot with the prev
> chroot added to 'additional repositories' so that they can be built in any
> order.

That would be unnecessary wasting of maintainers' time and copr's power.
Unless there's a bug in package, we shouldn't make copr users rebuilding
twice a year (we just should give them the option).

> You can also use custom chroots (now that they are enabled) configured for
> rawhide repos. This has been already proposed on copr-devel mailing list.

Custom-1-* chroot is not replacement for fedora-rawhide-* in the
'maintainer -> copr -> users' pipeline.

> Could you explain how this issue blocks 1400943 if we strive for
> particular chroot independent system?

Can you elaborate this question?  Bug 1400943 is just about me to test
that rawhide_to_relese script works ... because I need to maintain that.
Fedora-rawhide-chroot is something which works for Fedora many years and
I'm not going to disable that for internal Copr because that is terribly
counter-intuitive.  That reminds me that I should properly document this.

The relation with this bug is:  It is likely that rawhide_to_relese will
get dropped because it is not needed anymore upstream (upstream will
likely invent release_to_release+1 script, which is release_to_rawhide)
to fix the regression.

Comment 4 clime 2016-12-06 07:04:27 UTC
(In reply to Pavel Raiskup from comment #3)
> (In reply to clime from comment #2)
> > (In reply to Pavel Raiskup from comment #0)
> > > For long-term (low-traffic) projects, it is very useful to build package
> > > once (against fedora-rawhide) and let it live years without touching.  This
> > > is how regular package maintenance works in Fedora (build once, and manually
> > > rebuild only once FTBFS occurs).
> > > 
> > > Please add Fedora Rawhide back, or somehow guarantee that Fedora 27 will
> > > automatically inherit builds from Fedora 26.
> > 
> > There might be a button f26->f27 effectively doing copy of the latest
> > successful builds from f26 into f27 chroot as a simple solution for a start.
> 
> Thanks, that's needed!
> 
> > You can also rebuild all your packages for the new chroot with the prev
> > chroot added to 'additional repositories' so that they can be built in any
> > order.
> 
> That would be unnecessary wasting of maintainers' time and copr's power.
> Unless there's a bug in package, we shouldn't make copr users rebuilding
> twice a year (we just should give them the option).
> 
> > You can also use custom chroots (now that they are enabled) configured for
> > rawhide repos. This has been already proposed on copr-devel mailing list.
> 
> Custom-1-* chroot is not replacement for fedora-rawhide-* in the
> 'maintainer -> copr -> users' pipeline.
> 
> > Could you explain how this issue blocks 1400943 if we strive for
> > particular chroot independent system?
> 
> Can you elaborate this question?  Bug 1400943 is just about me to test
> that rawhide_to_relese script works ... because I need to maintain that.
> Fedora-rawhide-chroot is something which works for Fedora many years and
> I'm not going to disable that for internal Copr because that is terribly
> counter-intuitive.  That reminds me that I should properly document this.
> 
> The relation with this bug is:  It to me is likely that rawhide_to_relese will
> get dropped because it is not needed anymore upstream (upstream will
> likely invent release_to_release+1 script, which is release_to_rawhide)
> to fix the regression.

Rawhide_to_Release might get generalized to allow moving builds between any two chroots and it might become function available to users from UI named something like 'Fork chroot'.

This function will be able to achieve the same result the rawhide_to_release command.

You can add fedora-rawhide in your test and test on it. That's why this feature request does not block 1400943 in any way.

Comment 5 Pavel Raiskup 2016-12-06 07:20:17 UTC
(In reply to clime from comment #4)
> Rawhide_to_Release might get generalized to allow moving builds between any
> two chroots and it might become function available to users from UI named
> something like 'Fork chroot'.
> 
> This function will be able to achieve the same result the rawhide_to_release
> command.

Agreed, that would be neat.

> You can add fedora-rawhide in your test and test on it. That's why this
> feature request does not block 1400943 in any way.

Ah, I now understand your question -- that's just the result of "Bug clone"
action;  and the blocks field doesn't break any process.  Fixing anyway.

Comment 6 clime 2017-03-10 13:38:48 UTC
In the end, I think we should have "rawhide" when mock has config for rawhide chroot that uses rawhide repos specifically. Having named it after release is interesting but, for sure, might be complicated to think about. And the described features, if they will be implemented, are not dependant on particular chroot naming.

New Copr version has been released.


Note You need to log in before you can comment on or make changes to this bug.