Bug 2138918 - Review Request: rubygem-memoizer - Memoize your methods
Summary: Review Request: rubygem-memoizer - Memoize your methods
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-31 17:00 UTC by Benson Muite
Modified: 2023-01-09 06:06 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-01-09 06:06:24 UTC
Type: Bug
Embargoed:
mtasaka: fedora-review+


Attachments (Terms of Use)

Description Benson Muite 2022-10-31 17:00:31 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/fed500/rubygem-memoizer/fedora-rawhide-x86_64/04998876-rubygem-memoizer/rubygem-memoizer.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/fed500/rubygem-memoizer/fedora-rawhide-x86_64/04998876-rubygem-memoizer/rubygem-memoizer-1.0.3-1.fc38.src.rpm
Description: 
Memoizer caches the results of your method calls, works well 
with methods that accept arguments or return nil. It's a 
simpler and more expicit alternative to ActiveSupport::Memoizable
Fedora Account System Username: fed500

Comments:
a) Dependency of https://github.com/wconrad/ftpd which would like to package.
b) rdoc directory currently not packaged due to embedded fonts and javascript.  Can be added later once there is a consistent policy.

Comment 1 Mamoru TASAKA 2022-11-18 06:45:26 UTC
Some notes

* Probably unneeded BuildRequires
  - Please check if "BR: rubygem(rake)" is really needed.

  - Also we usually try to remove "BR: rubygem(bundler)", as
    bundler tries to lock the version of other dependency gems,
    which we don't want as we are using rpm ecosystem.
 
    It seems that removing "require 'bundler/setup'" from spec/spec_helper.rb
    is sufficient.

* Documentation
  - "Rakefile" is something like "Makefile in Ruby" and usually this is
    not considered as documentation.

  - Not a blocker, however I would request "README.md" to be packaged
    into main package, not in -doc, as README.md is expected to be
    read by everyone using this rpm.

Comment 3 Mamoru TASAKA 2022-11-22 06:38:22 UTC
Approving.

* Name, EVR, Summary clean
* SourceURL, actual source okay, packaged source matches upstream
* License appropriate
* BuildRequires clean
* (generated) Requires sane
* %prep, %build, %install, %check okay
* %files okay
* build on koji successful
* installation successful
* basic functionality okay
* rpmlint sane

=========================================================
   This package (rubygem-memoizer) is APPROVED
   by mtasaka
=========================================================

Comment 4 Kevin Fenzi 2022-11-24 23:26:51 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rubygem-memoizer


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