Skip to content

fix: preserve license notices in apps and CLI releases - #266

Open
linroid wants to merge 4 commits into
mainfrom
release-license-notices
Open

linroid wants to merge 4 commits into
mainfrom
release-license-notices

Conversation

@linroid

@linroid linroid commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

CLI web bundling discarded generated license notices, native release archives contained only the executable, and the installer discarded accompanying notices. Preserve webpack license files and ship Ketch, js-joda, JNA, and Logback license materials in app resources, web distributions, JVM CLI distributions, and native CLI archives. The app exposes the bundled texts under Settings → About → Open-source licenses.

The installer retains notices beside the installed executable and captures its temporary-directory cleanup path before local variables leave scope. Document the EPL-2.0 choice and corresponding source links for Logback, plus requirements for tracking copied or translated torrent code.

Validation:

  • JVM shared UI compilation and JAR packaging passed.
  • Android debug APK assembly passed with Android KMP resources enabled; both license files were verified at the paths used by the dialog.
  • Targeted pure-v2/hybrid independent-seeder tests passed locally. Added native seeder state/error diagnostics without extending timeouts or skipping tests.
  • Web and CLI resource processing and native notice preparation passed.
  • Checked notice contents in the shared JAR, web/CLI resources, and native sidecar directory; confirmed webpack notices were retained.
  • Local installer fixtures passed with both notice-bearing and legacy archives; shell syntax check passed.

Scope: this addresses the identified notice-packaging issues. The notice list is not a complete transitive-dependency inventory, and torrent authorship remains unverified. The Android debug APK was rebuilt and its license resources checked byte-for-byte; the dialog was not exercised on a device. iOS installers and the native executable were not rebuilt for this change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T06:53:31.193649Z dddbf17 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dddbf173c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cli/build.gradle.kts Outdated
Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml Outdated
@github-actions

github-actions Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

  871 files  ±0    871 suites  ±0   5m 58s ⏱️ -1s
3 873 tests ±0  3 873 ✅ ±0  0 💤 ±0  0 ❌ ±0 
5 203 runs  ±0  5 203 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 44b38c2. ± Comparison against base commit 8ba0963.

♻️ This comment has been updated with latest results.

This branch has not been deployed

No deployments
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.

1 participant