Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grosser/repo_dependency_graph
Graph the dependencies of your repositories
https://github.com/grosser/repo_dependency_graph
chef dependencies gem gems ruby
Last synced: about 1 month ago
JSON representation
Graph the dependencies of your repositories
- Host: GitHub
- URL: https://github.com/grosser/repo_dependency_graph
- Owner: grosser
- Created: 2013-08-09T14:35:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T20:27:19.000Z (about 6 years ago)
- Last Synced: 2025-01-10T04:23:46.230Z (about 1 month ago)
- Topics: chef, dependencies, gem, gems, ruby
- Language: Ruby
- Homepage:
- Size: 147 KB
- Stars: 17
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Graph the dependency of your repositories
Install
=======```Bash
gem install repo_dependency_graph
```Usage
=====
Install [graphviz](http://www.graphviz.org/Download_macos.php)--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
```Bash
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
```
### Private organization
```Bash
# 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 -> TOKENgit config --global github.token ttttoookkkeeeennn
OR
repo-dependency-graph --organization xyz --token ttttoookkkeeeennn
```Author
======
[Michael Grosser](http://grosser.it)
[email protected]
License: MIT
[](https://travis-ci.org/grosser/repo_dependency_graph)