Re: [Rpm-maint] [rpm-software-management/rpm] find-debuginfo.sh: speed up %dir generation (#975)

2019-12-20 Thread Florian Festi
As this is only generating a list of all directories in the file list and their parents it would probably be faster to first strip the filenames and run sort -u before adding the parent dirs. Not sure if this is really worth the effort, though. -- You are receiving this because you are

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Gordon Messmer
@ignatenkobrain I started a repo to flesh out some of the requirement conversions from python dist tools to rpm. It doesn't mangle versions right now, but maybe you could open an issue there and describe what should happen? https://github.com/gordonmessmer/pyreq2rpm/ -- You are receiving

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Igor Gnatenko
Merged #982 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/982#event-2901943796___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Gordon Messmer
@Conan-Kudo Seems only right that I fix what I broke. :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread ニール・ゴンパ
@gordonmessmer You beat me to it. Thanks for this!  -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread ニール・ゴンパ
Conan-Kudo approved this pull request. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/982#pullrequestreview-335495931___

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Igor Gnatenko
> python3.7dist(molecule) == 3.0a5.dev15+gec8c85e9.d20191124 It would be very cool if we could actually mangle this to a proper RPM notation, but this is definitely outside of the scope of this PR. -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Gordon Messmer
@gordonmessmer pushed 1 commit. d8d1da567caeb7ff7e1f90a2a80beba21aa2d996 scripts/pythondistdeps: Only print rich dep list when required to. -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Gordon Messmer
gordonmessmer commented on this pull request. > @@ -269,7 +269,10 @@ spec_list.append('{n} >= {v} with {n} < {vnext}'.format(n=name, v=spec[1], vnext=next_ver)) else: spec_list.append('{} {} {}'.format(name, spec[0], spec[1])) -

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Gordon Messmer
``` [gordon@vagabond:~/git/rpm]$ find /home/gordon/git/molecule-root/ | python3 ~/git/rpm/scripts/pythondistdeps.py -R python(abi) == 3.7 python3.7dist(ansible) >= 2.5 (python3.7dist(ansible-lint) >= 4.1.1a2 with python3.7dist(ansible-lint) < 5) python3.7dist(cerberus) >= 1.3.1

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Igor Gnatenko
ignatenkobrain commented on this pull request. > @@ -269,7 +269,10 @@ spec_list.append('{n} >= {v} with {n} < {vnext}'.format(n=name, v=spec[1], vnext=next_ver)) else: spec_list.append('{} {} {}'.format(name, spec[0], spec[1])) -

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Gordon Messmer
This should resolve #981 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/982#issuecomment-568068686___ Rpm-maint mailing list

[Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

2019-12-20 Thread Gordon Messmer
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/982 -- Commit Summary -- * scripts/pythondistdeps: Only print rich dep list when required to. -- File Changes -- M scripts/pythondistdeps.py (5) -- Patch Links --

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps attempts to do invalid rich Provides (rpm 4.15.1 with backported fixes from master) (#981)

2019-12-20 Thread ニール・ゴンパ
@hroncok Yep. But I'm pretty sure you can't do this exact thing on Requires either... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps attempts to do invalid rich Provides (rpm 4.15.1 with backported fixes from master) (#981)

2019-12-20 Thread Miro Hrončok
oh, this is for provides? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/981#issuecomment-568048318___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps attempts to do invalid rich Provides (rpm 4.15.1 with backported fixes from master) (#981)

2019-12-20 Thread Igor Gnatenko
> but also you're not allowed to do rich Provides at all … which would be so amazing, wouldn't it? :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps attempts to do invalid rich Provides (rpm 4.15.1 with backported fixes from master) (#981)

2019-12-20 Thread ニール・ゴンパ
Yes, but also you're not allowed to do rich Provides at all -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps attempts to do invalid rich Provides (rpm 4.15.1 with backported fixes from master) (#981)

2019-12-20 Thread Miro Hrončok
When the list contains just one item, the parenthesis should not be there, correct? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] pythondistdeps attempts to do invalid rich Provides (rpm 4.15.1 with backported fixes from master) (#981)

2019-12-20 Thread ニール・ゴンパ
cc: @gordonmessmer, @hroncok -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/981#issuecomment-568039425___ Rpm-maint mailing

[Rpm-maint] [rpm-software-management/rpm] pythondistdeps attempts to do invalid rich Provides (rpm 4.15.1 with backported fixes from master) (#981)

2019-12-20 Thread ニール・ゴンパ
When bootstrapping RPM 4.15.1 with pythondistdeps fixes backported in OpenMandriva Cooker, I've encountered the following bug: ``` BUILDSTDERR: error: No rich dependencies allowed for this type: (python3.8dist(createrepo-c) == 0.15.4) BUILDSTDERR: error: No rich dependencies allowed for this

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)

2019-12-20 Thread Michael Schroeder
Updated the code. It's now much faster and also implements prefix search. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)

2019-12-20 Thread Michael Schroeder
@mlschroe pushed 1 commit. 66c055f43b184ab42dc02a219660f866bee48b63 Add support for reading BDB without the library -- You are receiving this because you are subscribed to this thread. View it on GitHub: