Bug 246793 - Review Request: postgresql-plruby - PostgreSQL Ruby Procedural Language
Summary: Review Request: postgresql-plruby - PostgreSQL Ruby Procedural Language
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-04 22:11 UTC by Devrim GUNDUZ
Modified: 2008-01-15 03:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-15 03:52:02 UTC
Type: ---
Embargoed:
mtasaka: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)
proposed spec file (2.30 KB, text/plain)
2007-12-29 15:16 UTC, Mamoru TASAKA
no flags Details

Description Devrim GUNDUZ 2007-07-04 22:11:57 UTC
Spec URL: http://developer.postgresql.org/~devrim/rpms/other/plruby/postgresql-plruby.spec
SRPM URL: http://developer.postgresql.org/~devrim/rpms/other/plruby/postgresql-plruby-0.5.0-1.fc7.src.rpm
Description: 
PL/Ruby is a loadable procedural language for the PostgreSQL database
system that enable the Ruby language to create functions and trigger
procedures.

Comment 1 Mamoru TASAKA 2007-07-06 10:53:07 UTC
Well, as I have some ruby modules packages:

Please check the guideline of ruby module packages:
http://fedoraproject.org/wiki/Packaging/Ruby
Especially:
* the name of ruby modules must be ruby-<modules>
* the package must have: Requires: ruby(abi) = <version>
  (and I think the package should have: BuildRequires: ruby(abi) = <version>)
* the package must provide ruby(<package>) = <version>-<release>
* Usually ruby module packages have Group : Development/Languages

For example, I maintain ruby-gettext-package
http://cvs.fedoraproject.org/viewcvs/*checkout*/rpms/ruby-gettext-package/devel/ruby-gettext-package.spec

More complicated example is ruby-gnome2 (maintained by other people,
reviewed by me)
http://cvs.fedoraproject.org/viewcvs/*checkout*/rpms/ruby-gnome2/devel/ruby-gnome2.spec

Comment 2 Mamoru TASAKA 2007-07-12 06:25:55 UTC
ping?

Comment 3 Devrim GUNDUZ 2007-07-17 07:34:53 UTC
Hi,

(In reply to comment #1)

> * the name of ruby modules must be ruby-<modules>

This is not a ruby module. This is PL/Ruby for PostgreSQL. So, I am inclined to
leave the package name as it is now.

> * the package must have: Requires: ruby(abi) = <version>

Done.

>   (and I think the package should have: BuildRequires: ruby(abi) = <version>)

Why not ruby-devel ?

> * the package must provide ruby(<package>) = <version>-<release>

But it does not provide it?

> * Usually ruby module packages have Group : Development/Languages

As I said, this is a PL for PostgreSQL, so let's leave as Applications/Databases.

Thanks for the review. I will post the updated spec and srpm shortly.

Regards, Devrim

Comment 5 Mamoru TASAKA 2007-09-27 13:43:21 UTC
Sorry for delay.

It seems that 0.5.1 is already released. So would you update first?

Comment 6 Devrim GUNDUZ 2007-10-06 03:05:33 UTC
Hi,

I was unavailable for the last few days, and now here is the new set:

Spec URL:
http://developer.postgresql.org/~devrim/rpms/other/plruby/postgresql-plruby.spec
SRPM URL:
http://developer.postgresql.org/~devrim/rpms/other/plruby/postgresql-plruby-0.5.1-1.fc7.src.rpm

Regards, Devrim

Comment 7 Mamoru TASAKA 2007-10-06 16:18:07 UTC
Well, I have not checked your spec/srpm in detail, however

* First make sure that your srpm can be rebuilt.
  http://koji.fedoraproject.org/koji/taskinfo?taskID=185515
  - Note: 
    you can try to rebuild arbitrary srpm on koji as
    $ koji build --scratch <target> <srpm_you_want_to_try>
    Currently, <target> can be either "dist-f9" "dist-f8" or
    "dist-fc7-updates-candidate".
  - Note:
    ruby-devel requires ruby-libs, but does not require ruby.

* Take care of directory ownership issue.
  All the directories created by this package must be owned
  by this package.

* ruby(abi) version dependency must be with equality, i.e.
  "Requires: ruby(abi) = 1.8" (like python abi dependency).
  http://fedoraproject.org/wiki/Packaging/Ruby
  For consistency, usually I also adds.
  "BuildRequies: ruby(abi) = 1.8".

Comment 8 Mamoru TASAKA 2007-10-15 15:23:43 UTC
ping?

Comment 9 Devrim GUNDUZ 2007-10-15 16:04:43 UTC
I built the new SRPM 5 days ago, but forgot to report here:

New spec:
http://developer.postgresql.org/~devrim/rpms/other/plruby/postgresql-plruby.spec
New SRPM:
http://developer.postgresql.org/~devrim/rpms/other/plruby/postgresql-plruby-0.5.1-2.f7.src.rpm

Regards, Devrim

Comment 10 Mamoru TASAKA 2007-10-15 18:03:36 UTC
Well, would you recheck your srpm so that it can be rebuilt?
http://koji.fedoraproject.org/koji/taskinfo?taskID=195921

Some quick notes:
* "Requires: postgresql-libs" should usually not needed as rpmbuild
  checks and adds libraries' dependencies.
* %{ruby_sitearch} is owned by ruby-libs so this package should not
  own this directory
* We now recommend %defattr(-,root,root,-)

Comment 11 Devrim GUNDUZ 2007-10-15 18:22:26 UTC
Hi,

(In reply to comment #10)
> Well, would you recheck your srpm so that it can be rebuilt?
> http://koji.fedoraproject.org/koji/taskinfo?taskID=195921

This is not plruby's problem -- This is a problem of PostgreSQL (AFAICS it
cannot be built on ppc, will ping upstream), right?
 
> * %{ruby_sitearch} is owned by ruby-libs so this package should not
>   own this directory

Ok, fixed.

> * We now recommend %defattr(-,root,root,-)

Ok done.

Will upload the new SRPM soon.

Regards, Devrim

Comment 13 Mamoru TASAKA 2007-10-15 18:35:53 UTC
I have not checked -3, however

(In reply to comment #11)
> Hi,
> 
> (In reply to comment #10)
> > Well, would you recheck your srpm so that it can be rebuilt?
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=195921
> 
> This is not plruby's problem -- This is a problem of PostgreSQL (AFAICS it
> cannot be built on ppc, will ping upstream), right?

I doubt it. Rebuild fails even on i386.
http://koji.fedoraproject.org/koji/taskinfo?taskID=196241

Comment 14 Mamoru TASAKA 2007-10-15 18:38:32 UTC
And please check this comment.
(In reply to comment #10)
> * "Requires: postgresql-libs" should usually not needed as rpmbuild
>   checks and adds libraries' dependencies.

Also, %defattr is not yet fixed (note: as rebuild fails,
I did only quick check and did not review this srpm fully).

Comment 15 Devrim GUNDUZ 2007-10-15 18:45:40 UTC
Hi,

(In reply to comment #14)
> And please check this comment.
> (In reply to comment #10)
> > * "Requires: postgresql-libs" should usually not needed as rpmbuild
> >   checks and adds libraries' dependencies.

I'm inclined to leave it there.
 
> Also, %defattr is not yet fixed

It is. Maybe your browser cached the old one.

Regards, Devrim


Comment 16 Mamoru TASAKA 2007-10-16 02:28:04 UTC
-3 again failed to be rebuilt.
http://koji.fedoraproject.org/koji/taskinfo?taskID=197311
Please make it sure that your srpm can be rebuilt.
As I said in comment 7, you can check your srpm by koji beforehand
whether your srpm can be rebuilt correctly.

> > Also, %defattr is not yet fixed
> 
> It is. Maybe your browser cached the old one.
Please check %doc subpackage.



Comment 17 Mamoru TASAKA 2007-10-23 07:21:13 UTC
ping?

Comment 18 Mamoru TASAKA 2007-11-01 18:38:53 UTC
ping again?

Comment 19 Mamoru TASAKA 2007-12-16 05:04:34 UTC
Once closing.

If someone wants to import this package into Fedora, please submit
a new review request, thank you.

Comment 20 Devrim GUNDUZ 2007-12-16 08:12:22 UTC
I don't see any reason to close this bug.

You provide no solution as a reviewer -- if you don't want to review this
package, leave it as is .

Regards, Devrim

Comment 21 Mamoru TASAKA 2007-12-16 08:33:31 UTC
(In reply to comment #20)
> I don't see any reason to close this bug.
Please see "Stalled review" wiki. We close review requests
in which the submitters don't response to the last comments
from others for more than ONE MONTH (although I usually
wait 1 month + 1 week)

> You provide no solution as a reviewer -- 
It is not what the reviewer should resolve, any claims
by reviewers must be resolved by the submitter.
To make srpm in the shape which can be rebuilt is one of
the duty for sumbitters.


Comment 23 Mamoru TASAKA 2008-01-09 15:27:51 UTC
Would you check the spec file attached on comment 22?

Comment 24 Devrim GUNDUZ 2008-01-09 16:24:53 UTC
Oh yes. Thanks for that -- it works on my test servers, too...

Comment 25 Mamoru TASAKA 2008-01-09 17:25:26 UTC
Thanks. I will check this package again later.

Comment 26 Mamoru TASAKA 2008-01-10 15:39:02 UTC
Okay.

-----------------------------------------------------------------
    This package (postgresql-plruby) is APPROVED by me
-----------------------------------------------------------------

Comment 27 Mamoru TASAKA 2008-01-14 18:29:01 UTC
Would you take a CVS request?

Comment 28 Devrim GUNDUZ 2008-01-14 19:00:52 UTC
No, not yet. I applied a one line fix to the spec, and I'm testing it on my
buildfarm. Will finish soon.

Comment 30 Devrim GUNDUZ 2008-01-15 01:27:00 UTC
New Package CVS Request
=======================
Package Name: postgresql-plruby
Short Description: PostgreSQL Ruby Procedural Language
Owners: devrim
Branches: F-7 F-8 EL-4 EL-5
InitialCC: devrim
Cvsextras Commits: no


Comment 31 Kevin Fenzi 2008-01-15 02:04:36 UTC
cvs done. 

Any reason for the cvsextras commits no? This will make it harder for people to
assist you with this package if you aren't available. 

Comment 32 Devrim GUNDUZ 2008-01-15 03:52:02 UTC
I'm always open to co-maintainers -- and this package is not updated frequently,
so I don't expect a problem.

Mamoru: Thanks for the review and patience.
Kevin: Thanks for the CVS. 

Closing bug.


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