This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-8805-566efb81eb33cdcaab1a759ee26951c5514f1b77 in repository https://gitbox.apache.org/repos/asf/texera.git
commit d1955f3861aaa07486afe9c3732f569f478496bd Author: Meng Wang <[email protected]> AuthorDate: Fri Oct 2 05:27:15 2026 +0000 fix(licensing): list the bundled Yarn release in LICENSE (#8805) ### What changes were proposed in this PR? Per #8801, the source release bundles `frontend/.yarn/releases/yarn-4.14.1.cjs` (Yarn Berry, BSD-2-Clause) without a LICENSE entry. Taking the issue's first suggested fix: - root `LICENSE`: new BSD 2-Clause section listing the bundled Yarn release with its copyright line; - `licenses-3rd-party-code/yarn.txt`: Yarn's LICENSE.md, verbatim from the `@yarnpkg/cli/4.14.1` tag. The issue's second suggestion (dropping the file from the source release via `export-ignore` + corepack) touches the build chain and is left as a possible follow-up for the next release line. The filename is identical on main, release/v1.2 and release/v1.3, so the entry backports without adaptation. ### Any related issues, documentation, discussions? Closes #8801. ### How was this PR tested? License-text-only change; `.licenserc.yaml` already exempts `frontend/.yarn/**` from the header check, so no CI config changes. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-fable-5) --- LICENSE | 10 ++++++++++ licenses-3rd-party-code/yarn.txt | 25 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/LICENSE b/LICENSE index f3c0d6aaeb..539cbcc43c 100644 --- a/LICENSE +++ b/LICENSE @@ -254,6 +254,16 @@ This product includes SVG icons from SVGRepo: Source: https://www.svgrepo.com License: MIT License (licenses/LICENSE-MIT.txt) +BSD 2-Clause License +-------------------------------------- + +This product bundles the Yarn package manager release used by the frontend +build: + - frontend/.yarn/releases/yarn-4.14.1.cjs + Copyright (c) 2016-present, Yarn Contributors + Source: https://github.com/yarnpkg/berry + License: BSD 2-Clause License (licenses-3rd-party-code/yarn.txt) + Trademarks -------------------------------------- diff --git a/licenses-3rd-party-code/yarn.txt b/licenses-3rd-party-code/yarn.txt new file mode 100644 index 0000000000..e25a0f9828 --- /dev/null +++ b/licenses-3rd-party-code/yarn.txt @@ -0,0 +1,25 @@ +BSD 2-Clause License + +Copyright (c) 2016-present, Yarn Contributors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
