Re: modular repositories in mock configs: please don't

2019-03-07 Thread Miroslav Suchý
Dne 06. 03. 19 v 14:00 Mikolaj Izdebski napsal(a): > - create a proper modulemd document > - build some (zero or more) RPM packages using rpmbuild > - create YUM repodata from built packages using createrepo_c > - attach modulemd to repodata using modifyrepo_c Yes. But the first and last steps

Re: modular repositories in mock configs: please don't

2019-03-06 Thread Stephen John Smoogen
On Wed, 6 Mar 2019 at 07:53, Ken Dreyer wrote: > > > > On Tue, Mar 5, 2019, 12:53 PM Miroslav Suchý wrote: >> >> Dne 04. 03. 19 v 17:34 Ken Dreyer napsal(a): >> > >> > I'm there with you Richard. I don't really get how I can get started >> > building a module outside of the Fedora >> >

Re: modular repositories in mock configs: please don't

2019-03-06 Thread Mikolaj Izdebski
On Wed, Mar 6, 2019 at 1:54 PM Ken Dreyer wrote: > With Fedora regular RPMs, fedpkg has "mockbuild" to do local builds. How can > I do something similar on my laptop for a module? Modules are just sets of RPMs with extra metadata. To build a module it is enoug to: - create a proper modulemd

Re: modular repositories in mock configs: please don't

2019-03-06 Thread Ken Dreyer
On Tue, Mar 5, 2019, 12:53 PM Miroslav Suchý wrote: > Dne 04. 03. 19 v 17:34 Ken Dreyer napsal(a): > > > > I'm there with you Richard. I don't really get how I can get started > building a module outside of the Fedora > > infrastructure's system (Koji or Copr). > > In fact, Copr support building

Re: modular repositories in mock configs: please don't

2019-03-05 Thread Ralf Corsepius
On 3/5/19 9:08 AM, Adam Samalik wrote: On Mon, Mar 4, 2019 at 10:26 PM Michael Cronenworth wrote: On 3/4/19 3:04 AM, Petr Šabata wrote: You can view them as virtual repositories with dependencies. I think that might be the simplest way to put it. You can try playing with fedmod to generate

Re: modular repositories in mock configs: please don't

2019-03-05 Thread stan
On Tue, 5 Mar 2019 11:18:04 -0500 Neal Gompa wrote: > No. It should be possible for modular content to become non-modular > and vice versa. Thanks for the response and the information. ___ devel mailing list -- devel@lists.fedoraproject.org To

Re: modular repositories in mock configs: please don't

2019-03-05 Thread Miroslav Suchý
Dne 04. 03. 19 v 17:34 Ken Dreyer napsal(a): > > I'm there with you Richard. I don't really get how I can get started building > a module outside of the Fedora > infrastructure's system (Koji or Copr). In fact, Copr support building modules for ages - even before the modularity has been

Re: modular repositories in mock configs: please don't

2019-03-05 Thread Neal Gompa
On Tue, Mar 5, 2019 at 11:01 AM stan wrote: > > On Tue, 5 Mar 2019 09:08:19 +0100 > Adam Samalik wrote: > > > On Mon, Mar 4, 2019 at 10:26 PM Michael Cronenworth > > wrote: > > > > Why should I care? Please, win me over. (I'm being serious.) > > > > > > > I think you should care if: > > > > a)

Re: modular repositories in mock configs: please don't

2019-03-05 Thread stan
On Tue, 5 Mar 2019 09:08:19 +0100 Adam Samalik wrote: > On Mon, Mar 4, 2019 at 10:26 PM Michael Cronenworth > wrote: > > Why should I care? Please, win me over. (I'm being serious.) > > > > I think you should care if: > > a) You need to maintain multiple versions of the same

Re: modular repositories in mock configs: please don't

2019-03-05 Thread Vít Ondruch
Dne 05. 03. 19 v 9:08 Adam Samalik napsal(a): > > > On Mon, Mar 4, 2019 at 10:26 PM Michael Cronenworth > wrote: > > On 3/4/19 3:04 AM, Petr Šabata wrote: > > You can view them as virtual repositories with dependencies.  I > > think that might be the simplest

Re: modular repositories in mock configs: please don't

2019-03-05 Thread Adam Samalik
On Mon, Mar 4, 2019 at 10:26 PM Michael Cronenworth wrote: > On 3/4/19 3:04 AM, Petr Šabata wrote: > > You can view them as virtual repositories with dependencies. I > > think that might be the simplest way to put it. > > > > You can try playing with fedmod to generate your modulemd file or > >

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Michael Cronenworth
On 3/4/19 3:04 AM, Petr Šabata wrote: You can view them as virtual repositories with dependencies. I think that might be the simplest way to put it. You can try playing with fedmod to generate your modulemd file or you can just write it from scratch; it's not all that complicated. Why should

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Michael Cronenworth
On 3/1/19 8:25 AM, Richard Shaw wrote: Not replying to anyone in particular but just a nit for me... I've been a Fedora packager for probably 10 years now (need to check!) but I *STILL* don't really understand modules other than at a high level (it lets you use dependencies that aren't

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Stephen Gallagher
On Mon, Mar 4, 2019 at 11:36 AM Ken Dreyer wrote: > > > > On Fri, Mar 1, 2019, 8:26 AM Richard Shaw wrote: >> >> Not replying to anyone in particular but just a nit for me... >> >> I've been a Fedora packager for probably 10 years now (need to check!) but I >> *STILL* don't really understand

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Ken Dreyer
On Fri, Mar 1, 2019, 8:26 AM Richard Shaw wrote: > Not replying to anyone in particular but just a nit for me... > > I've been a Fedora packager for probably 10 years now (need to check!) but > I *STILL* don't really understand modules other than at a high level (it > lets you use dependencies

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Fabio Valentini
On Mon, Mar 4, 2019, 11:41 Pavel Raiskup wrote: > On Monday, March 4, 2019 11:21:05 AM CET Petr Šabata wrote: > > I suggested to drop the modular repo from the mock config to get > > an environment similar to what we have in koji. > > It is disabled here anyways: >

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Pavel Raiskup
On Monday, March 4, 2019 11:21:05 AM CET Petr Šabata wrote: > I suggested to drop the modular repo from the mock config to get > an environment similar to what we have in koji. It is disabled here anyways: https://github.com/rpm-software-management/mock/commit/

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Stephen John Smoogen
On Mon, 4 Mar 2019 at 05:22, Adam Samalik wrote: > > > > On Mon, Mar 4, 2019 at 11:13 AM Pavel Raiskup wrote: >> >> On Monday, March 4, 2019 10:46:45 AM CET Petr Šabata wrote: >> > On Mon, Mar 04, 2019 at 10:22:05AM +0100, Pavel Raiskup wrote: >> > > On Monday, March 4, 2019 10:01:14 AM CET Petr

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Adam Samalik
On Mon, Mar 4, 2019 at 11:13 AM Pavel Raiskup wrote: > On Monday, March 4, 2019 10:46:45 AM CET Petr Šabata wrote: > > On Mon, Mar 04, 2019 at 10:22:05AM +0100, Pavel Raiskup wrote: > > > On Monday, March 4, 2019 10:01:14 AM CET Petr Šabata wrote: > > > > Replying in general. > > > > > > > >

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Petr Šabata
On Mon, Mar 04, 2019 at 11:11:48AM +0100, Pavel Raiskup wrote: > On Monday, March 4, 2019 10:46:45 AM CET Petr Šabata wrote: > > On Mon, Mar 04, 2019 at 10:22:05AM +0100, Pavel Raiskup wrote: > > > On Monday, March 4, 2019 10:01:14 AM CET Petr Šabata wrote: > > > > Replying in general. > > > > >

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Fabio Valentini
On Mon, Mar 4, 2019, 11:12 Pavel Raiskup wrote: > On Monday, March 4, 2019 10:46:45 AM CET Petr Šabata wrote: > > On Mon, Mar 04, 2019 at 10:22:05AM +0100, Pavel Raiskup wrote: > > > On Monday, March 4, 2019 10:01:14 AM CET Petr Šabata wrote: > > > > Replying in general. > > > > > > > > While

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Pavel Raiskup
On Monday, March 4, 2019 10:46:45 AM CET Petr Šabata wrote: > On Mon, Mar 04, 2019 at 10:22:05AM +0100, Pavel Raiskup wrote: > > On Monday, March 4, 2019 10:01:14 AM CET Petr Šabata wrote: > > > Replying in general. > > > > > > While it's never been entirely the same, I'd also like our mock

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Petr Šabata
On Mon, Mar 04, 2019 at 10:22:05AM +0100, Pavel Raiskup wrote: > On Monday, March 4, 2019 10:01:14 AM CET Petr Šabata wrote: > > Replying in general. > > > > While it's never been entirely the same, I'd also like our mock configs > > to be as close to koji environment as possible. In the current

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Pavel Raiskup
On Monday, March 4, 2019 10:01:14 AM CET Petr Šabata wrote: > Replying in general. > > While it's never been entirely the same, I'd also like our mock configs > to be as close to koji environment as possible. In the current > situation that would mean no modules being available. I don't

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Petr Šabata
On Fri, Mar 01, 2019 at 08:25:32AM -0600, Richard Shaw wrote: > Not replying to anyone in particular but just a nit for me... > > I've been a Fedora packager for probably 10 years now (need to check!) but > I *STILL* don't really understand modules other than at a high level (it > lets you use

Re: modular repositories in mock configs: please don't

2019-03-04 Thread Petr Šabata
Replying in general. While it's never been entirely the same, I'd also like our mock configs to be as close to koji environment as possible. In the current situation that would mean no modules being available. Once/if we proceed with one of the modules-in-the-non-modular-buildroot proposals, I

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Richard Shaw
Not replying to anyone in particular but just a nit for me... I've been a Fedora packager for probably 10 years now (need to check!) but I *STILL* don't really understand modules other than at a high level (it lets you use dependencies that aren't available in the main repos). I've read through

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Pavel Raiskup
On Friday, March 1, 2019 9:56:48 AM CET Mikolaj Izdebski wrote: > Koji doesn't use upstream mock configs. For each task it generates a > new config dynamically. These generated configs don't include any > modular repos. Looks like a serious bug in Koji -> if modular repos are enabled by default

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Fabio Valentini
On Fri, Mar 1, 2019 at 11:39 AM Miroslav Suchý wrote: > > Dne 01. 03. 19 v 10:28 Fabio Valentini napsal(a): > > Either way, I'm just strongly opposed to enable modular repos in mock > > by default (yet). > > *nod* > With the all issues it brought, it is pragmatic move to remove the modular >

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Mikolaj Izdebski
On Fri, Mar 1, 2019 at 11:31 AM Fabio Valentini wrote: > > On Fri, Mar 1, 2019 at 11:28 AM Mikolaj Izdebski wrote: > > > > On Fri, Mar 1, 2019 at 10:29 AM Fabio Valentini > > wrote: > > > I agree, this change to mock-core-configs seems to have been rushed > > > and uncoordinated, since it's

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Miroslav Suchý
Dne 01. 03. 19 v 10:28 Fabio Valentini napsal(a): > Either way, I'm just strongly opposed to enable modular repos in mock > by default (yet). *nod* With the all issues it brought, it is pragmatic move to remove the modular repo. In fact, I will just set enabled=0. Done:

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Fabio Valentini
On Fri, Mar 1, 2019 at 11:28 AM Mikolaj Izdebski wrote: > > On Fri, Mar 1, 2019 at 10:29 AM Fabio Valentini wrote: > > I agree, this change to mock-core-configs seems to have been rushed > > and uncoordinated, since it's not possible to use modules in koji at > > all. > > It is possible to use

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Mikolaj Izdebski
On Fri, Mar 1, 2019 at 10:29 AM Fabio Valentini wrote: > I agree, this change to mock-core-configs seems to have been rushed > and uncoordinated, since it's not possible to use modules in koji at > all. It is possible to use modules in Koji. But Fedora Koji is not configured to use modules. --

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Fabio Valentini
On Fri, Mar 1, 2019 at 9:58 AM Adam Samalik wrote: > > I'm glad Modularity is getting popular, however, we should coordinate such > big changes so we keep consistency among various build environments. I'd call it "notorious" or "infamous" instead of "popular", but that's just a difference

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Miro Hrončok
On 01. 03. 19 9:58, Adam Samalik wrote: I'm glad Modularity is getting popular, however, we should coordinate such big changes so we keep consistency among various build environments. Agreed. The ability to enable modules in a Koji buildroot is being discussed in a FESCo ticket [1] —

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Miro Hrončok
On 01. 03. 19 8:59, Miroslav Suchý wrote: Mock is in fact just easy tool to run 'rpmbuild' in minimal chroot of Fedora/CentOS. So running mock -r fedora-29-x86_64 foo.src should give you the same results as running `rpmbuild --rebuild foo.src` on normal installation of fedora-29 with only

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Adam Samalik
I'm glad Modularity is getting popular, however, we should coordinate such big changes so we keep consistency among various build environments. The ability to enable modules in a Koji buildroot is being discussed in a FESCo ticket [1] — although that discussion is a bit longer than initially

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Mikolaj Izdebski
On Fri, Mar 1, 2019 at 9:00 AM Miroslav Suchý wrote: > > Dne 01. 03. 19 v 0:22 Miro Hrončok napsal(a): > > On 01. 03. 19 0:05, Fabio Valentini wrote: > > Mock should IMHO bring the exact same (or at least the most similar) > > results as building in koji. I don't want to get > > different

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Dan Horák
On Fri, 1 Mar 2019 08:59:35 +0100 Miroslav Suchý wrote: > Dne 01. 03. 19 v 0:22 Miro Hrončok napsal(a): > > On 01. 03. 19 0:05, Fabio Valentini wrote: > >> I don't want or need modules installed for this package to build. > > It may be true if your specific case. But generally this is not true.

Re: modular repositories in mock configs: please don't

2019-03-01 Thread Miroslav Suchý
Dne 01. 03. 19 v 0:22 Miro Hrončok napsal(a): > On 01. 03. 19 0:05, Fabio Valentini wrote: >> I don't want or need modules installed for this package to build. It may be true if your specific case. But generally this is not true. AFAIK Some packages are not available in normal repo any more and

Re: modular repositories in mock configs: please don't

2019-02-28 Thread YOUNG, MICHAEL A.
On Thu, 28 Feb 2019, Miro Hrončok wrote: > On 01. 03. 19 0:05, Fabio Valentini wrote: >> Hi everybody, >> >> Recently, modular repositories were enabled in the mock configs for fedora >> 29+. >> >> Now, I can't build at least one of my packages (elementary-music) in >> fedora 29 chroots, due

Re: modular repositories in mock configs: please don't

2019-02-28 Thread Miro Hrončok
On 01. 03. 19 0:05, Fabio Valentini wrote: Hi everybody, Recently, modular repositories were enabled in the mock configs for fedora 29+. Now, I can't build at least one of my packages (elementary-music) in fedora 29 chroots, due to dependency issues within modules. dnf just gives up with this