Bug 484598

Summary: Review Request: grin - Grep-like tool for source code
Product: [Fedora] Fedora Reporter: Terje Røsten <terje.rosten>
Component: Package ReviewAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, notting, pahan
Target Milestone: ---Flags: mmaslano: fedora-review+
j: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: grin-1.1.1-3.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-03 22:03:10 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: 484597    
Bug Blocks:    

Description Terje Røsten 2009-02-08 21:12:43 UTC
spec: http://terjeros.fedorapeople.org/grin/grin.spec
srpm: http://terjeros.fedorapeople.org/grin/grin-1.1.1-1.fc10.src.rpm
koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=1113774

Description:

grin is a similar in function to GNU grep, however it's has modified
behaviour to make it simpler to use when grepping source code.

Some features grin feature are:

  * recurse directories by default
  * do not go into directories with specified names
  * do not search files with specified extensions
  * be able to show context lines before and after matched lines
  * Python regex syntax
  * unless suppressed via a command line option, display the filename 
    regardless of the number of files
  * accept a file (or stdin) with a list of newline-separated filenames
  * grep through gzipped text files
  * be useful as a library to build custom tools quickly

Comment 1 Marcela Mašláňová 2009-02-18 15:00:21 UTC
OK source files match upstream 9dca5a5876938adfd9dfc20869818660
OK package meets naming and versioning guidelines.
OK specfile is properly named, is cleanly written and uses macros consistently.
OK dist tag is present.
OK build root is correct.
OK license field matches the actual license.
OK BSD license is open source-compatible. License text not included upstream.
OK latest version is being packaged.
OK BuildRequires are proper.
OK %clean is present.
OK package builds in mock (Rawhide/x86_64).
OK debuginfo package isn't need.
FAIL rpmlint is silent.
OK final provides and requires look sane.
OK no shared libraries are added to the regular linker search paths.
OK owns the directories it creates.
OK no duplicates in %files.
OK file permissions are appropriate.
OK no scriptlets present.
OK code, not content.
OK documentation is small, so no -docs subpackage is necessary.
OK %docs are not necessary for the proper functioning of the package.
OK no headers.
OK no pkgconfig files.
OK no libtool .la droppings.

I run also test, which failed probably because I don't have nose installed?
grin.noarch: W: no-documentation
grin.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/grin.py 0644

Comment 2 Terje Røsten 2009-02-21 15:55:14 UTC
- add docs
- rpmlint clean
- add %%check section

spec: http://terjeros.fedorapeople.org/grin/grin.spec
srpm: http://terjeros.fedorapeople.org/grin/grin-1.1.1-2.fc10.src.rpm
koji: n/a (koji server down this weekend)

Comment 3 Marcela Mašláňová 2009-02-26 07:46:10 UTC
http://koji.fedoraproject.org/koji/taskinfo?taskID=1185653

ACCEPT

Comment 4 Terje Røsten 2009-02-26 17:52:32 UTC
Thanks Marcela!

New Package CVS Request
=======================
Package Name: grin
Short Description: Grep-like tool for source code
Owners: terjeros
Branches: F-9 F-10
InitialCC:

Comment 5 Kevin Fenzi 2009-02-27 00:21:32 UTC
cvs done.

Comment 6 Terje Røsten 2009-03-03 22:03:10 UTC
Imported, built and pushed to bodhi.

Comment 7 Pavel Alexeev 2010-05-07 09:18:13 UTC
Please, can you maintain it for EPEL5 too? If it not so hard...

Comment 8 Terje Røsten 2010-06-09 18:02:53 UTC
Sorry for the late reply. At the moment I don't maintain any package for EPEL, sorry.

Comment 9 Pavel Alexeev 2010-06-10 08:46:29 UTC
I built it on El5 and El6 it seams no problem there. If you do not argue, I can co-maintain it for epel.

Comment 10 Terje Røsten 2010-06-10 09:51:59 UTC
Great, thanks!

Comment 11 Pavel Alexeev 2010-06-10 21:12:05 UTC
Package Change Request
======================
Package Name: grin
New Branches: EL-4 EL-5
Owners: hubbitus

Comment 12 Kevin Fenzi 2010-06-11 04:45:15 UTC
cvs done. 

Would you also like a EL-6 branch?

Comment 13 Pavel Alexeev 2010-06-11 09:30:48 UTC
Sorry, it is my error. Instead EL-4 should be EL-6!
I do not think it is possible (at least is not so easy) import for EL-4 because some python dependencies like python-argparse.

Comment 14 Pavel Alexeev 2010-06-15 12:58:36 UTC
Package Change Request
======================
Package Name: grin
New Branches: EL-6
Delete Branches: EL-4
Owners: hubbitus

If delete branch is impossible, just ignore it, and I ignore it also. Again sorry for the mistake.

Comment 15 Jason Tibbitts 2010-06-18 16:15:00 UTC
We cannot delete branches.  I have created the EL-6 branch.

Comment 16 Pavel Alexeev 2010-06-18 21:22:05 UTC
Thank you. And sorry for the error.
Updates follow.

Comment 17 Fedora Update System 2010-06-18 21:22:53 UTC
grin-1.1.1-3.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/grin-1.1.1-3.el5

Comment 18 Pavel Alexeev 2010-06-18 21:25:37 UTC
Strange, on El6 build successfull, but update was not pushed with erorr:
Creating a new update for  grin-1.1.1-3.el6 
hubbitus does not have commit access to grin

Comment 19 Fedora Update System 2010-07-09 05:57:19 UTC
grin-1.1.1-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.