[jbosstools-issues] [JBoss JIRA] (JBDS-4257) rh-eclipse46-devstudio provides packages that are dependencies of rh-eclipse46

Václav Kadlčík (JIRA) issues at jboss.org
Thu Jan 26 01:27:00 EST 2017


    [ https://issues.jboss.org/browse/JBDS-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13353693#comment-13353693 ] 

Václav Kadlčík commented on JBDS-4257:
--------------------------------------

Hmm, I'm afraid that blacklisting specific capabilities on the Devstudio side isn't a practical approach. We would need to list all the Requires of rh-eclipse46 and all its dependencies, recursively. Then blacklist them in Devstudio. Repeat every time anything changes in rh-eclipse46 (or in any of its dependencies).

I'd prefer a conservative way: Let rh-eclipse46-devstudio provide just the "end" capabilities (rh-eclipse46-devstudio and rh-eclipse46-devstudio(x86-46)). Maybe the ones specific to Devstudio - various rh-eclipse46-osgi(com.jboss.devstudio.*) can be declared, too, although we don't have an actual usage for them at this moment. But let's cut the rest out and put them back only when we really want to offer them as a dependency.

Just an illustration:
* rh-eclipse46-osgi(com.google.guava) = 18.0.0
is offered by:
* rh-eclipse46-guava-18.0-6.2.el7.noarch
* rh-eclipse46-devstudio-10.3-0.20170125.0958.el7.x86_64
I don't think we really need or want rh-eclipse46-devstudio to "publicly" satisfy the capability...

> rh-eclipse46-devstudio provides packages that are dependencies of rh-eclipse46
> ------------------------------------------------------------------------------
>
>                 Key: JBDS-4257
>                 URL: https://issues.jboss.org/browse/JBDS-4257
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: build, rpm
>    Affects Versions: 10.3.0.AM2
>         Environment: RHEL7
>            Reporter: Lukáš Valach
>            Assignee: Lukáš Valach
>            Priority: Minor
>         Attachments: rh-eclipse46-devstudio_provides.txt, rh-eclipse46_provides.txt, yum_install_rh-eclipse46.png
>
>
> I noticed rh-eclipse46-devstudio is installed as dependenci when installing rh-eclipse46.  
> !yum_install_rh-eclipse46.png|thumbnail!
> [~vkadlcik] said that it is because rh-eclipse46-devstudio offers some package which rh-eclipse46 needs, so yum decides to use devstudio as library.
> He said that the best practice for end-user application like rh-eclipse46-devstudio is to have less amount of stuff in "rpm -q --provides". Rh-eclipse46 provides 4 packages, devstudio provides 539 packages.
> [^rh-eclipse46_provides.txt]
> [^rh-eclipse46-devstudio_provides.txt] 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list