Bug 753677

Summary: Review Request: gnome-shell-extension-no11y - remove acceblity icon from status area
Product: [Fedora] Fedora Reporter: Amir Hedayaty <hedayaty>
Component: Package ReviewAssignee: Parag AN(पराग) <panemade>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: notting, package-review, panemade
Target Milestone: ---Flags: panemade: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-25 09:39:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amir Hedayaty 2011-11-14 04:57:07 UTC
Spec URL: www.cs.sfu.ca/~aha49/personal/fedora/gnome-shell-extension-noa11y.spec
SRPM URL: www.cs.sfu.ca/~aha49/personal/fedora/gnome-shell-extension-noa11y-0-0.1.src.rpm
Description: This is the extension to remove accessibility from status area, rewritten for gnome 3.2

Comment 1 Parag AN(पराग) 2011-11-15 06:03:18 UTC
Review:-
+ koji build ->http://koji.fedoraproject.org/koji/taskinfo?taskID=3514553
+ rpmlint on package gave
gnome-shell-extension-noa11y.noarch: W: no-version-in-last-changelog
gnome-shell-extension-noa11y.noarch: W: invalid-url URL Note
gnome-shell-extension-noa11y.noarch: W: no-documentation
gnome-shell-extension-noa11y.noarch: W: empty-%postun
gnome-shell-extension-noa11y.src: W: no-version-in-last-changelog
gnome-shell-extension-noa11y.src: W: invalid-url URL Note
gnome-shell-extension-noa11y.src: E: invalid-spec-name
gnome-shell-extension-noa11y.src:2: W: mixed-use-of-spaces-and-tabs (spaces: line 2, tab: line 1)
gnome-shell-extension-noa11y.src: W: invalid-url Source0: noa11y.com.tar.gz
2 packages and 0 specfiles checked; 1 errors, 8 warnings.

suggestions:
1) you don't need now following in current active Fedora releases.
%defattr (-,root,root,-)

and in %install
rm -rf %{buildroot}

2) add the version-release information in changelog like
* Sun Nov 13 2011 Amir Hedayaty <hedayaty AT gmail DOT com>- 0-0.1
- Initial package for Fedora

3) you can remove warning mixed-use-of-spaces-and-tabs by using command
sed -e 's|\t| |g' gnome-shell-extension-noa11y.spec

3) I see you have wrong spec file added in srpm. you added gnome-shell-extension-no11y.spec whereas it should be gnome-shell-extension-noa11y.spec

4) you don't need %postun in spec file. remove that.

5) Host your tarball on some server and use that download url in URL of spec.


submit a new SPEC and SRPM by fixing above issues.

Comment 2 Amir Hedayaty 2011-11-15 07:40:06 UTC
Thanks for the feedback I hope the issue are fixed!
Here are the new urls:

Spec URL:
www.cs.sfu.ca/~aha49/personal/fedora/gnome-shell-extension-noa11y.spec
SRPM URL:
www.cs.sfu.ca/~aha49/personal/fedora/gnome-shell-extension-noa11y-3.2.0-1.src.rpm

Comment 3 Parag AN(पराग) 2012-03-19 10:16:56 UTC
Review:

+ koji scratch build for f17 -> http://koji.fedoraproject.org/koji/taskinfo?taskID=3908553

+ rpmlint on rpms gave
gnome-shell-extension-noa11y.noarch: W: no-documentation
gnome-shell-extension-noa11y.src: W: invalid-url Source0: gnome-shell-extension-noa11y-3.2.0.tar.gz
2 packages and 0 specfiles checked; 0 errors, 2 warnings.

+ upstream source URL is verified as (sha1sum)
7e59257df57d226a9b8f950a33a48a5f8db57152  ../SOURCES/gnome-shell-extension-noa11y-3.2.0.tar.gz
7e59257df57d226a9b8f950a33a48a5f8db57152  gnome-shell-extension-noa11y-3.2.0.tar.gz

+ package follows guidelines.

Suggestions:
1)Source tag should 
Source0:        http://www.cs.sfu.ca/~aha49/personal/fedora/%{name}-%{version}.tar.gz

2) URL tag should contain a link where this project is hosted. If its nowhere hosted then remove the URL tag.

3) Any reason for not using disttag? See http://fedoraproject.org/wiki/Packaging:DistTag how to add dist-tag.

4) Package is installed successfully but unable to get extension working. Look like you need to modify metadata.json to include new gnome-shell versions. I tested on f17 and this is not working. After adding "3.3.90" as gnome-shell version it start working.


Please fix the suggestions before you add this package in dist-git.

Comment 4 Parag AN(पराग) 2012-03-19 10:18:33 UTC
submit a new srpm with new source and I will approve it.

Comment 5 Amir Hedayaty 2012-03-19 18:19:08 UTC
Here are the new rpm files,

http://github.com/downloads/hedayaty/No-A11y/gnome-shell-extension-noa11y.spec
http://github.com/downloads/hedayaty/No-A11y/gnome-shell-extension-noa11y-3.2.0-1.src.rpm

They are targeted for FC16 and gnome 3.2 again.
For gnome 3.4 I will update it hopefully soon! Existence of this extension is kind of ridiculous a similar one is the most popular extension on gnome! I wish gnome 3.4 added an option to hide that

Comment 6 Parag AN(पराग) 2012-03-22 08:56:08 UTC
Package must work on current development version. Please make sure your extensions will work in F17 and F18.

Comment 7 Amir Hedayaty 2012-03-28 19:19:35 UTC
OK, the issue was solved somehow gnome-extension-tool did not enable the extensions! Here is the new version for gnome 3.4 and FC17
https://github.com/downloads/hedayaty/NetSpeed/gnome-shell-extension-netspeed-3.4.10-1.src.rpm
https://github.com/downloads/hedayaty/NetSpeed/gnome-shell-extension-netspeed.spec

Comment 9 Parag AN(पराग) 2012-04-17 03:47:58 UTC
koji build -> http://koji.fedoraproject.org/koji/taskinfo?taskID=3996999

Fix the rpmlint warning
gnome-shell-extension-noa11y.noarch: W: incoherent-version-in-changelog 3.4.0 ['3.4.0-1', '3.4.0-1']
The latest entry in %changelog contains a version identifier that is not
coherent with the epoch:version-release tuple of the package.

unable to verify sources
wget http://github.com/downloads/hedayaty/No-A11y/gnome-shell-extension-noa11y-3.4.0.tar.gz 
==> ERROR 404: Not Found.

Comment 10 Parag AN(पराग) 2012-04-17 05:03:29 UTC
one last thing, maybe I had overlooked but where can I see the license to verify? I see no separate license text file available in tarball, no license headers included in .js


you need to change 3.4.0 to 3.4.0-1 to fix rpmlint warning.

Comment 12 Parag AN(पराग) 2012-05-02 05:54:13 UTC
rpmlint still shows 

gnome-shell-extension-noa11y.noarch: W: incoherent-version-in-changelog 3.4.0 ['3.4.0-2', '3.4.0-2']

Comment 13 Parag AN(पराग) 2012-05-02 05:56:37 UTC
Please read http://fedoraproject.org/wiki/Packaging:Guidelines#Changelogs

Comment 14 Parag AN(पराग) 2012-05-02 06:02:23 UTC
Anyway, I will not wait for this to get fixed.

APPROVED.

Comment 15 Parag AN(पराग) 2012-06-06 03:58:04 UTC
any update here?

Comment 16 Parag AN(पराग) 2012-07-20 10:38:49 UTC
any update here?

Comment 17 Parag AN(पराग) 2012-08-06 05:34:06 UTC
If I will not hear any updates in next one week, will close this as NOTABUG