chore(release): [OCISDEV-1594] remove EULA from release pipeline (#13262)
The EULA attached to release assets conflicts with the move to Apache License 2.0. Drop the copy step from the release workflow, stop expecting the PDF in the release audit, remove the PDF from the repository and drop the README section claiming stable builds are subject to it. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
609765b8b7
commit
bf6a76147c
5 files changed
+14
-17
No files matched your search
@@ -130,9 +130,6 @@ jobs:
|
||||
- run: |
|
||||
make -C ocis release-${{ matrix.os }} OUTPUT=${{ needs.determine-release-type.outputs.version }}
|
||||
make -C ocis release-finish
|
||||
if [[ "${{ matrix.os }}" == "linux" ]]; then
|
||||
cp assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf ocis/dist/release/
|
||||
fi
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: binaries-${{ matrix.os }}
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
- [Development Documentation](#development-documentation)
|
||||
- [Security](#security)
|
||||
- [Contributing](#contributing)
|
||||
- [End User License Agreement](#end-user-license-agreement)
|
||||
- [Copyright](#copyright)
|
||||
|
||||
## Introduction
|
||||
@@ -161,10 +160,6 @@ Infinite Scale is carefully internationalized so that everyone, no matter what l
|
||||
|
||||
Please always refer to our [Contribution Guidelines](https://github.com/owncloud/ocis/blob/master/CONTRIBUTING.md).
|
||||
|
||||
## End User License Agreement
|
||||
|
||||
Some builds of stable ownCloud Infinite Scale releases provided by ownCloud GmbH are subject to an [End User License Agreement](https://owncloud.com/license-owncloud-infinite-scale/).
|
||||
|
||||
## Copyright
|
||||
|
||||
```console
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
Change: Remove the EULA from the release pipeline
|
||||
|
||||
Release builds attached an End User License Agreement PDF to the published
|
||||
assets, and the README stated that stable builds provided by ownCloud GmbH are
|
||||
subject to that agreement. A non OSS agreement on the distributed binaries
|
||||
contradicts the Apache 2.0 licensing of Infinite Scale.
|
||||
|
||||
We removed the EULA from the release pipeline. The release workflow no longer
|
||||
copies the PDF into the release assets, the release audit no longer expects it,
|
||||
the PDF itself was dropped from the repository and the README section was
|
||||
removed. Releases now ship under Apache 2.0 only.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13262
|
||||
@@ -21,7 +21,6 @@ BINARY_REF = {
|
||||
"darwin-amd64": (MACHO_MAGIC, 64, 0x01000007),
|
||||
"darwin-arm64": (MACHO_MAGIC, 64, 0x0100000c),
|
||||
}
|
||||
EULA = "End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf"
|
||||
LICENSES = "third-party-licenses.tar.gz"
|
||||
PROD_TAGS = ("5.0", "7", "8")
|
||||
|
||||
@@ -34,7 +33,7 @@ def fail(msg):
|
||||
global failed; failed += 1; print(f"[FAIL] {msg}", file=sys.stderr)
|
||||
|
||||
def expected_files(v):
|
||||
return [f for p in BINARY_PLATFORMS for f in (f"ocis-{v}-{p}", f"ocis-{v}-{p}.sha256")] + [EULA, LICENSES]
|
||||
return [f for p in BINARY_PLATFORMS for f in (f"ocis-{v}-{p}", f"ocis-{v}-{p}.sha256")] + [LICENSES]
|
||||
|
||||
def is_production(v):
|
||||
return any(v.startswith(t) for t in PROD_TAGS) and "-" not in v
|
||||
@@ -109,13 +108,6 @@ def check_local(directory, version):
|
||||
elif size < 100_000: fail(f"{LICENSES}: too small ({size:,} bytes)")
|
||||
else: ok(f"{LICENSES}: gzip {size:,} bytes")
|
||||
|
||||
eula = directory / EULA
|
||||
if eula.exists():
|
||||
magic, size = eula.read_bytes()[:4], eula.stat().st_size
|
||||
if magic != b"%PDF": fail(f"{EULA}: not PDF ({magic})")
|
||||
elif size < 10_000: fail(f"{EULA}: too small ({size:,} bytes)")
|
||||
else: ok(f"{EULA}: PDF {size:,} bytes")
|
||||
|
||||
|
||||
def check_github_release(version):
|
||||
token = os.environ.get("GH_TOKEN") or os.environ.get("GITHUB_TOKEN")
|
||||
|
||||
Reference in new issue
Block a user