Skip to content

Commit

Permalink
Correctly package with the ELv2 license (#5464)
Browse files Browse the repository at this point in the history
* Remove ELastic License, use Elastic License 2.0.

* Switch license headers to ELv2.

* Update license in new files.

* Add changelog.

* Fix changelog.

* Change licenser to use Elv2

* Fix checked license header

* Switch changelog to enhancement.
  • Loading branch information
cmacknz authored Sep 9, 2024
1 parent a11954b commit 8c43ad3
Show file tree
Hide file tree
Showing 793 changed files with 1,607 additions and 1,851 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
kind: enhancement

# Change summary; a 80ish characters long description of the change.
summary: Include the correct Elastic License 2.0 file in build artifacts and packages.

# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: "elastic-agent"

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: https://github.com/elastic/elastic-agent/pull/5464

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
#issue: https://github.com/owner/repo/1234
6 changes: 3 additions & 3 deletions dev-tools/cmd/buildfleetcfg/buildfleetcfg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dev-tools/cmd/buildpgp/build_pgp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions dev-tools/licenses/ELASTIC-LICENSE-header.txt

This file was deleted.

223 changes: 0 additions & 223 deletions dev-tools/licenses/ELASTIC-LICENSE.txt

This file was deleted.

4 changes: 2 additions & 2 deletions dev-tools/licenses/license.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.
// or more contributor license agreements. Licensed under the Elastic License 2.0;
// you may not use this file except in compliance with the Elastic License 2.0.

package licenses

Expand Down
13 changes: 3 additions & 10 deletions dev-tools/licenses/license_generate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 2 additions & 10 deletions dev-tools/licenses/license_header.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dev-tools/mage/build.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.
// or more contributor license agreements. Licensed under the Elastic License 2.0;
// you may not use this file except in compliance with the Elastic License 2.0.

package mage

Expand Down
Loading

0 comments on commit 8c43ad3

Please sign in to comment.