Bug 1047626 - Review Request: php-google-api-php-client - Google APIs client library for PHP
Summary: Review Request: php-google-api-php-client - Google APIs client library for PHP
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:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-01 07:25 UTC by Adam Williamson
Modified: 2014-01-31 18:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-31 18:46:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2014-01-01 07:25:31 UTC
Spec URL: https://www.happyassassin.net/reviews/php-google-api-php-client/php-google-api-php-client.spec
SRPM URL: https://www.happyassassin.net/reviews/php-google-api-php-client/php-google-api-php-client-0.6.7-1.fc21.src.rpm
Description: The Google API client library allows one to work with Google APIs such as Analytics, Adsense, Google+, Calendar, Drive or Games. It includes support for HTTP streams, which makes it simple to use the library from an App Engine application just by tweaking the configuration file. 
Fedora Account System Username: adamwill

Comment 1 Adam Williamson 2014-01-01 07:26:23 UTC
OwnCloud bundles this, it's part of my unbundling work. I've tested that OC works with this system copy of google-api-php-client , after the obvious modifications to find it.

Comment 2 Mukundan Ragavan 2014-01-27 14:42:11 UTC
Hi Adam,

I would like to attempt an **unofficial** review as a part of learning packaging. So, please excuse me if I say something silly! :)

My comments - 

* spec file Requires: should be moved to before %description. If I build the rpm as it is now, yum is not pulling in the deps. Moving Requires: seems to fix that problem.

Running fedora-review produces this - 

Requires
--------
php-google-api-php-client (rpmlib, GLIBC filtered):

which does not list the other dependencies.

Mukundan (nonamedotc)

Comment 3 Adam Williamson 2014-01-28 20:21:04 UTC
"* spec file Requires: should be moved to before %description. If I build the rpm as it is now, yum is not pulling in the deps. Moving Requires: seems to fix that problem."

Hah, you're quite right, good catch.

"which does not list the other dependencies."

I don't use fedora-review myself and am not familiar with exactly what it does, but the PHP experts use php-compat-info, which you can get from the php-pear-PHP-CompatInfo package, to evaluate the likely dependencies of PHP code (it's generally pretty reliable, but it does go wrong sometimes, and it's best to use it as a starting point for manual check of the code).

Comment 4 Adam Williamson 2014-01-31 18:46:29 UTC
Cancelling this request. Shawn Iwinski is planning to submit a review request for v1.x of the library:

https://raw2.github.com/siwinski/rpms/master/php-google-api.spec

and I've ported the OC app to v1.x (see https://github.com/owncloud/core/pull/6989 ), so we don't really need this.


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