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
Helpful website: http://www.terdmonk.com/trac+post-commit-hooks+with+git
Created attachment 179686 [details] Proposed ebuild
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.
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.
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 ?