Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcelog/find_rebar_deps

An escript that will search an organization repositories via the GitHub API trying to locate a dependency in the rebar.config file
https://github.com/marcelog/find_rebar_deps

Last synced: about 11 hours ago
JSON representation

An escript that will search an organization repositories via the GitHub API trying to locate a dependency in the rebar.config file

Awesome Lists containing this project

README

        

# About
Will do a simple GET request using basic auth against the [GitHub API](http://developer.github.com/v3/), getting **all repositories** from the given **organization**. Then, for each one of them, will try to find a **rebar.config** file and look for the given **dependency** in it.

**NOTE**: Actually, to find the dependency, the string is searched for in the rebar.config file, so it might trigger some false alarms (this is ok, for my needs, but feel free to do some more complex "algorithm" to find your deps).

# Use
$ ./find_rebar_deps

* authuser and authpass: Used to authtenticate against the github api.
* organization: The github organization that owns the repos.
* dependency: The dependency to look for in rebar.config.