[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-11-01 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

Fedora Update System upda...@fedoraproject.org changed:

   What|Removed |Added

 Status|ON_QA   |CLOSED
   Fixed In Version||rubygem-joiner-0.3.3-1.fc21
 Resolution|--- |ERRATA
Last Closed||2014-11-01 13:07:12



--- Comment #16 from Fedora Update System upda...@fedoraproject.org ---
rubygem-joiner-0.3.3-1.fc21 has been pushed to the Fedora 21 stable repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #13 from Vít Ondruch vondr...@redhat.com ---
I hope you enjoyed your vacation and thanks :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

Fedora Update System upda...@fedoraproject.org changed:

   What|Removed |Added

 Status|MODIFIED|ON_QA



--- Comment #14 from Fedora Update System upda...@fedoraproject.org ---
rubygem-joiner-0.3.3-1.fc20 has been pushed to the Fedora 20 testing
repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-22 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #15 from Ken Dreyer ktdre...@ktdreyer.com ---
I failed to notice the Rails 4.1 dependency so I've un-pushed the update for
F19 and F20. I'm not *entirely* sure if Rails 4.1 is a hard dep or if 4.0 would
be ok and upstream could loosen their gemspec... at any rate, it's unpushed for
F19 and F20.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #9 from Fedora Update System upda...@fedoraproject.org ---
rubygem-joiner-0.3.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/rubygem-joiner-0.3.3-1.fc21

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

Fedora Update System upda...@fedoraproject.org changed:

   What|Removed |Added

 Status|ASSIGNED|MODIFIED



-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #10 from Fedora Update System upda...@fedoraproject.org ---
rubygem-joiner-0.3.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/rubygem-joiner-0.3.3-1.fc20

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #11 from Fedora Update System upda...@fedoraproject.org ---
rubygem-joiner-0.3.3-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/rubygem-joiner-0.3.3-1.fc19

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-21 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #12 from Ken Dreyer ktdre...@ktdreyer.com ---
(In reply to Vít Ondruch from comment #8)
 Ken, can you proceed to get rid of one broken dependency in F21? Thanx.

I just returned from vacation so I've pushed this to updates-testing today.
That broken dependency has been bugging me for a good while.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

Vít Ondruch vondr...@redhat.com changed:

   What|Removed |Added

 CC||vondr...@redhat.com



--- Comment #8 from Vít Ondruch vondr...@redhat.com ---
Ken, can you proceed to get rid of one broken dependency in F21? Thanx.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

Kevin Fenzi ke...@scrye.com changed:

   What|Removed |Added

  Flags|fedora-cvs? |fedora-cvs+



-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-13 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #7 from Kevin Fenzi ke...@scrye.com ---
Git done (by process-git-requests).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

Ken Dreyer ktdre...@ktdreyer.com changed:

   What|Removed |Added

  Flags||fedora-cvs?



--- Comment #6 from Ken Dreyer ktdre...@ktdreyer.com ---
New Package SCM Request
===
Package Name: rubygem-joiner
Short Description: Builds ActiveRecord joins from association paths
Upstream URL: https://github.com/pat/joiner
Owners: ktdreyer
Branches: f19 f20 f21

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #1 from František Dvořák val...@civ.zcu.cz ---
Issues or changes for consideration:

1) new version of joiner is available (0.3.3)

2) (cosmetic) you can consider using unified way of excluding files (replacing
rm .%{gem_instdir}/%{gem_name}.gemspec by %exclude macro?)

3) (cosmetic) you can consider using %license macro for license file

4) (future work) I think combustion gem requires bundler. Removing bundler from
spec_helper.rb may break things, or there will be needed some way of disabling
bundler in combustion?

  But it is not used now anyway, so it is not needed neither for build nor
passing the review. :-)

5) (question) there is not used require 'active_record' anywere in joiner
sources, but I guess it's OK (developers using joiner will require rails or
activerecord anyway?)

mock-chroot[root@forkys /]# ruby -e require 'joiner'
/usr/share/gems/gems/joiner-0.3.0/lib/joiner/joins.rb:2:in `class:Joins':
uninitialized constant ActiveRecord (NameError)
from /usr/share/gems/gems/joiner-0.3.0/lib/joiner/joins.rb:1:in `top
(required)'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
`require'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
`require'
from /usr/share/gems/gems/joiner-0.3.0/lib/joiner.rb:6:in `top
(required)'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #2 from Ken Dreyer ktdre...@ktdreyer.com ---
(In reply to František Dvořák from comment #1)
 Issues or changes for consideration:
 
 1) new version of joiner is available (0.3.3)

Thanks, I've updated the gem to 0.3.3.

* Fri Oct 10 2014 Ken Dreyer ktdre...@ktdreyer.com - 0.3.3-1
- Update to joiner 0.3.3 (RHBZ #1117025)
- Use %%license macro (RHBZ #1117025)

Spec URL: http://ktdreyer.fedorapeople.org/reviews/rubygem-joiner.spec
SRPM URL:
http://ktdreyer.fedorapeople.org/reviews/rubygem-joiner-0.3.3-1.fc22.src.rpm

Exact changes in Git:
https://fedorapeople.org/cgit/ktdreyer/public_git/rubygem-joiner.git/commit/?id=8f874b22823e7912fd2ed550810be24213c48c69

F22 scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=7825913

 2) (cosmetic) you can consider using unified way of excluding files
 (replacing rm .%{gem_instdir}/%{gem_name}.gemspec by %exclude macro?)

In the case of rm %{gem_name}.gemspec, I consider that to be a bug in the
upstream project. I don't see a point to shipping the gemspec file in the gem
itself. Plenty of gems avoid doing this (eg rugged). See
https://lists.fedoraproject.org/pipermail/ruby-sig/2013-December/001471.html
for a discussion on this (that unfortunately didn't reach resolution.)

 3) (cosmetic) you can consider using %license macro for license file

Thanks for pointing this out. When this guideline first came out I didn't see a
backwards-compatible way to introduce this, but after reading
https://fedorahosted.org/fpc/ticket/411#comment:11 I see there is an easy
solution for backwards compatibility. I've changed this in my package.

 4) (future work) I think combustion gem requires bundler. Removing bundler
 from spec_helper.rb may break things, or there will be needed some way of
 disabling bundler in combustion?
 
   But it is not used now anyway, so it is not needed neither for build nor
 passing the review. :-)

Yeah, I'm typically able to strip out Bundler where possible. I'll be sure to
check if we need to do that with combustion.

 5) (question) there is not used require 'active_record' anywere in joiner
 sources, but I guess it's OK (developers using joiner will require rails or
 activerecord anyway?)

Interesting, I guess upstream thinks it's fine to just require it in the
gemspec and not in the actual library.

In the RPM case, since we Require: rubygem(activerecord) I think it's ok, but
your point is valid that upstream probably needs to think about the non-Bundler
case.

When you were testing in your chroot, did rubygem-activerecord get installed
there? Or did you install the package with --nodeps? It's weird that it would
break like that for you, since the dependency is in the RPM.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #3 from František Dvořák val...@civ.zcu.cz ---
(In reply to Ken Dreyer from comment #2)
 
  5) (question) there is not used require 'active_record' anywere in joiner
  sources, but I guess it's OK (developers using joiner will require rails or
  activerecord anyway?)
 
 Interesting, I guess upstream thinks it's fine to just require it in the
 gemspec and not in the actual library.
 
 In the RPM case, since we Require: rubygem(activerecord) I think it's ok,
 but your point is valid that upstream probably needs to think about the
 non-Bundler case.
 
 When you were testing in your chroot, did rubygem-activerecord get installed
 there? Or did you install the package with --nodeps? It's weird that it
 would break like that for you, since the dependency is in the RPM.

Yes, rubygem-activerecord were installed (with the rubygem-rails).

The command:
  ruby -e require 'active_record'; require 'joiner'
works fine.

It is not problem with packaging, and using ActiveRecord already is probably
expected.

Anyway, package can be approved. I'll create the final report yet.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

František Dvořák val...@civ.zcu.cz changed:

   What|Removed |Added

  Flags|fedora-review?  |fedora-review+



--- Comment #4 from František Dvořák val...@civ.zcu.cz ---
Package Review
==

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


= MUST items =

Generic:
[x]: Package is licensed with an open-source compatible license and meets
 other legal requirements as defined in the legal section of Packaging
 Guidelines.
[x]: License field in the package spec file matches the actual license.
 Note: Checking patched sources after %prep for licenses. Licenses found:
 Unknown or generated.
[x]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
 Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
 supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
 Note: No rpmlint messages.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
 are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
 beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
 work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
 in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
 %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
 (~1MB) or number of files.
 Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Ruby:
[-]: Platform dependent files must all go under %{gem_extdir_mri}, platform
 independent under %{gem_dir}.
[x]: Gem package must not define a non-gem subpackage
[x]: Macro %{gem_extdir} is deprecated.
[x]: Gem package is named rubygem-%{gem_name}
[x]: Package contains BuildRequires: rubygems-devel.
[x]: Gem package must define %{gem_name} macro.
[x]: Pure Ruby package must be built as noarch
[x]: Package does not contain Requires: ruby(abi).
[x]: Package contains Requires: ruby(release).

= SHOULD items =

Generic:
[x]: Avoid bundling fonts in non-fonts packages.
 Note: Package contains font files
[-]: If the source package does not include license text(s) as a separate file
 from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
 translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
 architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025



--- Comment #5 from Ken Dreyer ktdre...@ktdreyer.com ---
(In reply to František Dvořák from comment #3)
 Yes, rubygem-activerecord were installed (with the rubygem-rails).
 
 The command:
   ruby -e require 'active_record'; require 'joiner'
 works fine.
 
 It is not problem with packaging, and using ActiveRecord already is probably
 expected.

Oh, my bad, I got really confused there. Sorry about that. I've submitted a
patch for this upstream, at https://github.com/pat/joiner/pull/4

Thanks very much for the review.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-10-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

František Dvořák val...@civ.zcu.cz changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||val...@civ.zcu.cz
   Assignee|nob...@fedoraproject.org|val...@civ.zcu.cz
  Flags||fedora-review?



-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Bug 1117025] Review Request: rubygem-joiner - Builds ActiveRecord joins from association paths

2014-07-07 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1117025

Ken Dreyer ktdre...@ktdreyer.com changed:

   What|Removed |Added

 Blocks||1090025




Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1090025
[Bug 1090025] rubygem-thinking-sphinx-3.1.1 is available
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
___
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review