Bug 329331

Summary: Review Request: python-gdata - A Python module for accessing online Google services
Product: [Fedora] Fedora Reporter: Bastien Nocera <bnocera>
Component: Package ReviewAssignee: Parag AN(पराग) <panemade>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: adam, bjohnson, fedora-package-review, notting, stickster, walters
Target Milestone: ---Flags: panemade: fedora-review+
j: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-21 19:38:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 324111    

Description Bastien Nocera 2007-10-12 12:01:48 UTC
+++ This bug was initially created as a clone of Bug #324111 +++

Spec URL: http://people.redhat.com/bnocera/python-gdata/python-gdata.spec
SRPM URL: http://people.redhat.com/bnocera/python-gdata/python-gdata-1.0.8-1.src.rpm
Description: This is a Python module for accessing online Google services, such as:
- Blogger
- Calendar
- Picasa Web Albums
- Spreadsheets
- YouTube
- Notebook

Comment 1 Parag AN(पराग) 2007-10-12 12:24:08 UTC
rpmlint gave me
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/apps/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/spreadsheet/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/docs/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/base/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/atom/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/docs/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/atom/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/calendar/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/spreadsheet/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/test_data.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/apps/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/base/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/calendar/service.py 0644


If this is of noarch type then do we still need following in SPEC ?
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}


Comment 2 Parag AN(पराग) 2007-10-12 12:30:02 UTC
Good to add tests directory as %doc
Also, are files under samples are also examples? If yes you can also add them to
%doc. I think neither they are used in build nor they are installed.

remember to run rpmlint on rpms before providing update.

Comment 3 Bastien Nocera 2007-10-16 10:15:14 UTC
(In reply to comment #1)
> rpmlint gave me
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/apps/service.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/spreadsheet/service.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/docs/__init__.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/base/service.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/atom/__init__.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/__init__.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/docs/service.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/atom/service.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/calendar/__init__.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/spreadsheet/__init__.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/service.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/test_data.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/apps/__init__.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/base/__init__.py 0644
> python-gdata.noarch: E: non-executable-script
> /usr/lib/python2.5/site-packages/gdata/calendar/service.py 0644

Those are completely bogus. We have #!/usr/bin/python up there, for use in the
unit tests. They're not any useful for run-time.

> If this is of noarch type then do we still need following in SPEC ?
> %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from
> distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Removed.

(In reply to comment #2)
> Good to add tests directory as %doc
> Also, are files under samples are also examples? If yes you can also add them to
> %doc. I think neither they are used in build nor they are installed.
> 
> remember to run rpmlint on rpms before providing update.

samples added, the tests are unit tests, that wouldn't be useful at all, unless
you wanted to develop python-gdata.

Updated:
http://www.gnome.org/~hadess/python-gdata/python-gdata-1.0.8-2.fc8.src.rpm
http://www.gnome.org/~hadess/python-gdata/python-gdata.spec

Comment 4 Parag AN(पराग) 2007-10-18 05:47:09 UTC
Review:
+ package builds in mock (development i386).
+ rpmlint is silent for SRPM but not for RPM.
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/apps/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/spreadsheet/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/docs/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/base/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/atom/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/docs/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/atom/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/calendar/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/spreadsheet/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/service.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/test_data.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/apps/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/base/__init__.py 0644
python-gdata.noarch: E: non-executable-script
/usr/lib/python2.5/site-packages/gdata/calendar/service.py 0644
==> But these looks false messages. Ignored.
+ source files match upstream.
b6f6aa192446047d8045d3c30345f1ef  gdata.py-1.0.8.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ License text is included in package.
+ %doc files present.
+ BuildRequires are proper.
+ defattr usage is correct.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code.
+ no static libraries.
+ no .pc file present.
+ no -devel subpackage exists.
+ no .la files.
+ no translations are available.
+ Does owns the directories it creates.
+ no duplicates in %files.
+ file permissions are appropriate.
+ no scriptlets are used.
+ Not a GUI app.

APPROVED.

SHOULD:
   Remove CFLAGS as this is python package and no compilations is happening that
needs CFLAGS.

Comment 5 Bastien Nocera 2007-10-18 08:28:43 UTC
Thanks for the review!

New Package CVS Request
=======================
Package Name: python-gdata
Short Description: A Python module for accessing online Google services
Owners: hadess
Branches: devel
InitialCC: 
Cvsextras Commits: yes

Comment 6 Kevin Fenzi 2007-10-21 16:31:56 UTC
cvs done.

Comment 7 Bastien Nocera 2007-10-21 17:40:42 UTC
(In reply to comment #6)
> cvs done.

Kevin, could you please create an F-8 branch as well? I created my request
before the freeze...

Package Change Request
======================
Package Name: python-gdata
New Branches: F-8


Comment 8 Bastien Nocera 2007-10-21 17:59:56 UTC
python-gdata-1.0.8-3.fc9 built.

Comment 9 Kevin Fenzi 2007-10-21 18:15:33 UTC
cvs done.

Comment 10 Bastien Nocera 2007-10-21 19:38:06 UTC
Done in F8 and devel. Thanks Kevin and Parag.

Comment 11 Parag AN(पराग) 2007-11-13 05:16:30 UTC
*** Bug 378441 has been marked as a duplicate of this bug. ***

Comment 12 Bernard Johnson 2007-11-13 14:43:11 UTC
Sorry, I somehow missed this submission when I submitted my package for review.
 Can you branch this back to F7 as well.  Thanks.

Comment 13 Bastien Nocera 2007-11-13 15:33:09 UTC
(In reply to comment #12)
> Sorry, I somehow missed this submission when I submitted my package for review.
>  Can you branch this back to F7 as well.  Thanks.

Please open a new bug with your login name, then you can DIY :)

Comment 14 Bernard Johnson 2007-11-13 15:47:55 UTC
http://fedoraproject.org/wiki/PackageMaintainers/CVSAdminProcedure#head-529da50ad0b5cf0bedb9fdf47569c76657d79a7b

"Please try to use the existing review ticket for these special requests, even
if that ticket is CLOSED"

I think as the package owner you should be requesting the branching??

Comment 15 Bastien Nocera 2007-11-13 15:57:01 UTC
(In reply to comment #14)
>
http://fedoraproject.org/wiki/PackageMaintainers/CVSAdminProcedure#head-529da50ad0b5cf0bedb9fdf47569c76657d79a7b
> 
> "Please try to use the existing review ticket for these special requests, even
> if that ticket is CLOSED"

Sigh.

> I think as the package owner you should be requesting the branching??

I don't need python-gdata on F7, so please give me your username, and I'll add
you to the maintainers so you do the builds/branching/whatever yourself. You'll
probably need to update to 1.0.8 in F8 as well if you want the latest version in F7.

Comment 16 Bernard Johnson 2007-11-13 16:03:46 UTC
(In reply to comment #15)
> I don't need python-gdata on F7, so please give me your username, and I'll add
> you to the maintainers so you do the builds/branching/whatever yourself. You'll
> probably need to update to 1.0.8 in F8 as well if you want the latest version
in F7.

Ok, I understand your response now :)

FAS username: bjohnson

Thanks

Comment 17 Bastien Nocera 2007-11-13 16:18:03 UTC
(In reply to comment #16)
> Ok, I understand your response now :)
> 
> FAS username: bjohnson

Could you please add yourself to the commits and all, and I'll confirm those there:
https://admin.fedoraproject.org/pkgdb/packages/name/python-gdata



Comment 18 Bernard Johnson 2007-11-13 22:29:45 UTC
(In reply to comment #15)
> You'll probably need to update to 1.0.8 in F8 as well if you want the latest
> version in F7.

If it gets branched from devel (which I believe it will), I'll update F8 as well
so that there is no EVR problems.  Otherwise if it gets branched from an older
version, I have no great need to have the latest.


Package Change Request
======================
Package Name: python-gdata
New Branches: F-7




Comment 19 Kevin Fenzi 2007-11-15 00:25:03 UTC
new branches are created empty, ready for whatever you like to import...

cvs done.

Comment 20 Adam Goode 2010-06-21 18:50:48 UTC
Package Change Request
======================
Package Name: python-gdata
New Branches: EL-5 EL-6
Owners: agoode

Comment 21 Kevin Fenzi 2010-06-23 01:36:16 UTC
Have you asked the fedora owner if they would like to maintain in EPEL?

Comment 22 Adam Goode 2010-06-23 14:15:40 UTC
Sorry, yes I did:

https://bugzilla.redhat.com/show_bug.cgi?id=606479

Comment 23 Jason Tibbitts 2010-06-25 18:34:24 UTC
CVS done.  It does speed up the process if you tell us that you've received approval from the existing owner.