Re: Bootstrapping package with circular dependencies in koji

2023-09-08 Thread Vít Ondruch
Getting back to this thread, because the good news is that things have improved and there is now easier way to bootstrap packages in Koji using side-tags: https://docs.fedoraproject.org/en-US/package-maintainers/Package_Update_Guide/#_using_macros_in_a_side_tag and `%_with_bootstrap` macro.

Re: Bootstrapping package with circular dependencies in koji

2023-01-31 Thread Kevin Fenzi
On Tue, Jan 31, 2023 at 07:06:25PM -0700, Orion Poplawski wrote: > On 1/31/23 11:06, Kevin Fenzi wrote: > > On Tue, Jan 31, 2023 at 02:23:48PM +0100, Vít Ondruch wrote: > > > > > > > > > It seems that Koji supports this, but it need some configuration change. I > > > have opened followup ticket

Re: Bootstrapping package with circular dependencies in koji

2023-01-31 Thread Orion Poplawski
On 1/31/23 11:06, Kevin Fenzi wrote: On Tue, Jan 31, 2023 at 02:23:48PM +0100, Vít Ondruch wrote: It seems that Koji supports this, but it need some configuration change. I have opened followup ticket here: https://pagure.io/releng/issue/11254 Yeah, my first thought about this was that it

Re: Bootstrapping package with circular dependencies in koji

2023-01-31 Thread Kevin Fenzi
On Tue, Jan 31, 2023 at 02:23:48PM +0100, Vít Ondruch wrote: > > > It seems that Koji supports this, but it need some configuration change. I > have opened followup ticket here: > > https://pagure.io/releng/issue/11254 Yeah, my first thought about this was that it might be too broad, but it

Re: Bootstrapping package with circular dependencies in koji

2023-01-31 Thread Vít Ondruch
Dne 26. 01. 23 v 9:43 Vít Ondruch napsal(a): Dne 25. 01. 23 v 19:34 Kevin Fenzi napsal(a): On Wed, Jan 25, 2023 at 03:45:35PM +0100, Jaroslav Skarvada wrote: On Wed, Jan 25, 2023 at 12:13 PM Miro Hrončok wrote: On 25. 01. 23 11:50, Vít Ondruch wrote: Reading the thread, I was afraid this

Re: Bootstrapping package with circular dependencies in koji

2023-01-26 Thread Vít Ondruch
Dne 25. 01. 23 v 19:34 Kevin Fenzi napsal(a): On Wed, Jan 25, 2023 at 03:45:35PM +0100, Jaroslav Skarvada wrote: On Wed, Jan 25, 2023 at 12:13 PM Miro Hrončok wrote: On 25. 01. 23 11:50, Vít Ondruch wrote: Reading the thread, I was afraid this will be the end result. Nevertheless, given

Re: Bootstrapping package with circular dependencies in koji

2023-01-25 Thread Kevin Fenzi
On Wed, Jan 25, 2023 at 03:45:35PM +0100, Jaroslav Skarvada wrote: > On Wed, Jan 25, 2023 at 12:13 PM Miro Hrončok wrote: > > > > On 25. 01. 23 11:50, Vít Ondruch wrote: > > > Reading the thread, I was afraid this will be the end result. > > > Nevertheless, > > > given this would be used just

Re: Bootstrapping package with circular dependencies in koji

2023-01-25 Thread Vít Ondruch
Dne 25. 01. 23 v 15:45 Jaroslav Skarvada napsal(a): On Wed, Jan 25, 2023 at 12:13 PM Miro Hrončok wrote: On 25. 01. 23 11:50, Vít Ondruch wrote: Reading the thread, I was afraid this will be the end result. Nevertheless, given this would be used just for side-tags, is there a chance to

Re: Bootstrapping package with circular dependencies in koji

2023-01-25 Thread Jaroslav Skarvada
On Wed, Jan 25, 2023 at 12:13 PM Miro Hrončok wrote: > > On 25. 01. 23 11:50, Vít Ondruch wrote: > > Reading the thread, I was afraid this will be the end result. Nevertheless, > > given this would be used just for side-tags, is there a chance to exclude > > side > > tags from the policy? Who

Re: Bootstrapping package with circular dependencies in koji

2023-01-25 Thread Miro Hrončok
On 25. 01. 23 11:50, Vít Ondruch wrote: Reading the thread, I was afraid this will be the end result. Nevertheless, given this would be used just for side-tags, is there a chance to exclude side tags from the policy? Who would handle such request? Although being able to modify one macro means

Re: Bootstrapping package with circular dependencies in koji

2023-01-25 Thread Vít Ondruch
Reading the thread, I was afraid this will be the end result. Nevertheless, given this would be used just for side-tags, is there a chance to exclude side tags from the policy? Who would handle such request? Although being able to modify one macro means also possibility to edit all macros.

Re: Bootstrapping package with circular dependencies in koji

2023-01-25 Thread Richard Lescak
Unfortunately we have tried to use 'koji edit-tag SIDETAG -x %_with_bootstrap=1' command but it always ended with 'koji: ActionNotAllowed: tag permission required (logged in as USER)' even when creator of the sidetag used the command. On Tue, Jan 24, 2023 at 10:45 PM Kevin Fenzi wrote: > On

Re: Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Kevin Fenzi
On Tue, Jan 24, 2023 at 03:36:41PM -0500, Neal Gompa wrote: > On Tue, Jan 24, 2023 at 3:00 PM Kevin Fenzi wrote: > > > > On Tue, Jan 24, 2023 at 07:54:29PM +0100, Jaroslav Skarvada wrote: > > > > > > I initially thought about: > > > release bump > > > $ koji edit-tag SIDETAG -x %_with_bootstrap=1

Re: Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Björn Persson
Jaroslav Skarvada wrote: > Thanks for the info, we will try it. It would be great to have it > documented somewhere in the guidelines Yes it would. This looks like a good place: https://docs.fedoraproject.org/en-US/packaging-guidelines/#bootstrapping "koji edit-tag --help" calls it "Set tag

Re: Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Jaroslav Skarvada
On Tue, Jan 24, 2023 at 9:37 PM Neal Gompa wrote: > > On Tue, Jan 24, 2023 at 3:00 PM Kevin Fenzi wrote: > > > > On Tue, Jan 24, 2023 at 07:54:29PM +0100, Jaroslav Skarvada wrote: > > > > > > I initially thought about: > > > release bump > > > $ koji edit-tag SIDETAG -x %_with_bootstrap=1 > > >

Re: Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Neal Gompa
On Tue, Jan 24, 2023 at 3:00 PM Kevin Fenzi wrote: > > On Tue, Jan 24, 2023 at 07:54:29PM +0100, Jaroslav Skarvada wrote: > > > > I initially thought about: > > release bump > > $ koji edit-tag SIDETAG -x %_with_bootstrap=1 > > build > > handle circular dep > > $ koji edit-tag SIDETAG -r

Re: Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Kevin Fenzi
On Tue, Jan 24, 2023 at 07:54:29PM +0100, Jaroslav Skarvada wrote: > > I initially thought about: > release bump > $ koji edit-tag SIDETAG -x %_with_bootstrap=1 > build > handle circular dep > $ koji edit-tag SIDETAG -r %_with_bootstrap > build > > But I haven't tried it yet because I didn't

Re: Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Jaroslav Skarvada
On Tue, Jan 24, 2023 at 7:42 PM Neal Gompa wrote: > > On Tue, Jan 24, 2023 at 1:39 PM Jaroslav Skarvada wrote: > > > > Hi, > > > > I need to bootstrap package which has bootstrap support written > > according to the [1]. I am able to bootstrap it locally (rpmbuild, > > mock, ...) with the

Re: Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Neal Gompa
On Tue, Jan 24, 2023 at 1:39 PM Jaroslav Skarvada wrote: > > Hi, > > I need to bootstrap package which has bootstrap support written > according to the [1]. I am able to bootstrap it locally (rpmbuild, > mock, ...) with the "--with bootstrap" or "-D '_with_bootstrap 1'". Is > there support for it

Bootstrapping package with circular dependencies in koji

2023-01-24 Thread Jaroslav Skarvada
Hi, I need to bootstrap package which has bootstrap support written according to the [1]. I am able to bootstrap it locally (rpmbuild, mock, ...) with the "--with bootstrap" or "-D '_with_bootstrap 1'". Is there support for it in koji? E.g. something like: koji build SIDE-TAG PACKAGE --bootstrap?