Bug 2422322 - Review Request: rubygem-cgi - Support for the Common Gateway Interface protocol
Summary: Review Request: rubygem-cgi - Support for the Common Gateway Interface protocol
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/ruby/cgi
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-15 16:49 UTC by Jarek Prokop
Modified: 2025-12-16 11:34 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-16 11:34:50 UTC
Type: ---
Embargoed:
jprokop: fedora-review-


Attachments (Terms of Use)

Description Jarek Prokop 2025-12-15 16:49:22 UTC
Spec URL: https://fedorapeople.org/~jackorp/rpms/rubygem-cgi/rubygem-cgi.spec
SRPM URL: https://fedorapeople.org/~jackorp/rpms/rubygem-cgi/rubygem-cgi-0.5.1-1.fc44.src.rpm
Description: Support for the Common Gateway Interface protocol
Fedora Account System Username: jackorp

In preparation for Ruby 4.0, I'd like to bring this into Fedora as it was removed from the set of gems bundled with the default Ruby distribution. So far, vagrant-libvirt is known to depend on CGI.parse available in this package. See https://src.fedoraproject.org/rpms/vagrant-libvirt/pull-request/14 for more information.

Comment 1 Jarek Prokop 2025-12-15 17:02:55 UTC
Will be built after Ruby 4.0 is the latest Ruby, it is currently not expected to work correctly with Ruby 3.4.

Successful rubygem-cgi Copr build https://copr.fedorainfracloud.org/coprs/jackorp/rubygem-cgi-pkg/build/9911784/ with Ruby 4.0 from: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.0/build/9910517/

Comment 2 Fedora Review Service 2025-12-16 05:58:22 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9914378
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2422322-rubygem-cgi/fedora-rawhide-x86_64/09914378-rubygem-cgi/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Jarek Prokop 2025-12-16 11:34:50 UTC
Abandoning, another approach not requiring rubygem-cgi was suggested https://src.fedoraproject.org/rpms/vagrant-libvirt/pull-request/14#comment-298172 using URI.decode_www_form, allowing to skip CGI altogether, which succeeded https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1866

Since there isn't other package known to require rubygem-cgi, therefore not necessary, I'd rather not bring this to Fedora yet.


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