Bug 1261931 - drop rubygem-json sub-package
drop rubygem-json sub-package
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: ruby (Show other bugs)
23
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jeroen van Meeuwen
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-10 09:03 EDT by Daniel Mach
Modified: 2015-09-11 06:00 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-11 06:00:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Mach 2015-09-10 09:03:54 EDT
rubygem-json RPMs exist in 2 versions:
* sub-package of ruby
* standalone package

The version included in ruby package is lower than the standalone one,
therefore it never gets installed.

Can you drop rubygem-json sub-package from ruby?



Details:

$ koji buildinfo ruby-2.2.3-44.fc23 | grep rubygem-json
/mnt/koji/packages/ruby/2.2.3/44.fc23/i686/rubygem-json-1.8.1-44.fc23.i686.rpm
/mnt/koji/packages/ruby/2.2.3/44.fc23/x86_64/rubygem-json-1.8.1-44.fc23.x86_64.rpm
/mnt/koji/packages/ruby/2.2.3/44.fc23/armv7hl/rubygem-json-1.8.1-44.fc23.armv7hl.rpm


$ koji buildinfo rubygem-json-1.8.2-101.fc23 | grep rubygem-json
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/i686/rubygem-json-debuginfo-1.8.2-101.fc23.i686.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/i686/rubygem-json-doc-1.8.2-101.fc23.i686.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/i686/rubygem-json-1.8.2-101.fc23.i686.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/x86_64/rubygem-json-debuginfo-1.8.2-101.fc23.x86_64.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/x86_64/rubygem-json-doc-1.8.2-101.fc23.x86_64.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/x86_64/rubygem-json-1.8.2-101.fc23.x86_64.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/armv7hl/rubygem-json-doc-1.8.2-101.fc23.armv7hl.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/armv7hl/rubygem-json-debuginfo-1.8.2-101.fc23.armv7hl.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/armv7hl/rubygem-json-1.8.2-101.fc23.armv7hl.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/src/rubygem-json-1.8.2-101.fc23.src.rpm
Comment 1 Vít Ondruch 2015-09-11 06:00:53 EDT
(In reply to Daniel Mach from comment #0)
> rubygem-json RPMs exist in 2 versions:
> * sub-package of ruby
> * standalone package

True.

> The version included in ruby package is lower than the standalone one,
> therefore it never gets installed.

This is true at the moment. But might change in the future. Please note that the similar situation is in case of rubygems, rubygem-rake, rubygem-minitest and rubygem-rdoc and while I prefer to use the bundled version, sometimes it is beneficial to bump the independent version.

For example recently, there was RubyGems security issue which was not fixed in rubygems package bundled in ruby for some while. And in this situation came handy the independent version, where we could bump the version to the latest upstream version fixing this issue quite easily.

Moreover, keeping the rubygem-json subpackage in is essential for bootstrapping Ruby, since RubyGems depends on rubygem-json. We would not be able to create any other rubygem- package without rubygem-json.

> Can you drop rubygem-json sub-package from ruby?

From my previous words, you can already guess that my answer is *no*. Dropping the package serves no benefit IMO.

Note You need to log in before you can comment on or make changes to this bug.