Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-03-11 Thread Nicolas Mailhot
The change proposal is about integrating an entry point in rpmbuild to accept BR lists, at a moment of the build process where sources are already unpacked and processed. It's an entry point. It does not restrict how you generate the BR data (upstream command, macro, cat somefile, echo foo, a m

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-03-11 Thread Tomas Tomecek
Is the expected workflow to be that I'd put these two lines to my spec file? %generate_buildrequires some-tool generate-rpm-buildreqs %{_builddir} I'm interested if: 1. Generators will be separated from RPM codebase. 2. What the interface b/w a generator and rpm tool will be. 3. What are the expe

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-25 Thread Vít Ondruch
Dne 18. 02. 19 v 21:19 Ben Cotton napsal(a): > https://fedoraproject.org/wiki/Changes/BuildRequires_Generators > > = BuildRequires Generators = > > == Summary == > Add possibility to generate build-time dependencies within RPM spec > file and teach RPM and mock how to handle this. > > == Owner ==

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-22 Thread Panu Matilainen
On 2/22/19 1:01 PM, Petr Viktorin wrote: On 2/18/19 9:19 PM, Ben Cotton wrote: https://fedoraproject.org/wiki/Changes/BuildRequires_Generators = BuildRequires Generators = == Summary == Add possibility to generate build-time dependencies within RPM spec file and teach RPM and mock how to handl

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-22 Thread Chris Adams
Once upon a time, Petr Viktorin said: > Yes, automagic generators don't work in the long run. Requirements > are always better listed explicitly. Perl has been using automatic generators for ages. They're not perfect, but they're really good and work fine in the most common cases. -- Chris Adam

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-22 Thread Neal Gompa
On Fri, Feb 22, 2019 at 6:01 AM Petr Viktorin wrote: > > On 2/18/19 9:19 PM, Ben Cotton wrote: > > https://fedoraproject.org/wiki/Changes/BuildRequires_Generators > > > > = BuildRequires Generators = > > > > == Summary == > > Add possibility to generate build-time dependencies within RPM spec > >

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-22 Thread Petr Viktorin
On 2/22/19 12:01 PM, Petr Viktorin wrote: On 2/18/19 9:19 PM, Ben Cotton wrote: https://fedoraproject.org/wiki/Changes/BuildRequires_Generators = BuildRequires Generators = == Summary == Add possibility to generate build-time dependencies within RPM spec file and teach RPM and mock how to ha

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-22 Thread Petr Viktorin
On 2/18/19 9:19 PM, Ben Cotton wrote: https://fedoraproject.org/wiki/Changes/BuildRequires_Generators = BuildRequires Generators = == Summary == Add possibility to generate build-time dependencies within RPM spec file and teach RPM and mock how to handle this. I am very excited about this ch

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-22 Thread Petr Viktorin
On 2/19/19 7:04 PM, Raphael Groner wrote: Hi, maybe you already noticed, there's a project called pipreqs that parses python code for import statements. We've already a review request: https://bugzilla.redhat.com/show_bug.cgi?id=1665749 Although, I doubt in general that any automagic with depe

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-19 Thread Nicolas Mailhot
Le mardi 19 février 2019 à 18:04 +, Raphael Groner a écrit : > > Although, I doubt in general that any automagic with dependency > generators brings a huge benefit in the long run. That depends on the amount of deps the language uses. Human handcrafting is always better but it does not scale

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-19 Thread Raphael Groner
Hi, maybe you already noticed, there's a project called pipreqs that parses python code for import statements. We've already a review request: https://bugzilla.redhat.com/show_bug.cgi?id=1665749 Although, I doubt in general that any automagic with dependency generators brings a huge benefit in

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-19 Thread Neal Gompa
On Mon, Feb 18, 2019 at 4:36 PM Dridi Boukelmoune wrote: > > On Mon, Feb 18, 2019 at 9:21 PM Ben Cotton wrote: > > > > https://fedoraproject.org/wiki/Changes/BuildRequires_Generators > > > > = BuildRequires Generators = > > > > == Summary == > > Add possibility to generate build-time dependencies

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-19 Thread Panu Matilainen
On 2/18/19 10:19 PM, Ben Cotton wrote: https://fedoraproject.org/wiki/Changes/BuildRequires_Generators = BuildRequires Generators = == Summary == Add possibility to generate build-time dependencies within RPM spec file and teach RPM and mock how to handle this. == Owner == * Name: [[User:ignat

Re: F31 System-Wide Change proposal: BuildRequires Generators

2019-02-18 Thread Dridi Boukelmoune
On Mon, Feb 18, 2019 at 9:21 PM Ben Cotton wrote: > > https://fedoraproject.org/wiki/Changes/BuildRequires_Generators > > = BuildRequires Generators = > > == Summary == > Add possibility to generate build-time dependencies within RPM spec > file and teach RPM and mock how to handle this. > > == Ow