0.0
The project is in a healthy, maintained state
Gurney is a small tool to extract yarn and RubyGems dependencies from project files and report them to a web api.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Runtime

~> 0.8
~> 1.5
~> 0.17.1
 Project Readme

Gurney

Gurney is a small tool to extract dependencies from project files and report them to a web api. It can either run locally or as a git post-receive hook in gitlab.

When run as a git hook, the project gets cloned on the git server and gurney then looks for a gurney.yml within the project files. If its present gurney looks at the pushed branches and analyses the ones specified in the config for dependencies. It then reports them to the web api also specified in the config.

Usage:

Usage: gurney [options]
        --api-url [API URL]
                                     Url for web api call, can have parameters for <project_id> and <branch>
                                     example: --api-url "http://example.com/project/<project_id>/branch/<branch>"
        --api-token [API TOKEN]
                                     Token to be send to the api in the X-AuthToken header
    -c, --config [CONFIG FILE]       Config file to use
    -h, --hook                       Run as a git post-receive hook
        --client-hook
                                     Run as a git pre-push hook
    -p, --project-id [PROJECT ID]    Specify project id for api
        --help
                                     Prints this help

Sample Config:

project_id: 1
branches:
  - master
  - production
api_url: http://example.com/dep_reporter/project/<project_id>/branch/<branch>
api_token: 1234567890
Running as a global git hook

To run as a global git hook in your gitlab see https://docs.gitlab.com/ee/administration/custom_hooks.html#set-a-global-git-hook-for-all-repositories