-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for recursive dep graph #137
base: master
Are you sure you want to change the base?
Conversation
@rajudev can you review, or assign it to the maintainer for the review. For some reason Github don't show me that option anymore. |
Hi @anthonyfok, |
fmt.Printf("Fetching dependencies of %s | It may take a while.\n\n", aurora.Bold(aurora.BrightBlue(importpath))) | ||
|
||
// List | Graph | Tree | ||
m, err := gocheckdeb.GetDep(importpath, "imports", formatType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of using many third-party libraries. Especially this library has some overlap functions with dh-make-golang.
@@ -12,6 +12,8 @@ import ( | |||
"sort" | |||
"strings" | |||
|
|||
"github.com/logrusorgru/aurora" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this library is not packaged in debian too. it's not so important to have colorful output...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update: golang-github-logrusorgru-aurora-dev
entered Debian on 2020-07-10
@@ -12,6 +12,8 @@ import ( | |||
"sort" | |||
"strings" | |||
|
|||
"github.com/logrusorgru/aurora" | |||
"github.com/ramantehlan/GoCheckDeb/pkg/gocheckdeb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we need to get github.com/ramantehlan/GoCheckDeb packaged for Debian first. 🤔
f0abee6
to
989837a
Compare
This PR is to address Issue #89 and to add support to check recursively if the project and test dependencies are packaged for Debian or not.
-r
sub-flag to currentestimate
flag, which will be separate from plain estimate command.-format
sub-flag, to supports three output formats ("Graph", "Map", "List")Usage
I have also created a standalone tool for it, which you can check out here.