Bug 2041471 - Review Request: rubygem-importmap-rails - Manage modern JavaScript in Rails without transpiling or bundling
Summary: Review Request: rubygem-importmap-rails - Manage modern JavaScript in Rails w...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jarek Prokop
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-17 12:43 UTC by Pavel Valena
Modified: 2022-03-22 16:49 UTC (History)
3 users (show)

Fixed In Version: rubygem-importmap-rails-1.0.3-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-22 16:49:44 UTC
Type: ---
Embargoed:
jprokop: fedora-review+


Attachments (Terms of Use)

Description Pavel Valena 2022-01-17 12:43:40 UTC
Spec URL: https://raw.githubusercontent.com/fedora-distgit/rubygem-importmap-rails/rawhide/rubygem-importmap-rails.spec
SRPM URL: https://github.com/fedora-distgit/rubygem-importmap-rails/raw/rawhide/rubygem-importmap-rails-1.0.1-1.fc36.src.rpm

Description:
Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.

Fedora Account System Username: pvalena

_ _ _ _

Package is needed to build Ruby on Rails 7.0.

Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=81357308

Copr build:
https://copr.fedorainfracloud.org/coprs/build/3190931

Checks:

  - Koji build: ok
  - Tests: ok
  - Syntax check: ok
  - rpmlint: ok

Fedora-review:
https://gist.github.com/12ab010c186b4d9ff45bcbd3191e582e

Comment 1 Vít Ondruch 2022-02-16 16:30:42 UTC
It bundles "ES Module Shims", doesn't it? Therefor it should have `bundled` provide.

Comment 2 Pavel Valena 2022-02-17 00:51:36 UTC
I didn't realize, thanks! Will add.

Comment 3 Jarek Prokop 2022-02-18 17:56:14 UTC
Taking for review.

Comment 4 Jarek Prokop 2022-02-18 18:56:17 UTC
There are a few nits:

* As mentioned the package should have a bundled provide of the JS library.

* The BuildRequires section has triplicated mentions of Ruby -- specifically of `ruby`, `ruby(release)`, and `ruby >= 2.7.0`.

* There is a newer version available: 1.0.2, which should be preferably packaged.

Otherwise LGTM.

Comment 6 Jarek Prokop 2022-03-22 14:07:06 UTC
LGTM.

Comment 7 Gwyn Ciesla 2022-03-22 15:31:00 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rubygem-importmap-rails

Comment 8 Pavel Valena 2022-03-22 16:49:44 UTC
Thanks!


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