Bug 873813 - Review Request: gnome-shell-search-github-repositories - Search your Github Repos from the gnome-shell
Summary: Review Request: gnome-shell-search-github-repositories - Search your Github R...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael S.
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 18:52 UTC by Ralph Bean
Modified: 2013-01-06 13:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-06 13:53:03 UTC
Type: ---
Embargoed:
misc: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Ralph Bean 2012-11-06 18:52:41 UTC
Spec URL: http://ralph.fedorapeople.org//gnome-shell-search-github-repositories.spec
SRPM URL: http://ralph.fedorapeople.org//gnome-shell-search-github-repositories-1.0.0rc2-1.fc18.src.rpm

Description:
gnome-shell-search-github-repositories includes results from your github
repositories in gnome-shell search results.

The search provider *will not work* without being configured.

Create a file in your homedirectory at ~/.search-github with the following
content:

  [github]
  username = YOUR_USERNAME
  password = YOUR_PASSWORD

Comment 1 Ralph Bean 2012-11-06 18:52:48 UTC
This package built on koji:  http://koji.fedoraproject.org/koji/taskinfo?taskID=4659699

Comment 2 Ralph Bean 2012-11-07 14:06:59 UTC
New version out with support for searching github Organizations.

Spec URL: http://threebean.org/rpm/gnome-shell-search-github-repositories.spec
SRPM URL: http://threebean.org/rpm/gnome-shell-search-github-repositories-1.0.0-1.fc18.src.rpm

Comment 3 Ralph Bean 2012-11-10 17:11:22 UTC
New version out with no more need for a flat file.  The user is prompted for their credentials with a gtk3 widget and the creds are stored in the gnome keyring.

Spec URL: http://threebean.org/rpm/gnome-shell-search-github-repositories.spec
SRPM URL: http://threebean.org/rpm/gnome-shell-search-github-repositories-1.0.1-1.fc18.src.rpm

Comment 4 Michael S. 2012-11-23 12:41:02 UTC
Hi,

%{_datadir}/gnome-shell-search-github/popup.glade , I think this result into having a unowned directory.

Since the package work only with gnome-shell, I assume this requires a recent Fedora, so the 2 macros definition at the start of the file can safely be dropped.

Comment 5 Michael S. 2012-11-23 13:02:40 UTC
Package Review
==============

Key:
[x] = Pass
[!] = Fail
[-] = Not applicable
[?] = Not evaluated
[ ] = Manual review needed

==== Issues ====
[!]: Package contains desktop file if it is a GUI application.

not sure about this, but the popup is a gui application. It all depend on how you plan to use it, so I think we could ignore this.

[!]: Package must own all directories that it creates.
see previous comment ( and that's easy to fix but blocking )

[!]: Package functions as described.
I was not able to make this work after installation, but the popup do not accept my password nor show any errors message. 


===== 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]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package contains no bundled libraries.
[x]: Changelog in prescribed format.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[!]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
[x]: glib-compile-schemas is run if required
     Note: gschema file(s) in gnome-shell-search-github-repositories
[x]: Package complies to the Packaging Guidelines
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[x]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %doc.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "GPL (v3 or later)", "Unknown or generated". 2 files have unknown
     license. Detailed output of licensecheck in
     /home/misc/checkout/git/FedoraReview/873813-gnome-shell-search-github-
     repositories/licensecheck.txt
[x]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: Package is named using only allowed ASCII characters.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[x]: Package do not use a name that already exist
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[!]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package is not relocatable.
[x]: Requires correct, justified where necessary.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file is legible and written in American English.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: Package contains systemd file(s) if in need.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 40960 bytes in 2 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep
[x]: Python eggs must not download any dependencies during the build process.
[-]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python

===== SHOULD items =====

Generic:
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[-]: 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]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[!]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX / PatchY prefixed with %{name}.
[x]: SourceX is a working URL.
[x]: 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.
[!]: Packages should try to preserve timestamps of original installed files.
[x]: Spec use %global instead of %define.

===== EXTRA items =====

Generic:
[x]: Spec file according to URL is the same as in SRPM.
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.


Rpmlint
-------
Checking: gnome-shell-search-github-repositories-1.0.1-1.fc17.noarch.rpm
gnome-shell-search-github-repositories.noarch: W: devel-file-in-non-devel-package /usr/bin/gnome-shell-search-github-repositories-config
gnome-shell-search-github-repositories.noarch: W: non-conffile-in-etc /etc/dbus-1/system.d/org.gnome.githubrepositories.search.conf
gnome-shell-search-github-repositories.noarch: W: no-manual-page-for-binary gnome-shell-search-github-repositories-config
gnome-shell-search-github-repositories.noarch: W: no-manual-page-for-binary gnome-shell-search-github-repositories-daemon
1 packages and 0 specfiles checked; 0 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint gnome-shell-search-github-repositories
gnome-shell-search-github-repositories.noarch: W: devel-file-in-non-devel-package /usr/bin/gnome-shell-search-github-repositories-config
gnome-shell-search-github-repositories.noarch: W: non-conffile-in-etc /etc/dbus-1/system.d/org.gnome.githubrepositories.search.conf
gnome-shell-search-github-repositories.noarch: W: no-manual-page-for-binary gnome-shell-search-github-repositories-config
gnome-shell-search-github-repositories.noarch: W: no-manual-page-for-binary gnome-shell-search-github-repositories-daemon
1 packages and 0 specfiles checked; 0 errors, 4 warnings.
# echo 'rpmlint-done:'



Requires
--------
gnome-shell-search-github-repositories (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/python
    gnome-shell
    pygobject3
    python(abi)
    python-keyring
    python-requests



Provides
--------
gnome-shell-search-github-repositories:
    gnome-shell-search-github-repositories



MD5-sum check
-------------
https://pypi.python.org/packages/source/g/gnome-shell-search-github-repositories/gnome-shell-search-github-repositories-1.0.1.tar.gz :
  CHECKSUM(SHA256) this package     : 3f9f838c10add76829b7f12f7e6860ef8ff94386349fc35e33bc448522d9ecf0
  CHECKSUM(SHA256) upstream package : 3f9f838c10add76829b7f12f7e6860ef8ff94386349fc35e33bc448522d9ecf0


Generated by fedora-review 0.2.0 (Unknown) last change: Unknown
Buildroot used: fedora-17-x86_64
Command line :./try-fedora-review -b 873813

Comment 6 Ralph Bean 2012-11-26 13:35:13 UTC
Hmm.  Can you tell me more about your setup to try and figure out why its not working?  What is your github account?  Did you try testing on Fedora 18 (it shouldn't work on Fedora 17).

On the other issue, this new release adds ownership of that %{_datadir}/gnome-shell-search-github/ directory. - http://bit.ly/Sl2shF

Spec URL: http://threebean.org/rpm/gnome-shell-search-github-repositories.spec
SRPM URL: http://threebean.org/rpm/gnome-shell-search-github-repositories-1.0.1-2.fc18.src.rpm

Comment 7 Michael S. 2012-11-26 13:51:01 UTC
I am on f18, 64 bits, running gnome-shell. My account is mscherer.

However, i just noted that I gave a wrong password, so maybe that's the issue.

Comment 8 Michael S. 2012-11-26 15:39:18 UTC
ok so just after testing, the issue is that I use the mouse to click on the button, and only with keyboard, this work. So I tested, this work fine.

if you do not forget to remove the macro at the top ( since they are defined in fedora since a long time, so that just add potential bugs in the futur, IMHO ), the package is approved. ( also, you forgot to update the spec file on your website )

Comment 9 Ralph Bean 2012-11-26 15:58:41 UTC
Cool.  Thanks :)

Just for posterity, here's one more new release that fixes the ctrl-C issue we talked about in IRC and removes those python macros.

Spec URL: http://threebean.org/rpm/gnome-shell-search-github-repositories.spec
SRPM URL: http://threebean.org/rpm/gnome-shell-search-github-repositories-1.0.2-1.fc18.src.rpm

Comment 10 Ralph Bean 2012-11-26 15:59:33 UTC
New Package SCM Request
=======================
Package Name: gnome-shell-search-github-repositories
Short Description: Search your Github Repos from the gnome-shell
Owners: ralph
Branches: f18
InitialCC:

Comment 11 Gwyn Ciesla 2012-11-26 16:34:57 UTC
Git done (by process-git-requests).

Comment 12 Michael S. 2013-01-06 13:53:03 UTC
Was pushed to F18, so it can be closed


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