notice-file-generator

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT

README

notice-file-generator

Notice file generator Mattermost tool to automatically generate NOTICE file for Go, Node and Python projects.

Get Involved

Developing

Environment Setup

Essentials:

  1. Install Go
  2. Configure Github Personal Access Token

Optionals:

  1. Configure config.yaml. Documentation is here.
Running

Execute go run with command line parameters:

go run ./... -c <CONFIG_FILE> -p <PATH_TO_PROJECT> -t <GITHUB_TOKEN>

Arguments:

Name Argument Description
Configuration File -c <path_to_config_file> Full path of the configuration file.
Project Path (optional) -p <project_path> Full path of the project's root directory. Current path will be used if not provided
Github Token (optional) -t <github_pat_token> Dependency licences will be fetched from Github, token needed to remove API rate limits.
Testing

Running all tests:

make test

License

See LICENSE.txt for license rights and limitations.

Release

Create a tag for desired version, pipelines will create and publish the release.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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