From efae7d1bcf94dcd1f14453712d0088cd885225c5 Mon Sep 17 00:00:00 2001
From: GitHub Actions Bot
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 8 Nov 2024 14:39:04 +0000
Subject: [PATCH 01/10] ReleaseNotes for v0.18.0-rc.1
---
docs/releasenotes/v0.18.0-rc.1.md | 47 +++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 docs/releasenotes/v0.18.0-rc.1.md
diff --git a/docs/releasenotes/v0.18.0-rc.1.md b/docs/releasenotes/v0.18.0-rc.1.md
new file mode 100644
index 0000000000..9ddb354444
--- /dev/null
+++ b/docs/releasenotes/v0.18.0-rc.1.md
@@ -0,0 +1,47 @@
+# Release v0.18.0-rc.1
+
+- change short text for help topic (#1058)
+- bug: allow http protocol for oci access (#1060)
+- bug: fix unmarshal consumer identity with empty value (#1057)
+- fix artifact set tagging (#1033)
+- component constructor with references field (#1054)
+- priority for CLI registration options (#1045)
+- chore: update 'flake.nix' (#1049)
+- add action doc (#1032)
+- chore: update 'flake.nix' (#1040)
+- chore: update 'flake.nix' (#1039)
+- fix downloader handling (#1031)
+- Adjust README with rotated GPG key (#1025)
+
+## 🐛 Bug Fixes
+
+- fix: set tlskyber=0 (#1047)
+- fix: remove ocm release key if present (#1024)
+- chore: release fallout corrections (#1023)
+
+## 🧰 Maintenance
+
+
+8 changes
+
+- chore: force bump to 0.18.0-dev (#1061)
+- chore: reuse aggregation from ctf during component build (#1044)
+- chore: disable runner cache for release note drafter (#1051)
+- chore: enhance the publishing to other repositories then github (#1028)
+- chore: migrate all component builds: ca => ctf (#1043)
+- chore(ci): various optimizations for build processing, caching and concurrency (#996)
+- fix: remove ocm release key if present (#1024)
+- chore: release fallout corrections (#1023)
+
+
+## ⬆️ Dependencies
+
+
+4 changes
+
+- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in the go\_modules group (#1048)
+- chore(deps): bump github.com/containerd/errdefs from 0.3.0 to 1.0.0 (#1037)
+- chore(deps): bump the ci group with 2 updates (#1038)
+- chore(deps): bump the go group with 8 updates (#1036)
+
+
From 0117891483f83e6b678af6c4b9dc2c1b547d94e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakob=20M=C3=B6ller?=
Date: Tue, 12 Nov 2024 18:12:25 +0100
Subject: [PATCH 02/10] [release-v0.18.0] fix: version info for OCI refs
(#1080)
#### What this PR does / why we need it
Cherry Pick from
https://github.com/open-component-model/ocm/commit/a1890c261fc2a5ffb58ee1590662b04a752fa9a0
#### Which issue(s) this PR fixes
---------
Co-authored-by: Uwe Krueger
---
api/oci/ociutils/ref.go | 22 +++++-
api/oci/ociutils/ref_test.go | 70 +++++++++++++++++++
api/oci/ociutils/suite_test.go | 13 ++++
api/oci/ref.go | 10 ---
api/oci/testhelper/manifests.go | 8 +--
.../relativeociref/method_test.go | 2 +-
docs/releasenotes/v0.18.0-rc.2.md | 48 +++++++++++++
.../lib/tour/01-getting-started/README.md | 14 ++--
8 files changed, 164 insertions(+), 23 deletions(-)
create mode 100644 api/oci/ociutils/ref_test.go
create mode 100644 api/oci/ociutils/suite_test.go
create mode 100644 docs/releasenotes/v0.18.0-rc.2.md
diff --git a/api/oci/ociutils/ref.go b/api/oci/ociutils/ref.go
index 50f7675264..a27a83d3c7 100644
--- a/api/oci/ociutils/ref.go
+++ b/api/oci/ociutils/ref.go
@@ -31,6 +31,9 @@ func ParseVersion(vers string) (*ArtVersion, error) {
Digest: &dig,
}, nil
}
+ if vers == "" {
+ return &ArtVersion{}, nil
+ }
return &ArtVersion{
Tag: &vers,
}, nil
@@ -50,7 +53,7 @@ type ArtVersion struct {
}
func (v *ArtVersion) VersionSpec() string {
- if v != nil {
+ if v == nil {
return ""
}
@@ -95,3 +98,20 @@ func (v *ArtVersion) GetTag() string {
}
return ""
}
+
+func (v *ArtVersion) GetDigest() digest.Digest {
+ if v != nil && v.Digest != nil {
+ return *v.Digest
+ }
+ return ""
+}
+
+func (r *ArtVersion) Version() string {
+ if r.Digest != nil {
+ return "@" + string(*r.Digest)
+ }
+ if r.Tag != nil {
+ return *r.Tag
+ }
+ return "latest"
+}
diff --git a/api/oci/ociutils/ref_test.go b/api/oci/ociutils/ref_test.go
new file mode 100644
index 0000000000..1e5075447a
--- /dev/null
+++ b/api/oci/ociutils/ref_test.go
@@ -0,0 +1,70 @@
+package ociutils_test
+
+import (
+ . "github.com/mandelsoft/goutils/testutils"
+ . "github.com/onsi/ginkgo/v2"
+ . "github.com/onsi/gomega"
+ "github.com/opencontainers/go-digest"
+ "ocm.software/ocm/api/oci/ociutils"
+ "ocm.software/ocm/api/oci/testhelper"
+)
+
+var _ = Describe("Ref Test Environment", func() {
+ dig := "sha256:" + testhelper.H_OCIARCHMANIFEST1
+
+ type expect struct {
+ yaml string
+ versionSpec string
+ isVersion bool
+ version string
+ isTag bool
+ tag string
+ isDigested bool
+ digest string
+ }
+
+ DescribeTable("parsing", func(src string, e expect) {
+ v := Must(ociutils.ParseVersion(src))
+ Expect(v).NotTo(BeNil())
+ Expect(v).To(YAMLEqual(e.yaml))
+ Expect(v.VersionSpec()).To(Equal(e.versionSpec))
+ Expect(v.IsVersion()).To(Equal(e.isVersion))
+ Expect(v.Version()).To(Equal(e.version))
+ Expect(v.IsTagged()).To(Equal(e.isTag))
+ Expect(v.GetTag()).To(Equal(e.tag))
+ Expect(v.IsDigested()).To(Equal(e.isDigested))
+ Expect(v.GetDigest()).To(Equal(digest.Digest(e.digest)))
+ },
+ Entry("empty", "", expect{
+ yaml: "{}",
+ versionSpec: "latest",
+ version: "latest",
+ }),
+ Entry("tag", "tag", expect{
+ yaml: "{\"tag\":\"tag\"}",
+ versionSpec: "tag",
+ isVersion: true,
+ version: "tag",
+ isTag: true,
+ tag: "tag",
+ }),
+ Entry("digest", "@"+dig, expect{
+ yaml: "{\"digest\":\"" + dig + "\"}",
+ versionSpec: "@" + dig,
+ isVersion: true,
+ version: "@" + dig,
+ isDigested: true,
+ digest: dig,
+ }),
+ Entry("tag@digest", "tag@"+dig, expect{
+ yaml: "{\"tag\":\"tag\",\"digest\":\"" + dig + "\"}",
+ versionSpec: "tag@" + dig,
+ isVersion: true,
+ version: "@" + dig,
+ isTag: true,
+ tag: "tag",
+ isDigested: true,
+ digest: dig,
+ }),
+ )
+})
diff --git a/api/oci/ociutils/suite_test.go b/api/oci/ociutils/suite_test.go
new file mode 100644
index 0000000000..bf4c1257f7
--- /dev/null
+++ b/api/oci/ociutils/suite_test.go
@@ -0,0 +1,13 @@
+package ociutils_test
+
+import (
+ "testing"
+
+ . "github.com/onsi/ginkgo/v2"
+ . "github.com/onsi/gomega"
+)
+
+func TestConfig(t *testing.T) {
+ RegisterFailHandler(Fail)
+ RunSpecs(t, "OCI Utils Test Suite")
+}
diff --git a/api/oci/ref.go b/api/oci/ref.go
index 20186d78c9..0d64f407b0 100644
--- a/api/oci/ref.go
+++ b/api/oci/ref.go
@@ -272,16 +272,6 @@ type ArtSpec struct {
ArtVersion `json:",inline"`
}
-func (r *ArtSpec) Version() string {
- if r.Digest != nil {
- return "@" + string(*r.Digest)
- }
- if r.Tag != nil {
- return *r.Tag
- }
- return "latest"
-}
-
func (r *ArtSpec) IsRegistry() bool {
return r.Repository == ""
}
diff --git a/api/oci/testhelper/manifests.go b/api/oci/testhelper/manifests.go
index 44b92c12cd..a6506db65a 100644
--- a/api/oci/testhelper/manifests.go
+++ b/api/oci/testhelper/manifests.go
@@ -64,8 +64,8 @@ func OCIArtifactResource1(env *builder.Builder, name string, host string, funcs
const (
D_OCIMANIFEST1 = "0c4abdb72cf59cb4b77f4aacb4775f9f546ebc3face189b2224a966c8826ca9f"
- H_OCIARCHMANIFEST1 = "818fb6a69a5f55e8b3dbc921a61fdd000b9445a745b587ba753a811b02426326"
- // H_OCIARCHMANIFEST1 = "b0692bcec00e0a875b6b280f3209d6776f3eca128adcb7e81e82fd32127c0c62".
+ H_OCIARCHMANIFEST1 = "b0692bcec00e0a875b6b280f3209d6776f3eca128adcb7e81e82fd32127c0c62"
+ // H_OCIARCHMANIFEST1 = "818fb6a69a5f55e8b3dbc921a61fdd000b9445a745b587ba753a811b02426326".
)
var DS_OCIMANIFEST1 = &metav1.DigestSpec{
@@ -124,8 +124,8 @@ func OCIManifest2For(env *builder.Builder, ns, tag string, nested ...func()) (*a
const (
D_OCIMANIFEST2 = "c2d2dca275c33c1270dea6168a002d67c0e98780d7a54960758139ae19984bd7"
- H_OCIARCHMANIFEST2 = "2aaf6f8857dcbfa04a72fb98dd53f649b46e5d81aa4fb17330df74b0ffc30839"
- // H_OCIARCHMANIFEST2 = "cb85cd58b10e36343971691abbfe40200cb645c6e95f0bdabd111a30cf794708".
+ H_OCIARCHMANIFEST2 = "cb85cd58b10e36343971691abbfe40200cb645c6e95f0bdabd111a30cf794708"
+ // H_OCIARCHMANIFEST2 = "2aaf6f8857dcbfa04a72fb98dd53f649b46e5d81aa4fb17330df74b0ffc30839".
)
func HashManifest2(fmt string) string {
diff --git a/api/ocm/extensions/accessmethods/relativeociref/method_test.go b/api/ocm/extensions/accessmethods/relativeociref/method_test.go
index 2e589770c0..4634480fc9 100644
--- a/api/ocm/extensions/accessmethods/relativeociref/method_test.go
+++ b/api/ocm/extensions/accessmethods/relativeociref/method_test.go
@@ -68,7 +68,7 @@ var _ = Describe("Method", func() {
return m.Close()
})
data := Must(m.Get())
- Expect(len(data)).To(Equal(630))
+ Expect(len(data)).To(Equal(628))
Expect(accspeccpi.GetAccessMethodImplementation(m).(blobaccess.DigestSource).Digest().String()).To(Equal("sha256:0c4abdb72cf59cb4b77f4aacb4775f9f546ebc3face189b2224a966c8826ca9f"))
Expect(utils.GetOCIArtifactRef(env, res)).To(Equal("ocm/value:v2.0"))
})
diff --git a/docs/releasenotes/v0.18.0-rc.2.md b/docs/releasenotes/v0.18.0-rc.2.md
new file mode 100644
index 0000000000..ab62ea0083
--- /dev/null
+++ b/docs/releasenotes/v0.18.0-rc.2.md
@@ -0,0 +1,48 @@
+# Release v0.18.0-rc.2
+
+- change short text for help topic (#1058)
+- bug: allow http protocol for oci access (#1060)
+- bug: fix unmarshal consumer identity with empty value (#1057)
+- fix artifact set tagging (#1033)
+- component constructor with references field (#1054)
+- priority for CLI registration options (#1045)
+- chore: update 'flake.nix' (#1049)
+- add action doc (#1032)
+- chore: update 'flake.nix' (#1040)
+- chore: update 'flake.nix' (#1039)
+- fix downloader handling (#1031)
+- Adjust README with rotated GPG key (#1025)
+
+## 🐛 Bug Fixes
+
+- fix: set tlskyber=0 (#1047)
+- fix: remove ocm release key if present (#1024)
+- chore: release fallout corrections (#1023)
+- fix version info for OCI refs (#1078) [cherry-picked](https://github.com/open-component-model/ocm/pull/1080)
+
+## 🧰 Maintenance
+
+
+8 changes
+
+- chore: force bump to 0.18.0-dev (#1061)
+- chore: reuse aggregation from ctf during component build (#1044)
+- chore: disable runner cache for release note drafter (#1051)
+- chore: enhance the publishing to other repositories then github (#1028)
+- chore: migrate all component builds: ca => ctf (#1043)
+- chore(ci): various optimizations for build processing, caching and concurrency (#996)
+- fix: remove ocm release key if present (#1024)
+- chore: release fallout corrections (#1023)
+
+
+## ⬆️ Dependencies
+
+
+4 changes
+
+- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in the go\_modules group (#1048)
+- chore(deps): bump github.com/containerd/errdefs from 0.3.0 to 1.0.0 (#1037)
+- chore(deps): bump the ci group with 2 updates (#1038)
+- chore(deps): bump the go group with 8 updates (#1036)
+
+
diff --git a/examples/lib/tour/01-getting-started/README.md b/examples/lib/tour/01-getting-started/README.md
index 1c0b22d69e..5ec9f956ad 100644
--- a/examples/lib/tour/01-getting-started/README.md
+++ b/examples/lib/tour/01-getting-started/README.md
@@ -168,32 +168,32 @@ differ, because the code always describes the latest version):
```text
resources of the latest version:
- version: 0.17.0
+ version: 0.18.0-rc.1
provider: ocm.software
1: name: ocmcli
extra identity: "architecture"="amd64","os"="linux"
resource type: executable
- access: Local blob sha256:03a45dcde67ba565fe806cb5db67da3387f772f7c50af711a0edd6f802570c04[]
+ access: Local blob sha256:74fdf71c5467cacd1cb09d15d6ad4944d60cc8efa1d704a91c337e54dcd03fbc[]
2: name: ocmcli
extra identity: "architecture"="arm64","os"="linux"
resource type: executable
- access: Local blob sha256:5a622634ae43cf03eac91079389d83266891d1f9b2d8a3884cef6fe639180324[]
+ access: Local blob sha256:d0022850cce685d48ca589b3b59913ecbc3572f7f5082bca5c086a4bf2b47c5a[]
3: name: ocmcli
extra identity: "architecture"="arm64","os"="darwin"
resource type: executable
- access: Local blob sha256:1482fe5b764e3a86cf96704d7a839ad7e53dcbfd4f5fce5405abffb1962153dd[]
+ access: Local blob sha256:1161fc38d0fe78ba3be97783f8676a46afa2baf57c199f937798f791cc4961d3[]
4: name: ocmcli
extra identity: "architecture"="amd64","os"="darwin"
resource type: executable
- access: Local blob sha256:805f181aff48511eea12c699ed1bbcee8bdc4c5168924e81058aff8715946875[]
+ access: Local blob sha256:33074ce5cc079ea4fc1dbcc7bd54c27cc93f0e188d9ad8c56ba642c4ba6744af[]
5: name: ocmcli
extra identity: "architecture"="amd64","os"="windows"
resource type: executable
- access: Local blob sha256:20839c68bf0c4cf99444d78ebb93f53358fa9e95fe806f186220bd21d520efa7[]
+ access: Local blob sha256:2fbac39d7772ae1cf209aca5bb5efdbb6b91e83aede9464c52304c3ccebb4f67[]
6: name: ocmcli-image
extra identity:
resource type: ociImage
- access: OCI artifact ghcr.io/open-component-model/ocm/ocm.software/ocmcli/ocmcli-image:0.17.0@sha256:16fb52a1cb11c867bd058f4124dea53fbab94229842cc14b52653c2e80b1cede
+ access: OCI artifact ghcr.io/open-component-model/ocm/ocm.software/ocmcli/ocmcli-image:0.18.0-rc.1@sha256:3ba3e8c075f7f91e851ec3ce53da2347fe464b3ac33c6d65cf89a459193bb5cb
```
Resources have some metadata, like their identity and a resource type.
From 08a2837efc8f74be7690e2bf6e2478745daa1b18 Mon Sep 17 00:00:00 2001
From: GitHub Actions Bot
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 25 Nov 2024 08:57:43 +0000
Subject: [PATCH 03/10] ReleaseNotes for v0.18.0
---
docs/releasenotes/v0.18.0.md | 48 ++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 docs/releasenotes/v0.18.0.md
diff --git a/docs/releasenotes/v0.18.0.md b/docs/releasenotes/v0.18.0.md
new file mode 100644
index 0000000000..d6b710eaf3
--- /dev/null
+++ b/docs/releasenotes/v0.18.0.md
@@ -0,0 +1,48 @@
+# Release v0.18.0
+
+- change short text for help topic (#1058)
+- bug: allow http protocol for oci access (#1060)
+- bug: fix unmarshal consumer identity with empty value (#1057)
+- fix artifact set tagging (#1033)
+- component constructor with references field (#1054)
+- priority for CLI registration options (#1045)
+- chore: update 'flake.nix' (#1049)
+- add action doc (#1032)
+- chore: update 'flake.nix' (#1040)
+- chore: update 'flake.nix' (#1039)
+- fix downloader handling (#1031)
+- Adjust README with rotated GPG key (#1025)
+
+## 🐛 Bug Fixes
+
+- [release-v0.18.0] fix: version info for OCI refs (#1080)
+- fix: set tlskyber=0 (#1047)
+- fix: remove ocm release key if present (#1024)
+- chore: release fallout corrections (#1023)
+
+## 🧰 Maintenance
+
+
+8 changes
+
+- chore: force bump to 0.18.0-dev (#1061)
+- chore: reuse aggregation from ctf during component build (#1044)
+- chore: disable runner cache for release note drafter (#1051)
+- chore: enhance the publishing to other repositories then github (#1028)
+- chore: migrate all component builds: ca => ctf (#1043)
+- chore(ci): various optimizations for build processing, caching and concurrency (#996)
+- fix: remove ocm release key if present (#1024)
+- chore: release fallout corrections (#1023)
+
+
+## ⬆️ Dependencies
+
+
+4 changes
+
+- chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in the go\_modules group (#1048)
+- chore(deps): bump github.com/containerd/errdefs from 0.3.0 to 1.0.0 (#1037)
+- chore(deps): bump the ci group with 2 updates (#1038)
+- chore(deps): bump the go group with 8 updates (#1036)
+
+
From 4c43839780a2cf9ae891a5edae0768156d5ffb79 Mon Sep 17 00:00:00 2001
From: GitHub Actions Bot
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 25 Nov 2024 08:57:44 +0000
Subject: [PATCH 04/10] Release v0.18.0
---
VERSION | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/VERSION b/VERSION
index 498b6fb3d5..47d04a5288 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.18.0-dev
+0.18.0
\ No newline at end of file
From 30a7828409dcfa847b1a0d66aa2dd5bb12f25019 Mon Sep 17 00:00:00 2001
From: Hilmar Falkenberg
Date: Mon, 25 Nov 2024 15:15:24 +0100
Subject: [PATCH 05/10] chore(example): let's limit the listed versions (#1136)
#### What this PR does / why we need it
Why should every release require us to re-generate the samples?
---
examples/lib/tour/07-resource-management/README.md | 2 +-
examples/lib/tour/07-resource-management/example.go | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/examples/lib/tour/07-resource-management/README.md b/examples/lib/tour/07-resource-management/README.md
index b50aa34762..431af599f9 100644
--- a/examples/lib/tour/07-resource-management/README.md
+++ b/examples/lib/tour/07-resource-management/README.md
@@ -270,7 +270,7 @@ function before finishing.
The final output of this example looks like:
```yaml
-versions for component ocm.software/ocmcli: 0.1.0-alpha.2, 0.1.0-dev, 0.3.0-dev, 0.3.0-rc.2, 0.3.0-rc.3, 0.3.0, 0.4.0-dev, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.16.1, 0.16.2, 0.17.0-rc.1, 0.17.0, 0.18.0-rc.1, 0.18.0-rc.2, 0.18.0
+versions for component ocm.software/ocmcli: ..., 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.0, 0.17.0, 0.18.0, ...
looking up resources of the latest version:
version: 0.17.0
provider: ocm.software
diff --git a/examples/lib/tour/07-resource-management/example.go b/examples/lib/tour/07-resource-management/example.go
index d4b46e909d..cffd10c172 100644
--- a/examples/lib/tour/07-resource-management/example.go
+++ b/examples/lib/tour/07-resource-management/example.go
@@ -5,12 +5,10 @@ import (
"strings"
"github.com/mandelsoft/goutils/errors"
-
- "ocm.software/ocm/api/utils/blobaccess/blobaccess"
-
"ocm.software/ocm/api/ocm"
metav1 "ocm.software/ocm/api/ocm/compdesc/meta/v1"
"ocm.software/ocm/api/ocm/extensions/repositories/ocireg"
+ "ocm.software/ocm/api/utils/blobaccess/blobaccess"
"ocm.software/ocm/api/utils/semverutils"
)
@@ -207,6 +205,7 @@ func GatherResources(ctx ocm.Context, factory ResourceFactory) ([]Resource, erro
if err != nil {
return nil, errors.Wrapf(err, "cannot sort versions")
}
+ versions = []string{"...", "0.9.0", "0.10.0", "0.11.0", "0.12.0", "0.12.1", "0.13.0", "0.14.0", "0.15.0", "0.17.0", "0.18.0", "..."}
fmt.Printf("versions for component ocm.software/ocmcli: %s\n", strings.Join(versions, ", "))
// Now, we have a look at the latest version. it is
From 676bdc1c9125ac5731824d1a267cb19837f11c41 Mon Sep 17 00:00:00 2001
From: Hilmar Falkenberg
Date: Mon, 25 Nov 2024 16:47:25 +0100
Subject: [PATCH 06/10] chore(documentation): How to publish `winget` packages.
(#1138)
#### What this PR does / why we need it
The yaml files (winget package manifests) aren't required.
---
hack/winget/README.md | 16 +++++++++++++-
...pen-Component-Model.ocm-cli.installer.yaml | 22 -------------------
...-Component-Model.ocm-cli.locale.en-US.yaml | 12 ----------
.../0.15.0/Open-Component-Model.ocm-cli.yaml | 8 -------
4 files changed, 15 insertions(+), 43 deletions(-)
delete mode 100644 hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.installer.yaml
delete mode 100644 hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.locale.en-US.yaml
delete mode 100644 hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.yaml
diff --git a/hack/winget/README.md b/hack/winget/README.md
index 0e64b3a85f..4dad048bc4 100644
--- a/hack/winget/README.md
+++ b/hack/winget/README.md
@@ -33,5 +33,19 @@ winget install --manifest .\manifests\o\Open-Component-Model\ocm-cli\0.15.0\
## update package
```powershell
-wingetcreate update --urls https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-386.zip https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-amd64.zip https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-arm64.zip --version 0.15.0 --release-notes-url https://github.com/open-component-model/ocm/releases/tag/v0.15.0 ` Open-Component-Model.ocm-cli
+wingetcreate update --urls https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-amd64.zip https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-arm64.zip --version 0.15.0 --release-notes-url https://github.com/open-component-model/ocm/releases/tag/v0.15.0 ` Open-Component-Model.ocm-cli
```
+
+## github action
+
+[push-to-winget](../../.github/workflows/publish-to-other-than-github.yaml#L124) requires a ["Personal access tokens (classic)"](https://github.com/organizations/open-component-model/settings/secrets/actions/OCM_CI_ROBOT_0_REPO). There is an open issue on [winget-create](https://github.com/microsoft/winget-create/issues/470). We [tried it](https://github.com/open-component-model/ocm/pull/1133) already with fine grained tokens and our [ocmbot](https://github.com/organizations/open-component-model/settings/apps/ocmbot). But that doesn't work: [ERROR: Resource not accessible by integration](https://github.com/open-component-model/ocm/actions/runs/12008922878/job/33472565698).
+
+## winget packages repository
+
+The [pull request](https://github.com/microsoft/winget-pkgs/pull/193703) creator of has to sign the [Contributor License Agreement](https://cla.opensource.microsoft.com/microsoft/winget-pkgs). In case someone else than [ocm-ci-robot-0](https://github.com/orgs/open-component-model/people/ocm-ci-robot-0) creates such an update PR, you'll need to reply with:
+
+```text
+@microsoft-github-policy-service agree company="SAP SE"
+```
+
+on your PR at least once.
diff --git a/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.installer.yaml b/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.installer.yaml
deleted file mode 100644
index 0e83d61914..0000000000
--- a/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.installer.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Created using wingetcreate 1.6.5.0
-# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json
-
-PackageIdentifier: Open-Component-Model.ocm-cli
-PackageVersion: 0.15.0
-InstallerType: zip
-NestedInstallerType: portable
-NestedInstallerFiles:
-- RelativeFilePath: ocm.exe
- PortableCommandAlias: ocm-cli
-Installers:
-- Architecture: x86
- InstallerUrl: https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-386.zip
- InstallerSha256: BA31AC79286ACE0412AD5C3A91BBDD02751B39B60F257D74BA721036A361BC7C
-- Architecture: x64
- InstallerUrl: https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-amd64.zip
- InstallerSha256: DC767119CDB7B483C7384E8A879C2BE1B98A1AC24C02DB46E2A050F6A911C2CD
-- Architecture: arm64
- InstallerUrl: https://github.com/open-component-model/ocm/releases/download/v0.15.0/ocm-0.15.0-windows-arm64.zip
- InstallerSha256: 6981D5710FDEB06843A446E8E747E091FC5EB9538CD14D2BC4744A7D6F2922CD
-ManifestType: installer
-ManifestVersion: 1.6.0
diff --git a/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.locale.en-US.yaml b/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.locale.en-US.yaml
deleted file mode 100644
index 952d04f58a..0000000000
--- a/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.locale.en-US.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-# Created using wingetcreate 1.6.5.0
-# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json
-
-PackageIdentifier: Open-Component-Model.ocm-cli
-PackageVersion: 0.15.0
-PackageLocale: en-US
-Publisher: SAP SE
-PackageName: ocm-cli
-License: Apache-2.0
-ShortDescription: Open Component Model Command Line Interface (ocm-cli)
-ManifestType: defaultLocale
-ManifestVersion: 1.6.0
diff --git a/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.yaml b/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.yaml
deleted file mode 100644
index ff7a0d6214..0000000000
--- a/hack/winget/manifests/o/Open-Component-Model/ocm-cli/0.15.0/Open-Component-Model.ocm-cli.yaml
+++ /dev/null
@@ -1,8 +0,0 @@
-# Created using wingetcreate 1.6.5.0
-# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json
-
-PackageIdentifier: Open-Component-Model.ocm-cli
-PackageVersion: 0.15.0
-DefaultLocale: en-US
-ManifestType: version
-ManifestVersion: 1.6.0
From 53501ce0ed8a344ed05513e428ca01a2c9e93714 Mon Sep 17 00:00:00 2001
From: Gerald Morrison
Date: Fri, 6 Dec 2024 14:50:31 +0100
Subject: [PATCH 07/10] add license notice
---
LICENSES/LGPL-3.0.txt | 165 +++++++++++++++++++
LICENSES/MPL-2.0.txt | 373 ++++++++++++++++++++++++++++++++++++++++++
NOTICE | 27 +++
3 files changed, 565 insertions(+)
create mode 100644 LICENSES/LGPL-3.0.txt
create mode 100644 LICENSES/MPL-2.0.txt
create mode 100644 NOTICE
diff --git a/LICENSES/LGPL-3.0.txt b/LICENSES/LGPL-3.0.txt
new file mode 100644
index 0000000000..153d416dc8
--- /dev/null
+++ b/LICENSES/LGPL-3.0.txt
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
\ No newline at end of file
diff --git a/LICENSES/MPL-2.0.txt b/LICENSES/MPL-2.0.txt
new file mode 100644
index 0000000000..f4bbcd200a
--- /dev/null
+++ b/LICENSES/MPL-2.0.txt
@@ -0,0 +1,373 @@
+Mozilla Public License Version 2.0
+==================================
+
+1. Definitions
+--------------
+
+1.1. "Contributor"
+ means each individual or legal entity that creates, contributes to
+ the creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+ means the combination of the Contributions of others (if any) used
+ by a Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+ means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+ means Source Code Form to which the initial Contributor has attached
+ the notice in Exhibit A, the Executable Form of such Source Code
+ Form, and Modifications of such Source Code Form, in each case
+ including portions thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+ means
+
+ (a) that the initial Contributor has attached the notice described
+ in Exhibit B to the Covered Software; or
+
+ (b) that the Covered Software was made available under the terms of
+ version 1.1 or earlier of the License, but not also under the
+ terms of a Secondary License.
+
+1.6. "Executable Form"
+ means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+ means a work that combines Covered Software with other material, in
+ a separate file or files, that is not Covered Software.
+
+1.8. "License"
+ means this document.
+
+1.9. "Licensable"
+ means having the right to grant, to the maximum extent possible,
+ whether at the time of the initial grant or subsequently, any and
+ all of the rights conveyed by this License.
+
+1.10. "Modifications"
+ means any of the following:
+
+ (a) any file in Source Code Form that results from an addition to,
+ deletion from, or modification of the contents of Covered
+ Software; or
+
+ (b) any new file in Source Code Form that contains any Covered
+ Software.
+
+1.11. "Patent Claims" of a Contributor
+ means any patent claim(s), including without limitation, method,
+ process, and apparatus claims, in any patent Licensable by such
+ Contributor that would be infringed, but for the grant of the
+ License, by the making, using, selling, offering for sale, having
+ made, import, or transfer of either its Contributions or its
+ Contributor Version.
+
+1.12. "Secondary License"
+ means either the GNU General Public License, Version 2.0, the GNU
+ Lesser General Public License, Version 2.1, the GNU Affero General
+ Public License, Version 3.0, or any later versions of those
+ licenses.
+
+1.13. "Source Code Form"
+ means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+ means an individual or a legal entity exercising rights under this
+ License. For legal entities, "You" includes any entity that
+ controls, is controlled by, or is under common control with You. For
+ purposes of this definition, "control" means (a) the power, direct
+ or indirect, to cause the direction or management of such entity,
+ whether by contract or otherwise, or (b) ownership of more than
+ fifty percent (50%) of the outstanding shares or beneficial
+ ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+ Licensable by such Contributor to use, reproduce, make available,
+ modify, display, perform, distribute, and otherwise exploit its
+ Contributions, either on an unmodified basis, with Modifications, or
+ as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+ for sale, have made, import, and otherwise transfer either its
+ Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+ or
+
+(b) for infringements caused by: (i) Your and any other third party's
+ modifications of Covered Software, or (ii) the combination of its
+ Contributions with other software (except as part of its Contributor
+ Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+ its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+ Form, as described in Section 3.1, and You must inform recipients of
+ the Executable Form how they can obtain a copy of such Source Code
+ Form by reasonable means in a timely manner, at a charge no more
+ than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+ License, or sublicense it under different terms, provided that the
+ license for the Executable Form does not attempt to limit or alter
+ the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+* *
+* 6. Disclaimer of Warranty *
+* ------------------------- *
+* *
+* Covered Software is provided under this License on an "as is" *
+* basis, without warranty of any kind, either expressed, implied, or *
+* statutory, including, without limitation, warranties that the *
+* Covered Software is free of defects, merchantable, fit for a *
+* particular purpose or non-infringing. The entire risk as to the *
+* quality and performance of the Covered Software is with You. *
+* Should any Covered Software prove defective in any respect, You *
+* (not any Contributor) assume the cost of any necessary servicing, *
+* repair, or correction. This disclaimer of warranty constitutes an *
+* essential part of this License. No use of any Covered Software is *
+* authorized under this License except under this disclaimer. *
+* *
+************************************************************************
+
+************************************************************************
+* *
+* 7. Limitation of Liability *
+* -------------------------- *
+* *
+* Under no circumstances and under no legal theory, whether tort *
+* (including negligence), contract, or otherwise, shall any *
+* Contributor, or anyone who distributes Covered Software as *
+* permitted above, be liable to You for any direct, indirect, *
+* special, incidental, or consequential damages of any character *
+* including, without limitation, damages for lost profits, loss of *
+* goodwill, work stoppage, computer failure or malfunction, or any *
+* and all other commercial damages or losses, even if such party *
+* shall have been informed of the possibility of such damages. This *
+* limitation of liability shall not apply to liability for death or *
+* personal injury resulting from such party's negligence to the *
+* extent applicable law prohibits such limitation. Some *
+* jurisdictions do not allow the exclusion or limitation of *
+* incidental or consequential damages, so this exclusion and *
+* limitation may not apply to You. *
+* *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+---------------------------------------------------------
+
+ This Source Code Form is "Incompatible With Secondary Licenses", as
+ defined by the Mozilla Public License, v. 2.0.
\ No newline at end of file
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000000..ec42d3c646
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,27 @@
+# THIRD-PARTY LIBRARIES
+
+## MPL-2.0
+
+This project statically links the following [Mozilla Public License 2.0 (MPL-2.0)](./LICENSES/MPL-2.0.txt) libraries.
+The list contains the Go module path and the version of the library used.
+
+- github.com/hashicorp/errwrap-v1.1.0
+- github.com/hashicorp/go-cleanhttp-v0.5.2
+- github.com/hashicorp/go-multierror-v1.1.1
+- github.com/hashicorp/go-retryablehttp-v0.7.7
+- github.com/hashicorp/go-rootcerts-v1.0.2
+- github.com/hashicorp/go-secure-stdlib/strutil-configutil/v0.1.5
+- github.com/hashicorp/hcl-v1.0.1-vault-5
+- github.com/hashicorp/vault-client-go-v0.4.3
+- github.com/letsencrypt/boulder-v0.0.0-20241010192615-6692160cedfa
+
+Modifications to original MPL-2.0 files will be documented and made available.
+
+## LGPL-3.0
+
+This project statically links the following [GNU Lesser General Public License 3.0 (LGPL 3.0)](./LICENSES/LGPL-3.0.txt) libraries.
+The list contains the Go module path and the version of the library used.
+
+- github.com/juju/fslock-v0.0.0-20160525022230-4d5c94c67b4b
+
+Modifications to original LGPL-3.0 files will be documented and made available.
From 9643eea06c6de3f0a148c42d05e2c2bf1c9def4f Mon Sep 17 00:00:00 2001
From: Gerald Morrison
Date: Fri, 6 Dec 2024 15:02:21 +0100
Subject: [PATCH 08/10] link licenses instead of placing them under LICENSES
---
LICENSES/LGPL-3.0.txt | 165 -------------------
LICENSES/MPL-2.0.txt | 373 ------------------------------------------
NOTICE | 4 +-
README.md | 31 +++-
4 files changed, 25 insertions(+), 548 deletions(-)
delete mode 100644 LICENSES/LGPL-3.0.txt
delete mode 100644 LICENSES/MPL-2.0.txt
diff --git a/LICENSES/LGPL-3.0.txt b/LICENSES/LGPL-3.0.txt
deleted file mode 100644
index 153d416dc8..0000000000
--- a/LICENSES/LGPL-3.0.txt
+++ /dev/null
@@ -1,165 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
- This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
- 0. Additional Definitions.
-
- As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
- "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
- An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
- A "Combined Work" is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
- The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
- The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
- 1. Exception to Section 3 of the GNU GPL.
-
- You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
- 2. Conveying Modified Versions.
-
- If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
- a) under this License, provided that you make a good faith effort to
- ensure that, in the event an Application does not supply the
- function or data, the facility still operates, and performs
- whatever part of its purpose remains meaningful, or
-
- b) under the GNU GPL, with none of the additional permissions of
- this License applicable to that copy.
-
- 3. Object Code Incorporating Material from Library Header Files.
-
- The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
- a) Give prominent notice with each copy of the object code that the
- Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the object code with a copy of the GNU GPL and this license
- document.
-
- 4. Combined Works.
-
- You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
- a) Give prominent notice with each copy of the Combined Work that
- the Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
- document.
-
- c) For a Combined Work that displays copyright notices during
- execution, include the copyright notice for the Library among
- these notices, as well as a reference directing the user to the
- copies of the GNU GPL and this license document.
-
- d) Do one of the following:
-
- 0) Convey the Minimal Corresponding Source under the terms of this
- License, and the Corresponding Application Code in a form
- suitable for, and under terms that permit, the user to
- recombine or relink the Application with a modified version of
- the Linked Version to produce a modified Combined Work, in the
- manner specified by section 6 of the GNU GPL for conveying
- Corresponding Source.
-
- 1) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (a) uses at run time
- a copy of the Library already present on the user's computer
- system, and (b) will operate properly with a modified version
- of the Library that is interface-compatible with the Linked
- Version.
-
- e) Provide Installation Information, but only if you would otherwise
- be required to provide such information under section 6 of the
- GNU GPL, and only to the extent that such information is
- necessary to install and execute a modified version of the
- Combined Work produced by recombining or relinking the
- Application with a modified version of the Linked Version. (If
- you use option 4d0, the Installation Information must accompany
- the Minimal Corresponding Source and Corresponding Application
- Code. If you use option 4d1, you must provide the Installation
- Information in the manner specified by section 6 of the GNU GPL
- for conveying Corresponding Source.)
-
- 5. Combined Libraries.
-
- You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
- a) Accompany the combined library with a copy of the same work based
- on the Library, uncombined with any other library facilities,
- conveyed under the terms of this License.
-
- b) Give prominent notice with the combined library that part of it
- is a work based on the Library, and explaining where to find the
- accompanying uncombined form of the same work.
-
- 6. Revised Versions of the GNU Lesser General Public License.
-
- The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
- If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
\ No newline at end of file
diff --git a/LICENSES/MPL-2.0.txt b/LICENSES/MPL-2.0.txt
deleted file mode 100644
index f4bbcd200a..0000000000
--- a/LICENSES/MPL-2.0.txt
+++ /dev/null
@@ -1,373 +0,0 @@
-Mozilla Public License Version 2.0
-==================================
-
-1. Definitions
---------------
-
-1.1. "Contributor"
- means each individual or legal entity that creates, contributes to
- the creation of, or owns Covered Software.
-
-1.2. "Contributor Version"
- means the combination of the Contributions of others (if any) used
- by a Contributor and that particular Contributor's Contribution.
-
-1.3. "Contribution"
- means Covered Software of a particular Contributor.
-
-1.4. "Covered Software"
- means Source Code Form to which the initial Contributor has attached
- the notice in Exhibit A, the Executable Form of such Source Code
- Form, and Modifications of such Source Code Form, in each case
- including portions thereof.
-
-1.5. "Incompatible With Secondary Licenses"
- means
-
- (a) that the initial Contributor has attached the notice described
- in Exhibit B to the Covered Software; or
-
- (b) that the Covered Software was made available under the terms of
- version 1.1 or earlier of the License, but not also under the
- terms of a Secondary License.
-
-1.6. "Executable Form"
- means any form of the work other than Source Code Form.
-
-1.7. "Larger Work"
- means a work that combines Covered Software with other material, in
- a separate file or files, that is not Covered Software.
-
-1.8. "License"
- means this document.
-
-1.9. "Licensable"
- means having the right to grant, to the maximum extent possible,
- whether at the time of the initial grant or subsequently, any and
- all of the rights conveyed by this License.
-
-1.10. "Modifications"
- means any of the following:
-
- (a) any file in Source Code Form that results from an addition to,
- deletion from, or modification of the contents of Covered
- Software; or
-
- (b) any new file in Source Code Form that contains any Covered
- Software.
-
-1.11. "Patent Claims" of a Contributor
- means any patent claim(s), including without limitation, method,
- process, and apparatus claims, in any patent Licensable by such
- Contributor that would be infringed, but for the grant of the
- License, by the making, using, selling, offering for sale, having
- made, import, or transfer of either its Contributions or its
- Contributor Version.
-
-1.12. "Secondary License"
- means either the GNU General Public License, Version 2.0, the GNU
- Lesser General Public License, Version 2.1, the GNU Affero General
- Public License, Version 3.0, or any later versions of those
- licenses.
-
-1.13. "Source Code Form"
- means the form of the work preferred for making modifications.
-
-1.14. "You" (or "Your")
- means an individual or a legal entity exercising rights under this
- License. For legal entities, "You" includes any entity that
- controls, is controlled by, or is under common control with You. For
- purposes of this definition, "control" means (a) the power, direct
- or indirect, to cause the direction or management of such entity,
- whether by contract or otherwise, or (b) ownership of more than
- fifty percent (50%) of the outstanding shares or beneficial
- ownership of such entity.
-
-2. License Grants and Conditions
---------------------------------
-
-2.1. Grants
-
-Each Contributor hereby grants You a world-wide, royalty-free,
-non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark)
- Licensable by such Contributor to use, reproduce, make available,
- modify, display, perform, distribute, and otherwise exploit its
- Contributions, either on an unmodified basis, with Modifications, or
- as part of a Larger Work; and
-
-(b) under Patent Claims of such Contributor to make, use, sell, offer
- for sale, have made, import, and otherwise transfer either its
- Contributions or its Contributor Version.
-
-2.2. Effective Date
-
-The licenses granted in Section 2.1 with respect to any Contribution
-become effective for each Contribution on the date the Contributor first
-distributes such Contribution.
-
-2.3. Limitations on Grant Scope
-
-The licenses granted in this Section 2 are the only rights granted under
-this License. No additional rights or licenses will be implied from the
-distribution or licensing of Covered Software under this License.
-Notwithstanding Section 2.1(b) above, no patent license is granted by a
-Contributor:
-
-(a) for any code that a Contributor has removed from Covered Software;
- or
-
-(b) for infringements caused by: (i) Your and any other third party's
- modifications of Covered Software, or (ii) the combination of its
- Contributions with other software (except as part of its Contributor
- Version); or
-
-(c) under Patent Claims infringed by Covered Software in the absence of
- its Contributions.
-
-This License does not grant any rights in the trademarks, service marks,
-or logos of any Contributor (except as may be necessary to comply with
-the notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
-No Contributor makes additional grants as a result of Your choice to
-distribute the Covered Software under a subsequent version of this
-License (see Section 10.2) or under the terms of a Secondary License (if
-permitted under the terms of Section 3.3).
-
-2.5. Representation
-
-Each Contributor represents that the Contributor believes its
-Contributions are its original creation(s) or it has sufficient rights
-to grant the rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
-This License is not intended to limit any rights You have under
-applicable copyright doctrines of fair use, fair dealing, or other
-equivalents.
-
-2.7. Conditions
-
-Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
-in Section 2.1.
-
-3. Responsibilities
--------------------
-
-3.1. Distribution of Source Form
-
-All distribution of Covered Software in Source Code Form, including any
-Modifications that You create or to which You contribute, must be under
-the terms of this License. You must inform recipients that the Source
-Code Form of the Covered Software is governed by the terms of this
-License, and how they can obtain a copy of this License. You may not
-attempt to alter or restrict the recipients' rights in the Source Code
-Form.
-
-3.2. Distribution of Executable Form
-
-If You distribute Covered Software in Executable Form then:
-
-(a) such Covered Software must also be made available in Source Code
- Form, as described in Section 3.1, and You must inform recipients of
- the Executable Form how they can obtain a copy of such Source Code
- Form by reasonable means in a timely manner, at a charge no more
- than the cost of distribution to the recipient; and
-
-(b) You may distribute such Executable Form under the terms of this
- License, or sublicense it under different terms, provided that the
- license for the Executable Form does not attempt to limit or alter
- the recipients' rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
-You may create and distribute a Larger Work under terms of Your choice,
-provided that You also comply with the requirements of this License for
-the Covered Software. If the Larger Work is a combination of Covered
-Software with a work governed by one or more Secondary Licenses, and the
-Covered Software is not Incompatible With Secondary Licenses, this
-License permits You to additionally distribute such Covered Software
-under the terms of such Secondary License(s), so that the recipient of
-the Larger Work may, at their option, further distribute the Covered
-Software under the terms of either this License or such Secondary
-License(s).
-
-3.4. Notices
-
-You may not remove or alter the substance of any license notices
-(including copyright notices, patent notices, disclaimers of warranty,
-or limitations of liability) contained within the Source Code Form of
-the Covered Software, except that You may alter any license notices to
-the extent required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
-You may choose to offer, and to charge a fee for, warranty, support,
-indemnity or liability obligations to one or more recipients of Covered
-Software. However, You may do so only on Your own behalf, and not on
-behalf of any Contributor. You must make it absolutely clear that any
-such warranty, support, indemnity, or liability obligation is offered by
-You alone, and You hereby agree to indemnify every Contributor for any
-liability incurred by such Contributor as a result of warranty, support,
-indemnity or liability terms You offer. You may include additional
-disclaimers of warranty and limitations of liability specific to any
-jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
----------------------------------------------------
-
-If it is impossible for You to comply with any of the terms of this
-License with respect to some or all of the Covered Software due to
-statute, judicial order, or regulation then You must: (a) comply with
-the terms of this License to the maximum extent possible; and (b)
-describe the limitations and the code they affect. Such description must
-be placed in a text file included with all distributions of the Covered
-Software under this License. Except to the extent prohibited by statute
-or regulation, such description must be sufficiently detailed for a
-recipient of ordinary skill to be able to understand it.
-
-5. Termination
---------------
-
-5.1. The rights granted under this License will terminate automatically
-if You fail to comply with any of its terms. However, if You become
-compliant, then the rights granted under this License from a particular
-Contributor are reinstated (a) provisionally, unless and until such
-Contributor explicitly and finally terminates Your grants, and (b) on an
-ongoing basis, if such Contributor fails to notify You of the
-non-compliance by some reasonable means prior to 60 days after You have
-come back into compliance. Moreover, Your grants from a particular
-Contributor are reinstated on an ongoing basis if such Contributor
-notifies You of the non-compliance by some reasonable means, this is the
-first time You have received notice of non-compliance with this License
-from such Contributor, and You become compliant prior to 30 days after
-Your receipt of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
-infringement claim (excluding declaratory judgment actions,
-counter-claims, and cross-claims) alleging that a Contributor Version
-directly or indirectly infringes any patent, then the rights granted to
-You by any and all Contributors for the Covered Software under Section
-2.1 of this License shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all
-end user license agreements (excluding distributors and resellers) which
-have been validly granted by You or Your distributors under this License
-prior to termination shall survive termination.
-
-************************************************************************
-* *
-* 6. Disclaimer of Warranty *
-* ------------------------- *
-* *
-* Covered Software is provided under this License on an "as is" *
-* basis, without warranty of any kind, either expressed, implied, or *
-* statutory, including, without limitation, warranties that the *
-* Covered Software is free of defects, merchantable, fit for a *
-* particular purpose or non-infringing. The entire risk as to the *
-* quality and performance of the Covered Software is with You. *
-* Should any Covered Software prove defective in any respect, You *
-* (not any Contributor) assume the cost of any necessary servicing, *
-* repair, or correction. This disclaimer of warranty constitutes an *
-* essential part of this License. No use of any Covered Software is *
-* authorized under this License except under this disclaimer. *
-* *
-************************************************************************
-
-************************************************************************
-* *
-* 7. Limitation of Liability *
-* -------------------------- *
-* *
-* Under no circumstances and under no legal theory, whether tort *
-* (including negligence), contract, or otherwise, shall any *
-* Contributor, or anyone who distributes Covered Software as *
-* permitted above, be liable to You for any direct, indirect, *
-* special, incidental, or consequential damages of any character *
-* including, without limitation, damages for lost profits, loss of *
-* goodwill, work stoppage, computer failure or malfunction, or any *
-* and all other commercial damages or losses, even if such party *
-* shall have been informed of the possibility of such damages. This *
-* limitation of liability shall not apply to liability for death or *
-* personal injury resulting from such party's negligence to the *
-* extent applicable law prohibits such limitation. Some *
-* jurisdictions do not allow the exclusion or limitation of *
-* incidental or consequential damages, so this exclusion and *
-* limitation may not apply to You. *
-* *
-************************************************************************
-
-8. Litigation
--------------
-
-Any litigation relating to this License may be brought only in the
-courts of a jurisdiction where the defendant maintains its principal
-place of business and such litigation shall be governed by laws of that
-jurisdiction, without reference to its conflict-of-law provisions.
-Nothing in this Section shall prevent a party's ability to bring
-cross-claims or counter-claims.
-
-9. Miscellaneous
-----------------
-
-This License represents the complete agreement concerning the subject
-matter hereof. If any provision of this License is held to be
-unenforceable, such provision shall be reformed only to the extent
-necessary to make it enforceable. Any law or regulation which provides
-that the language of a contract shall be construed against the drafter
-shall not be used to construe this License against a Contributor.
-
-10. Versions of the License
----------------------------
-
-10.1. New Versions
-
-Mozilla Foundation is the license steward. Except as provided in Section
-10.3, no one other than the license steward has the right to modify or
-publish new versions of this License. Each version will be given a
-distinguishing version number.
-
-10.2. Effect of New Versions
-
-You may distribute the Covered Software under the terms of the version
-of the License under which You originally received the Covered Software,
-or under the terms of any subsequent version published by the license
-steward.
-
-10.3. Modified Versions
-
-If you create software not governed by this License, and you want to
-create a new license for such software, you may create and use a
-modified version of this License if you rename the license and remove
-any references to the name of the license steward (except to note that
-such modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary
-Licenses
-
-If You choose to distribute Source Code Form that is Incompatible With
-Secondary Licenses under the terms of this version of the License, the
-notice described in Exhibit B of this License must be attached.
-
-Exhibit A - Source Code Form License Notice
--------------------------------------------
-
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular
-file, then You may include the notice in a location (such as a LICENSE
-file in a relevant directory) where a recipient would be likely to look
-for such a notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - "Incompatible With Secondary Licenses" Notice
----------------------------------------------------------
-
- This Source Code Form is "Incompatible With Secondary Licenses", as
- defined by the Mozilla Public License, v. 2.0.
\ No newline at end of file
diff --git a/NOTICE b/NOTICE
index ec42d3c646..baa3d03bf2 100644
--- a/NOTICE
+++ b/NOTICE
@@ -2,7 +2,7 @@
## MPL-2.0
-This project statically links the following [Mozilla Public License 2.0 (MPL-2.0)](./LICENSES/MPL-2.0.txt) libraries.
+This project statically links the following [Mozilla Public License 2.0 (MPL-2.0)](https://www.mozilla.org/en-US/MPL/2.0/) libraries.
The list contains the Go module path and the version of the library used.
- github.com/hashicorp/errwrap-v1.1.0
@@ -19,7 +19,7 @@ Modifications to original MPL-2.0 files will be documented and made available.
## LGPL-3.0
-This project statically links the following [GNU Lesser General Public License 3.0 (LGPL 3.0)](./LICENSES/LGPL-3.0.txt) libraries.
+This project statically links the following [GNU Lesser General Public License 3.0 (LGPL 3.0)](https://www.gnu.org/licenses/lgpl-3.0.txt) libraries.
The list contains the Go module path and the version of the library used.
- github.com/juju/fslock-v0.0.0-20160525022230-4d5c94c67b4b
diff --git a/README.md b/README.md
index d0025805a8..86b5f4bb06 100644
--- a/README.md
+++ b/README.md
@@ -49,14 +49,25 @@ The OCI and OCM support can be found in packages
Install the latest release with
-- [Bash](#bash)
-- [Homebrew](#homebrew)
-- [NixOS](#nixos)
-- [AUR](#aur)
-- [Container](#container)
-- [Chocolatey](#chocolatey)
-- [Winget](#winget)
-- [GitHub Releases](https://github.com/open-component-model/ocm/releases/latest)
+- [Open Component Model](#open-component-model)
+ - [OCM Specifications](#ocm-specifications)
+ - [OCM Library](#ocm-library)
+ - [OCM CLI](#ocm-cli)
+ - [Installation](#installation)
+ - [Bash](#bash)
+ - [Homebrew](#homebrew)
+ - [NixOS](#nixos)
+ - [AUR](#aur)
+ - [Container](#container)
+ - [Build and run it yourself](#build-and-run-it-yourself)
+ - [Chocolatey](#chocolatey)
+ - [Winget](#winget)
+ - [Examples](#examples)
+ - [GPG Public Key](#gpg-public-key)
+ - [Contributing](#contributing)
+ - [Release Process](#release-process)
+ - [Licensing](#licensing)
+ - [Third Party Licenses](#third-party-licenses)
### Bash
@@ -191,3 +202,7 @@ Please refer to the [Release Process Documentation](RELEASE_PROCESS.md) for more
Copyright 2024 SAP SE or an SAP affiliate company and Open Component Model contributors.
Please see our [LICENSE](LICENSE) for copyright and license information.
Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/open-component-model/ocm).
+
+### Third Party Licenses
+
+The list of statically linked third-party libraries and their licenses can be found in the [NOTICE](./NOTICE) file.
From c519a0516f88d851895ec04067732d12e56f4586 Mon Sep 17 00:00:00 2001
From: Gerald Morrison
Date: Tue, 10 Dec 2024 14:21:57 +0100
Subject: [PATCH 09/10] correct link to contribution guide
---
CONTRIBUTING.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4eed9f1ae4..a1a8fc0e22 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,4 +2,4 @@
We welcome many different types of contributions.
-Please refer to the [Contributing Guide in the Community repository](https://github.com/open-component-model/community/blob/main/CONTRIBUTING.md) for more information on how to get support from maintainers, find work to contribute, the Pull Request checklist, the Pull Request process, and other useful information on how to contribute to OCM.
+Please refer to the [Contributing Guide](https://github.com/open-component-model/.github/blob/main/CONTRIBUTING.md) for more information on how to get support from maintainers, find work to contribute, the Pull Request checklist, the Pull Request process, and other useful information on how to contribute to OCM.
From f073325707ffd3cbafa4b1b77cf43da31732c548 Mon Sep 17 00:00:00 2001
From: Gerald Morrison
Date: Wed, 11 Dec 2024 09:48:05 +0100
Subject: [PATCH 10/10] correct NOTICE and update TOC
---
NOTICE | 9 ---------
README.md | 34 ++++++++++------------------------
2 files changed, 10 insertions(+), 33 deletions(-)
diff --git a/NOTICE b/NOTICE
index baa3d03bf2..d7051158e6 100644
--- a/NOTICE
+++ b/NOTICE
@@ -16,12 +16,3 @@ The list contains the Go module path and the version of the library used.
- github.com/letsencrypt/boulder-v0.0.0-20241010192615-6692160cedfa
Modifications to original MPL-2.0 files will be documented and made available.
-
-## LGPL-3.0
-
-This project statically links the following [GNU Lesser General Public License 3.0 (LGPL 3.0)](https://www.gnu.org/licenses/lgpl-3.0.txt) libraries.
-The list contains the Go module path and the version of the library used.
-
-- github.com/juju/fslock-v0.0.0-20160525022230-4d5c94c67b4b
-
-Modifications to original LGPL-3.0 files will be documented and made available.
diff --git a/README.md b/README.md
index 86b5f4bb06..24f3bca367 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ Additionally, OCM provides a generic solution for how to:
The [`ocm` CLI](docs/reference/ocm.md) may also be used to interact with OCM mechanisms. It makes it easy to create component versions and embed them in build processes.
-The code for the CLI can be found in [package `cmds/ocm`](cmds/ocm).
+The code for the CLI can be found in [package `cmds/ocm`](cmds/ocm).
The OCI and OCM support can be found in packages
[`api/oci`](api/oci) and [`api/ocm`](api/ocm).
@@ -49,25 +49,15 @@ The OCI and OCM support can be found in packages
Install the latest release with
-- [Open Component Model](#open-component-model)
- - [OCM Specifications](#ocm-specifications)
- - [OCM Library](#ocm-library)
- - [OCM CLI](#ocm-cli)
- - [Installation](#installation)
- - [Bash](#bash)
- - [Homebrew](#homebrew)
- - [NixOS](#nixos)
- - [AUR](#aur)
- - [Container](#container)
- - [Build and run it yourself](#build-and-run-it-yourself)
- - [Chocolatey](#chocolatey)
- - [Winget](#winget)
- - [Examples](#examples)
- - [GPG Public Key](#gpg-public-key)
- - [Contributing](#contributing)
- - [Release Process](#release-process)
- - [Licensing](#licensing)
- - [Third Party Licenses](#third-party-licenses)
+- [Bash](#bash)
+- [Homebrew](#homebrew)
+- [NixOS](#nixos)
+- [AUR](#aur)
+- [Container](#container)
+ - [Build and run it yourself](#build-and-run-it-yourself)
+- [Chocolatey](#chocolatey)
+- [Winget](#winget)
+- [GitHub Releases](https://github.com/open-component-model/ocm/releases/latest)
### Bash
@@ -202,7 +192,3 @@ Please refer to the [Release Process Documentation](RELEASE_PROCESS.md) for more
Copyright 2024 SAP SE or an SAP affiliate company and Open Component Model contributors.
Please see our [LICENSE](LICENSE) for copyright and license information.
Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/open-component-model/ocm).
-
-### Third Party Licenses
-
-The list of statically linked third-party libraries and their licenses can be found in the [NOTICE](./NOTICE) file.