license

command
v0.0.0-...-398e186 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2023 License: BSD-3-Clause, Apache-2.0 Imports: 10 Imported by: 0

README

Istio License Generation Guide

Usage

Note: This tool requires https://github.com/benbalter/licensee for --summary and --match_detail to work.

Generate complete dump of every license, suitable for including in release build/binary image:
  go run get_dep_licenses.go
CSV format output with one package per line:
  go run get_dep_licenses.go --summary
Detailed info about how closely each license matches official text:
  go run get_dep_licenses.go --match-detail
Use a different branch from the current one. Will do git checkout to that branch and back to the current on completion. This can only be used from inside Istio repo:
  go run get_dep_licenses.go --branch release-0.8

Documentation

Overview

Binary get_dep_licenses outputs aggrerate license information for all transitive Istio dependencies. This tool requires https://github.com/benbalter/licensee to work. Usage:

  1. Generate complete dump of every license, suitable for including in release build/binary image: go run get_dep_licenses.go --branch release-0.8
  2. CSV format output with one package per line: go run get_dep_licenses.go --summary --branch release-0.8
  3. Detailed info about how closely each license matches official text: go run get_dep_licenses.go --match-detail --branch release-0.8
  4. Use a different branch from the current one. Will do git checkout to that branch and back to the current on completion. This can only be used from inside Istio repo: go run get_dep_licenses.go --branch release-0.8 --checkout

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL