Comment 0 for bug 1990572

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

[Availability]

The package ruby-json is already in Ubuntu universe.

The package ruby-json build for the architectures it is designed to work on.

It currently builds and works for architectures: amd64, arm64, armhf, ppc64el,
riscv64, s390x.

Link to package [[https://launchpad.net/ubuntu/+source/ruby-json|ruby-json]]

[Rationale]

ruby-json promotion to main is needed because of the
[[https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1953341|pcs promotion]].
It is one of its runtime dependencies in universe.

Ideally, we expect that ruby-json (and pcs) will be promoted in the Kinetic
development cycle. The idea is to promote only the ruby-json binary.

[Security]

Required links:

https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=json+gem

I looked for "json gem" which brings some unrelated CVEs but also two that are
associated to this package, they are: CVE-2020-10663 and CVE-2013-0269.

https://www.openwall.com/lists/oss-security/2013/02/11/8

In the OSS security mailing list I found only an email thread about
CVE-2013-0269 already mentioned above.

https://ubuntu.com/security/cves?package=ruby-json

And in the Ubuntu security tracker only 2 CVEs, both of medium priority, and
they seem to not be affecting the package in Ubuntu.

This is a ruby library which does not provide any executable, nor systemd files.

[Quality assurance - function/usage]

The package works well right after install.

[Quality assurance - maintenance]

The package is maintained well in Debian/Ubuntu and has not too many and long
term critical bugs open:

- Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ruby-json/+bugs
- Debian: https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=ruby-json

The package does not deal with exotic hardware we cannot support.

[Quality assurance - testing]

The package runs a test suite on build time, if it fails
it makes the build fail, link to build log:

https://launchpad.net/ubuntu/+source/ruby-json/2.5.1+dfsg-2build1/+build/22585004/+files/buildlog_ubuntu-jammy-amd64.ruby-json_2.5.1+dfsg-2build1_BUILDING.txt.gz

The package runs an autopkgtest, and is currently passing on this list of
architectures: amd64, arm64, armhf, i386, ppc64el, s390x.

Link to test logs: https://autopkgtest.ubuntu.com/packages/ruby-json

The package does have not failing autopkgtests right now.

[Quality assurance - packaging]

debian/watch is present and works.

debian/control defines a correct Maintainer field.

Lintian overrides are not present. Here is the output of `lintian --pedantic`
against Kinetic version:

P: ruby-json source: update-debian-copyright 2011 vs 2021 [debian/copyright:17]
P: ruby-json source: very-long-line-length-in-source-file tests/json_addition_test.rb line 130 is 949 characters long (>512)

This package does not rely on obsolete or about to be demoted packages.

The package will not be installed by default.

Packaging and build is easy, link to d/rules:

https://git.launchpad.net/ubuntu/+source/ruby-json/tree/debian/rules

[UI standards]

Application is not end-user facing (does not need translation).

[Dependencies]

No further depends or recommends dependencies that are not yet in main. This is
for the ruby-json binary.

[Standards compliance]

This package correctly follows FHS and Debian Policy.

[Maintenance/Owner]

The Server team is not yet, but will subscribe to the package before promotion.

This does not use static builds.

This does not use vendored code.

This package is not rust based.

The package successfully built during the most recent test rebuild.

[Background information]

The Package description explains the package well.

Upstream Name is: json

Link to upstream project: https://github.com/flori/json