Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Show the dependencies of your private repos
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
.gitmodules
.travis.yml
Gemfile
Gemfile.lock
Rakefile
Readme.md
repo_dependency_graph.gemspec

Readme.md

Show the dependencies of your repos

Install

gem install repo_dependency_graph

Usage

Install graphviz

    --token TOKEN                Use token
    --user USER                  Use user
    --organization ORGANIZATION  Use user
    --private                    Only show private repos
    --external                   Also include external projects in graph (can get super-messy)
    --map SEARCH=REPLACE         Replace in project name to find them as internal: 'foo=bar' -> replace foo in repo names to bar
    --chef                       Parse chef metadata.rb files
    --select REGEX               Only include repos with matching names
    --reject REGEX               Exclude repos with matching names
-h, --help                       Show this.
-v, --version                    Show Version

Public user

repo-dependency-graph --user repo-test-user
repo_a: repo_b, repo_c
repo_b: repo_d
repo_d: repo_c
repo_c: repo_b
repo_e: repo_a, repo_b, repo_c, repo_d
repo_f: repo_c, repo_d

Simple Travis

Private organization

# create a token that has access to your repositories
curl -v -u your-user-name -X POST https://api.github.com/authorizations --data '{"scopes":["repo"]}'
enter your password -> TOKEN

git config --global github.token ttttoookkkeeeennn

OR

repo-dependency-graph --organization xyz --token ttttoookkkeeeennn

Author

Michael Grosser
michael@grosser.it
License: MIT
Build Status

Something went wrong with that request. Please try again.