Skip to content

chore: refine how we handle licenses for binaries#4412

Open
lidavidm wants to merge 2 commits into
apache:mainfrom
lidavidm:gh-4411
Open

chore: refine how we handle licenses for binaries#4412
lidavidm wants to merge 2 commits into
apache:mainfrom
lidavidm:gh-4411

Conversation

@lidavidm

@lidavidm lidavidm commented Jun 18, 2026

Copy link
Copy Markdown
Member

Closes #4411.

- [ ] Handle Linux packages
- [ ] Handle Python wheels
- [ ] Handle R packages
- [ ] Check NPM package binaries
- [ ] Check Java package binaries

Closes apache#4411.
@lidavidm

lidavidm commented Jun 18, 2026

Copy link
Copy Markdown
Member Author

@eitsupi I took a look at one of the R packages and it seems it doesn't bundle any license at all, is that expected? (this can wait until after your trip of course)

@lidavidm lidavidm marked this pull request as ready for review June 19, 2026 01:56
@lidavidm lidavidm requested a review from kou as a code owner June 19, 2026 01:56
@lidavidm lidavidm requested a review from zeroshade June 19, 2026 01:56
@eitsupi

eitsupi commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

I took a look at one of the R packages and it seems it doesn't bundle any license at all, is that expected?

This is entirely intentional, and the R packages are configured to ignore the markdown files during the build process.

R packages include a license declaration in their DESCRIPTION file, and it is prohibited to include a file containing the full LICENSE text.

License: Apache License (>= 2)

However, if we want to explicitly specify the dependencies included in the source code, we can place a file under the inst directory or include a file named LICENSE.note.
https://github.com/search?q=org%3Acran+path%3ALICENSE.note&type=code

For example, this would be the case for the arrow package.
https://github.com/apache/arrow/blob/2aaac072d521feef8fa424a483917b5709c2eb2a/r/inst/NOTICE.txt

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.

chore: clean up LICENSE.txt

2 participants