Skip to content

Commit

Permalink
CHEF-2627 Clarify License Description on Rubygems (inspec#6630)
Browse files Browse the repository at this point in the history
* Add a pair of files describing the relationship between the Chef EULA and the Apache 2.0 license, intended to be referenced from rubygems.org

Signed-off-by: Clinton Wolfe <[email protected]>

* Add message to rubygems.org description of all 4 gems describing relationship between the two licenses

Signed-off-by: Clinton Wolfe <[email protected]>

* Insert the full text of the Apache 2.0 license into the gem description on the advice of Legal

Signed-off-by: Clinton Wolfe <[email protected]>

* Update README with message clarifying relationship between the two licenses

Signed-off-by: Clinton Wolfe <[email protected]>

* Removes the full text of the Apache 2 license, which after clarification is not
in fact required to be in the rubygems description.

This reverts commit 4d02573.

* LINTING - adjust text markers

Signed-off-by: Clinton Wolfe <[email protected]>

* LINTING - training whitespace

Signed-off-by: Clinton Wolfe <[email protected]>

* Remove the word 'below' when refering to the inclusion of the Apache 2.0 license

Signed-off-by: Clinton Wolfe <[email protected]>

* Add Chef-EULA to list of included files to inspec-core

Signed-off-by: Clinton Wolfe <[email protected]>

---------

Signed-off-by: Clinton Wolfe <[email protected]>
  • Loading branch information
clintoncwolfe authored Oct 11, 2023
1 parent 4f1b83e commit 968f3b2
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 11 deletions.
9 changes: 9 additions & 0 deletions Chef-EULA
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Packaged distributions of Progress® Chef® products obtained from RubyGems
are made available pursuant to the Progress Chef EULA at
https://www.chef.io/end-user-license-agreement, unless there is an executed
agreement in effect between you and Progress that covers the Progress Chef
products ("Master Agreement"), in which case the Master Agreement shall govern.

Source code obtained from the Chef GitHub repository is made available
under Apache-2.0, a copy of which can be found in
http://www.apache.org/licenses/LICENSE-2.0
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,9 @@ KITCHEN_YAML=kitchen.dokken.yml bundle exec kitchen test -c 3
| **License:** | Apache License, Version 2.0 |
| **License:** | Chef End User License Agreement |

Chef InSpec is distributed under the Apache License, Version 2.0.
Permission to use the software is governed by the [Chef EULA](https://docs.chef.io/chef_license_accept.html).
Packaged distributions of Progress® Chef® products obtained from any authorised Progress Chef distribution source are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.

Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included below.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
9 changes: 9 additions & 0 deletions inspec-bin/Chef-EULA
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Packaged distributions of Progress® Chef® products obtained from RubyGems
are made available pursuant to the Progress Chef EULA at
https://www.chef.io/end-user-license-agreement, unless there is an executed
agreement in effect between you and Progress that covers the Progress Chef
products ("Master Agreement"), in which case the Master Agreement shall govern.

Source code obtained from the Chef GitHub repository is made available
under Apache-2.0, a copy of which can be found in
http://www.apache.org/licenses/LICENSE-2.0
12 changes: 10 additions & 2 deletions inspec-bin/inspec-bin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ Gem::Specification.new do |spec|
spec.authors = ["Chef InSpec Core Engineering "]
spec.email = ["[email protected]"]
spec.summary = "Infrastructure and compliance testing."
spec.description = "InSpec executable for inspec gem. Use of this executable may require accepting a license agreement."
spec.description = <<-EOT
InSpec executable for inspec gem. Use of this executable may require accepting a license agreement."
Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
EOT

spec.homepage = "https://github.com/inspec/inspec/tree/main/inspec-bin"
spec.license = "Apache-2.0"
spec.license = "LicenseRef-Chef-EULA"

spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.4"
Expand Down
12 changes: 10 additions & 2 deletions inspec-bin/inspec-core-bin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@ Gem::Specification.new do |spec|
spec.authors = ["Chef InSpec Core Engineering "]
spec.email = ["[email protected]"]
spec.summary = "Infrastructure and compliance testing."
spec.description = "InSpec executable for inspec-core gem. Use of this executable may require accepting a license agreement."
spec.description = <<-EOT
InSpec executable for inspec-core gem. Use of this executable may require accepting a license agreement.
Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
EOT

spec.homepage = "https://github.com/inspec/inspec/tree/main/inspec-bin"
spec.license = "Apache-2.0"
spec.license = "LicenseRef-Chef-EULA"

spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.4"
Expand Down
14 changes: 11 additions & 3 deletions inspec-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,24 @@ Gem::Specification.new do |spec|
spec.authors = ["Chef InSpec Team"]
spec.email = ["[email protected]"]
spec.summary = "Infrastructure and compliance testing. Core library."
spec.description = "InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification. This has local support only. See the `inspec` gem for full support."
spec.description = <<-EOT
InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
This has local support only. See the `inspec` gem for full support.
Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
EOT
spec.homepage = "https://github.com/inspec/inspec"
spec.license = "Apache-2.0"
spec.license = "LicenseRef-Chef-EULA"
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7"

# the gemfile and gemspec are necessary for appbundler so don't remove it
spec.files =
Dir.glob("{{lib,etc}/**/*,LICENSE,Gemfile,inspec-core.gemspec}")
Dir.glob("{{lib,etc}/**/*,LICENSE,Chef-EULA,Gemfile,inspec-core.gemspec}")
.grep_v(%r{(?<!inspec-init/templates/profiles/)(aws|azure|gcp|alicloud)})
.grep_v(%r{lib/plugins/.*/test/})
.reject { |f| File.directory?(f) }
Expand Down
12 changes: 10 additions & 2 deletions inspec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ Gem::Specification.new do |spec|
spec.authors = ["Chef InSpec Team"]
spec.email = ["[email protected]"]
spec.summary = "Infrastructure and compliance testing."
spec.description = "InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification."
spec.description = <<-EOT
InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
EOT

spec.homepage = "https://github.com/inspec/inspec"
spec.license = "Apache-2.0"
spec.license = "LicenseRef-Chef-EULA"
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7"
Expand Down

0 comments on commit 968f3b2

Please sign in to comment.