Retour au classement

licensee/licensed

Ruby

A Ruby gem to cache and verify the licenses of dependencies

license-managementdependencieslicensingopen-source-licensing
Croissance des étoiles
Étoiles
1k
Forks
136
Croissance hebdomadaire
Issues
0
5001k
oct. 25janv. 26avr. 26juil. 26
ArtefactsRubyGemsgem install licensed
README

Licensed

Licensed caches the licenses of dependencies and checks their status, and is available as a Ruby gem.

Licensed is not a complete open source license compliance solution. Please understand the important disclaimer below to make appropriate use of Licensed.

Current Status

Build status

Licensed is currently in low maintenance mode. At this point, we're only looking to maintain this repository for security fixes.

Licensed v4 - Removed support for non-Ruby environments

Licensed v4 no longer provides a self-contained executable build of licensed. Please see the deprecation notice for more context.

Licensed v3

Licensed v3 includes a breaking change if both of the following are true:

  1. a project uses bundler to manage ruby dependencies
  2. a project uses the self-contained executable build of licensed

All other usages of licensed should not encounter any major changes migrating from the latest 2.x build to 3.0.

See CHANGELOG.md for more details on what's changed. See the v3 migration documentation for more info on migrating to v3.

Licensed v2

Licensed v2 includes many internal changes intended to make licensed more extensible and easier to update in the future. While not too much has changed externally, v2 is incompatible with configuration files and cached records from previous versions. Fortunately, migrating is easy using the licensed migrate command.

See CHANGELOG.md for more details on what's changed. See the v2 migration documentation for more info on migrating to v2, or run licensed help migrate.

Installation

Dependencies

Licensed uses the libgit2 bindings for Ruby provided by rugged. rugged requires cmake and pkg-config which you may need to install before you can install Licensed.

# Ubuntu
sudo apt-get install cmake pkg-config

# macOS
brew install cmake pkg-config

With Gemfile

Add this line to your application's Gemfile:

gem 'licensed', :group => 'development'

And then execute:

$> bundle

With Homebrew (on macOS)

brew install licensed

Usage

See getting started for guidance using Licensed as part of your developer workflow.

Available commands

See the commands documentation for documentation on available commands, or run licensed -h to see all of the current available commands.

Configuration options

A configuration file is required for most commands. See the configuration file documentation for more details on the configuration format and available configuration options.

Available dependency sources

Licensed can enumerate dependency for many languages, package managers, and frameworks. See the sources documentation for the list of currently available sources. Sources can be explicitly enabled and disabled as a configuration option.

Development

To get started after checking out the repo, run

  1. script/bootstrap to install dependencies
  2. script/setup to setup test fixtures.
  • script/setup -f will force a clean test fixture environment
  1. script/cibuild to run the tests

You can also run script/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, create a GitHub release from the matching vX.Y.Z tag.

Adding a new source

See the documentation on adding new sources for detailed information on what's required to add a new dependency source enumerator.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/github/licensed. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct. See CONTRIBUTING for more details.

Disclaimer

Licensed is not a complete open source license compliance solution. Like any bug, licensing issues are far cheaper to fix if found early. Licensed is intended to provide automation around documenting the licenses of dependencies and whether they are configured to be allowed by a user of licensed, in other words, to surface the most obvious licensing issues early.

Licensed is not a substitute for human review of each dependency for licensing or any other issues. It is not the goal of Licensed or GitHub, Inc. to provide legal advice about licensing or any other issues. If you have any questions regarding licensing compliance for your code or any other legal issues relating to it, it’s up to you to do further research or consult with a professional.

License

The gem is available as open source under the terms of the MIT License.

Dépôts similaires
grokability/snipe-it

A free open source IT asset/license management system

PHPPackagistGNU Affero General Public License v3.0assets-managementasset-manager
snipeitapp.com
14.1k3.9k
snipe/snipe-it

A free open source IT asset/license management system

PHPPackagistGNU Affero General Public License v3.0assets-managementasset-manager
snipeitapp.com
11.8k3.3k
glpi-project/glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.

PHPPackagistGNU General Public License v3.0inventoryglpi
glpi-project.org
6.2k1.7k
mono0926/LicensePlist

A license list generator of all your dependencies for iOS applications

SwiftMIT Licenselicenselicense-management
slideshare.net/mono0926/licenseplist-a-license-list-generator-of-all-your-dependencies-for-ios-applications
2.5k156
oss-review-toolkit/ort

A suite of tools to automate software compliance checks.

KotlinApache License 2.0package-managerdependencies
oss-review-toolkit.org
2.1k387
dephell/dephell

:package: :fire: Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.

PythonPyPIMIT Licensedependenciesproject-management
dephell.org
1.8k115
open-license-manager/licensecc

Software licensing, copy protection in C++. It has few dependencies and it's cross-platform.

C++BSD 3-Clause "New" or "Revised" Licenselicensingsoftware-protection
open-license-manager.github.io/licensecc/
1.2k365
distr-sh/distr

The Open Source control plane for self-hosted, BYOC, and on-prem deployments. Everything you need to distribute applications to self-hosted customers out of the box. Supporting Docker Compose, Docker Swarm and Helm based applications.

GoGo ModulesApache License 2.0angularcloud
distr.sh/docs/
1.2k47
fossology/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.

HTMLGNU General Public License v2.0fossologyspdx
fossology.github.io
1k625
google/go-licenses

A lightweight tool to report on the licenses used by a Go package and its dependencies. Highlight! Versioned external URL to licenses can be found at the same time.

GoGo ModulesApache License 2.0licenselicense-management
1k136
github/licensed

A Ruby gem to cache and verify the licenses of dependencies

RubyRubyGemslicense-managementdependencies
983122