[
https://issues.jboss.org/browse/JBDS-3981?page=com.atlassian.jira.plugin....
]
Nick Boldt edited comment on JBDS-3981 at 8/24/16 4:14 PM:
-----------------------------------------------------------
With the PR applied, many IUs are removed from the rpm installation:
[^IUs-removed-from-rh-eclipse46-devstudio.rpm.txt]
Here's how I deduced which IUs could be removed from the RPM:
{code}
# to remove requirements which are available in an rpm, do this:
for iu in $(cat ../com.jboss.devstudio.core.rpm.feature/feature.xml | grep import \
| sed "s#<import
\(feature\|plugin\)=\"\([^\"]\+\)\".\+#\2#"); do
rpm -q \-\-provides $(rpm -q \-\-requires rh-eclipse46-base | grep -v rpmlib | sed
"s#\(rh-[^=]\+\).*#\1#") \
| sort | uniq | grep osgi | grep $iu; done
# if nothing reported, no dupes!
# if output, move those features to the rpmdeps.feature.{code}
was (Author: nickboldt):
With the PR applied, many IUs are removed from the rpm installation:
[^IUs-removed-from-rh-eclipse46-devstudio.rpm.txt]
Here's how I deduced which IUs could be removed from the RPM:
{code}
# to remove requirements which are available in an rpm, do this:
for iu in $(cat ../com.jboss.devstudio.core.rpm.feature/feature.xml | grep import \
| sed "s#<import
\(feature\|plugin\)=\"\([^\"]\+\)\".\+#\2#"); do
rpm -q \-\-provides $(rpm -q \-\-requires rh-eclipse46-base | grep -v rpmlib | sed
"s#\(rh-[^=]\+\).*#\1#") \
| sort | uniq | grep osgi | grep $iu; done
# if nothing reported, no dupes!
# if output, move those features to the rpmdeps.feature.{code}
Build a new feature that omits features available from RPM install
------------------------------------------------------------------
Key: JBDS-3981
URL:
https://issues.jboss.org/browse/JBDS-3981
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: build, updatesite
Affects Versions: 10.1.0.AM2
Reporter: Nick Boldt
Assignee: Nick Boldt
Fix For: 10.1.0.GA
Attachments: IUs-removed-from-rh-eclipse46-devstudio.rpm.txt,
simpler_install_foorprint_rh-eclipse46-devstudio.rpm.png,
simpler_install_foorprint_rh-eclipse46-devstudio.rpm_2.png,
simpler_install_foorprint_rh-eclipse46-devstudio.rpm_3.png
What we DO need is a feature with fewer dependencies than
com.jboss.devstudio.core.feature (eg., which omits pde, emf, xsd, egit...)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)