Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 256308

Summary: [new ebuild] dev-util/commithooks
Product: Gentoo Linux Reporter: Dennis Schridde <devurandom>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement Keywords: EBUILD, InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://software.complete.org/software/projects/show/commithooks
Whiteboard: sunrise suggested
Package list:
Runtime testing required: ---
Attachments: Proposed ebuild
Improved ebuild

Description Dennis Schridde 2009-01-25 13:49:43 UTC
It would be nice to have an ebuild for dev-util/commithooks.

"""This is a collection of scripts to process commit actions from different version control systems (VCS) and inject the results into different bug-tracking systems (BTS), sometimes closing bugs as a result."""

I will probably attach an own ebuild later, so do not close this bugreport too quickly with WONTFIX...

Reproducible: Always
Comment 1 Dennis Schridde 2009-01-25 13:50:45 UTC
Helpful website: http://www.terdmonk.com/trac+post-commit-hooks+with+git
Comment 2 Dennis Schridde 2009-01-25 15:28:02 UTC
Created attachment 179686 [details]
Proposed ebuild
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-25 17:54:37 UTC
Instead of:

-e "s/^BASE=.*$/BASE=\/usr\/share\/${PN}\/vcs-hooks/" \

you can use:

-e "s,^BASE=.*$,BASE=/usr/share/${PN}/vcs-hooks," \

Note different separator (, instead of /) -- that makes it more readable.
Comment 4 Dennis Schridde 2009-02-02 07:37:16 UTC
Created attachment 180662 [details]
Improved ebuild

Implemented your change and made sure to download the 0.5.0 version. (Untagged, thus fetching the last commit belonging to that version.)
For an -9999 ebuild just remove the EGIT_TREE="..." line.
Comment 5 Nado 2016-10-30 15:24:48 UTC
Moved to https://github.com/jgoerzen/commithooks and officially unmaintained, no fork on GH, I haven’t looked anywhere else since last commit is already 6y old.
Is it worthy making an ebuild for an unmaintained app ?