Skip to content

fix(license): Add missing LICENSE and NOTICE symlinks for iceberg-cache-moka and iceberg-catalog-loader#2828

Merged
CTTY merged 1 commit into
apache:mainfrom
dannycjones:fix-for-rc4
Jul 14, 2026
Merged

fix(license): Add missing LICENSE and NOTICE symlinks for iceberg-cache-moka and iceberg-catalog-loader#2828
CTTY merged 1 commit into
apache:mainfrom
dannycjones:fix-for-rc4

Conversation

@dannycjones

@dannycjones dannycjones commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Follow-up from #2823.

What changes are included in this PR?

Add symlinks from the crate roots to the project root's LICENSE and NOTICE files.

Are these changes tested?

Tested using the following script provided by @kevinjqliu. Introducing this in CI is left as a follow-up (#2827).

@dannycjones

Copy link
Copy Markdown
Contributor Author

@CTTY please can you review this one for RC4?

@CTTY CTTY left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@CTTY
CTTY merged commit 5627a31 into apache:main Jul 14, 2026
21 checks passed
@dannycjones
dannycjones deleted the fix-for-rc4 branch July 14, 2026 18:05
CTTY pushed a commit that referenced this pull request Jul 14, 2026
…#2830)

## Which issue does this PR close?

For release: #2527

## What changes are included in this PR?

These changes are cherry-picks of #2823 and #2828. The crates were
missing the LICENSE and NOTICE files required for the distributed source
code.

## Are these changes tested?

Tested using the following script provided by @kevinjqliu. Introducing
this in CI is left as a follow-up
(#2827).

```bash
set -Eeuo pipefail

failed=0

while IFS= read -r crate; do
    echo "Checking ${crate}..."
    files="$(cargo package \
    --package "${crate}" \
    --list \
    --locked)"

    for required in LICENSE NOTICE; do
    if ! grep -Fxq "${required}" <<<"${files}"; then
        echo "::error::${crate} package is missing top-level ${required}"
        failed=1
    fi
    done
done < <(
    cargo metadata --no-deps --format-version 1 |
    jq -r '.packages[] | select(.publish != []) | .name'
)

exit "${failed}"
```

---------

Co-authored-by: Andrew Kane <andrew@ankane.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants