git perl-less build?

Vít Ondruch vondruch at redhat.com
Tue Jun 9 12:02:06 UTC 2015


Dne 3.6.2015 v 13:19 Colin Walters napsal(a):
> On Wed, Jun 3, 2015, at 05:23 AM, Petr Stodulka wrote:
>> E.g. missing git-add--interactive will bring one unusable option which 
>> will cause error message like this. I have two other bugs where I solve 
>> similar troubles. Separate whole git-add doesn't make sense. So if this 
>> is good trade off approved by others, OK, we can do that, with notice 
>> that some error messages can appear.
> Right, I think were this package to exist, users would understand that
> it doesn't have all of the git functionality.
>

Unfortunately, this is wrong assumption. It comes quite natural that if
I want to use git command, I can do "dnf install /usr/bin/git" and I
don't care which package ships this command. And this scenario is broken
now, since this will not install "full" git I expect.

And as it turns out, it breaks also Ruby build [1], since it uses
"BuildRequires: %{_bindir}/git", but the test suite later call "git
submodule" command, which is not available anymore due to this split.

I am wondering if there is some way out, for example git packages could
have virtual provides such as git(add), git(submodule), git(rm),
git(commit) and my package could then depend on the specific virtual
provides, but I am not sure it is worth of the effort.


Vít



[1] http://koschei.cloud.fedoraproject.org/package/ruby
[2]
https://github.com/rubygems/rubygems/blob/master/test/rubygems/test_gem_source_git.rb#L65



More information about the devel mailing list