Coder Social home page Coder Social logo

repo_dependency_graph's Introduction

Graph the dependency of your repositories

Install

gem install repo_dependency_graph

Usage

Install graphviz

    --token TOKEN                Use token
    --user USER                  Use user
    --draw TYPE                  png, html, table (default: png)
    --organization ORGANIZATION  Use organization
    --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
    --only TYPE                  Only this type (chef,gem), default: all
    --max-pages PAGES
    --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
[email protected]
License: MIT
Build Status

repo_dependency_graph's People

Contributors

grosser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

repo_dependency_graph's Issues

Question

Installed graphviz, ruby-graphviz, pulled token, ran from project directory, get a 1px empty PNG for output. Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.