Skip to content

feat(license): scan vendor directory for license for go.mod files #8527

Closed
@DmitriyLewen

Description

@DmitriyLewen

Description

There are cases when users use only vendor dir (go mod vendor) command.

For these cases we can't detect licenses from $GOPATH/pkg/mod dir.

New logic

graph TD
    A[Detect licenses for go.mod files] --> B{vendor direxists?}
    B -- yes --> C[use vendor dir to find licenses]
    B -- no --> D[use $GOPATH/pkg/mod]
Loading

Discussed in #8517

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.scan/licenseIssues relating to license scanning

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions