All Projects → frapposelli → Wwhrd

frapposelli / Wwhrd

Licence: mit
You have licenses to manage, What Would Henry Rollins Do?

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Wwhrd

licentia
Manage the open source licenses of your projects
Stars: ✭ 37 (-61.86%)
Mutual labels:  license-management
Legit
Add licenses to projects at the command line
Stars: ✭ 515 (+430.93%)
Mutual labels:  license-management
Nuget License
.NET Core tool to print or save all the licenses of a project
Stars: ✭ 58 (-40.21%)
Mutual labels:  license-management
php-legal-licenses
A utility to help generate a file containing information about dependencies including the full license text.
Stars: ✭ 62 (-36.08%)
Mutual labels:  license-management
Fossology
FOSSology is an open source license compliance software system and toolkit. As a toolkit you can run license, copyright and export control scans from the command line. As a system, a database and web ui are provided to give you a compliance workflow. License, copyright and export scanners are tools used in the workflow.
Stars: ✭ 440 (+353.61%)
Mutual labels:  license-management
Snipe It
A free open source IT asset/license management system
Stars: ✭ 5,606 (+5679.38%)
Mutual labels:  license-management
license.sh
License checker tool - We're in a beta phase, any help is appreciated, especially reporting issues
Stars: ✭ 38 (-60.82%)
Mutual labels:  license-management
Lc
licensechecker (lc) a command line application which scans directories and identifies what software license things are under producing reports as either SPDX, CSV, JSON, XLSX or CLI Tabular output. Dual-licensed under MIT or the UNLICENSE.
Stars: ✭ 93 (-4.12%)
Mutual labels:  license-management
Ort
A suite of tools to assist with reviewing Open Source Software dependencies.
Stars: ✭ 446 (+359.79%)
Mutual labels:  license-management
Dotnet Delice
📑 A CLI to help you get insight into your projects' licenses
Stars: ✭ 36 (-62.89%)
Mutual labels:  license-management
unity-activate
A tool to activate Unity license.
Stars: ✭ 29 (-70.1%)
Mutual labels:  license-management
Licensecc
Software licensing, copy protection in C++. It has few dependencies and it's cross-platform.
Stars: ✭ 363 (+274.23%)
Mutual labels:  license-management
Licensed
A Ruby gem to cache and verify the licenses of dependencies
Stars: ✭ 690 (+611.34%)
Mutual labels:  license-management
awesome-open-source-licensing
Cool links, tools & papers related to Open Source Licensing
Stars: ✭ 17 (-82.47%)
Mutual labels:  license-management
Scancode Toolkit
🔎 ScanCode detects licenses, copyrights, package manifests & dependencies and more by scanning code ... to discover and inventory open source and third-party packages used in your code.
Stars: ✭ 1,134 (+1069.07%)
Mutual labels:  license-management
vlsi-release-plugins
A set of plugins to simplify Gradle release tasks
Stars: ✭ 30 (-69.07%)
Mutual labels:  license-management
F License
Open Source License Key Generation and Verification Tool written in Go
Stars: ✭ 535 (+451.55%)
Mutual labels:  license-management
Truelicense
TrueLicense is an open source engine for license management on the JVM.
Stars: ✭ 94 (-3.09%)
Mutual labels:  license-management
Tools
SPDX Tools
Stars: ✭ 79 (-18.56%)
Mutual labels:  license-management
Lickey
software license management system
Stars: ✭ 706 (+627.84%)
Mutual labels:  license-management

WWHRD? (What Would Henry Rollins Do?) Github Actions codecov

WWHRD?

Have Henry Rollins check vendored licenses in your Go project.

Please note that wwhrd only checks packages stored under vendor/, if you are using Go modules (go mod), you can add go mod vendor before running wwhrd, this will dump a copy of the vendored packages inside the local repo.

Installation

go get -u github.com/frapposelli/wwhrd

Using Brew on macOS:

brew install frapposelli/tap/wwhrd

Configuration file

Configuration for wwhrd is stored in .wwhrd.yml at the root of the repo you want to check.

The format is compatible with Anderson, just run wwhrd check -f .anderson.yml.

---
denylist:
  - GPL-2.0

allowlist:
  - Apache-2.0
  - MIT

exceptions:
  - github.com/jessevdk/go-flags
  - github.com/pmezard/go-difflib/difflib

Having a license in the blacklist section will fail the check, unless the package is listed under exceptions.

exceptions can also be listed as wildcards:

exceptions:
  - github.com/davecgh/go-spew/spew/...

Will make a blanket exception for all the packages under github.com/davecgh/go-spew/spew.

Use it in your CI!

$ wwhrd check
INFO[0006] Found Approved license                        license=Apache-2.0 package="github.com/xanzy/ssh-agent"
INFO[0006] Found Approved license                        license=BSD-3-Clause package="golang.org/x/crypto/ed25519"
INFO[0006] Found Approved license                        license=Apache-2.0 package="gopkg.in/src-d/go-git.v4/internal/revision"
INFO[0006] Found Approved license                        license=Apache-2.0 package="gopkg.in/src-d/go-git.v4/plumbing/format/config"
INFO[0006] Found Approved license                        license=BSD-3-Clause package="golang.org/x/exp/rand"
INFO[0006] Found Approved license                        license=BSD-3-Clause package="gonum.org/v1/gonum/internal/cmplx64"
INFO[0006] Found Approved license                        license=Apache-2.0 package="gopkg.in/src-d/go-git.v4/plumbing/cache"
INFO[0006] Found Approved license                        license=MIT package="github.com/montanaflynn/stats"
INFO[0006] Found Approved license                        license=MIT package="github.com/ekzhu/minhash-lsh"
FATA[0006] Exiting: Non-Approved license found
$ echo $?
1

Generate a dependency graph

Starting from version v0.3.0, wwhrd graph can be used to generate a graph in DOT language, the graph can then be parsed by Graphviz or other compatible tools.

To generate a PNG of the dependencies of your repository, you can run:

$ wwhrd graph -o - | dot -Tpng > wwhrd-graph.png

The -o - option will print the DOT output to STDOUT.

Usage

$ wwhrd
Usage:
  wwhrd [OPTIONS] <check | graph | list>

What would Henry Rollins do?

Application Options:
  -v, --version  Show CLI version
  -q, --quiet    quiet mode, do not log accepted packages
  -d, --debug    verbose mode, log everything

Help Options:
  -h, --help     Show this help message

Available commands:
  check  Check licenses against config file (aliases: chk)
  graph  Generate dot graph dependency tree (aliases: dot)
  list   List licenses (aliases: ls)

Acknowledgments

WWHRD? graphic by Mitch Clem, used with permission, support him!.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].