Repository navigation
fix(licensing): replace the stock operator icons and list the ASF logos in LICENSE - #9261
Conversation
…os in LICENSE Part of apache#8984. Three operator icons came from sources whose licences are incompatible with an Apache release: - SankeyDiagram.png was an Adobe Stock asset (per its embedded metadata); replaced with IBM Carbon 'sankey-diagram--alt' (Apache-2.0). - DumbbellPlot.png was a Freepik icon (apache#2149); replaced with a project-drawn dumbbell plot (lines with an open start and a filled end dot). - TypeCasting.png was a Noun Project icon whose author was never recorded (apache#929); replaced with IBM Carbon 'transform--binary' (Apache-2.0). Also: - Add icons for SklearnDummyClassifier and SklearnTrainingDummyClassifier, which had none (the existing SklearnDummy*.png files match no operator type): a project-made typographic "Dummy" in Aileron (CC0), in the style of the other typographic sklearn icons. - List the Apache Arrow and Apache AsterixDB logos (ArrowSource.png, AsterixDBSource.png) in LICENSE and frontend/LICENSE-binary. The Carbon icons are added to the existing Carbon operator-icon entry. Icons are 256x256 PNGs with the source, licence and copyright embedded as PNG text chunks, like the icons replaced in apache#9220. Generated-by: Claude Code (claude-opus-5-5)
Backport auto-label reportThis
|
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9261 +/- ##
============================================
- Coverage 92.17% 92.17% -0.01%
Complexity 5043 5043
============================================
Files 1287 1287
Lines 55799 55775 -24
Branches 7144 7139 -5
============================================
- Hits 51434 51411 -23
Misses 2598 2598
+ Partials 1767 1766 -1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the asset-attribution and license-inventory updates.
No open issues 🎉
What changed in this PR
This PR continues the bundled-image licensing audit in #8984, replacing stock operator artwork and documenting asset provenance. The reviewed changes update the source and frontend binary license inventories to support that cleanup.
Changes:
- Add the Sankey Diagram and Type Casting icons to the existing IBM Carbon license entries.
- Record Apache Arrow and AsterixDB logo sources, with a trademark note in the root license.
| File | Description |
|---|---|
LICENSE |
Adds Carbon icon attribution and ASF logo provenance, licensing, and trademark details. |
frontend/LICENSE-binary |
Adds the Carbon icons and ASF logos to the frontend asset license inventory. |
Review effort: Balanced
…ctions The ScalaPB, Material Symbols, IBM Carbon and ASF logo entries (Apache-2.0) and the ORCID iD entry (CC0) sat under the MIT License header. Move them, unchanged, into new Apache License 2.0 and CC0 1.0 Universal sections. Generated-by: Claude Code (claude-opus-5-5)
…he#9269) ### What changes were proposed in this PR? Removes 36 image files of unknown origin that Texera never shows (option A on apache#8984). They have no recorded source, so they can't ship in the source release, and since nothing uses them, deleting them is simpler than replacing them. - **35 operator icons** whose names match no registered operator type (`LogicalOp.scala`). Operator icons are only loaded as `assets/operator_images/<operatorType>.png` (`joint-ui.service.ts`), and no code references these files by path. - **`frontend/src/favicon.ico`**: the Angular CLI default favicon from the 2018 scaffold. `index.html` uses the favicons in `assets/logos/`, and `angular.json` only copies `src/assets`, so it was never served. <details> <summary>The 35 operator icons</summary> - **Name not referenced anywhere (25):** `AdhocSink`, `DictionarySource`, `EmojiSentiment`, `FuzzyTokenMatcher`, `FuzzyTokenSource`, `HdfsFileScan`, `JoinDistance`, `LocalFileScan`, `NlpEntity`, `NlpSplit`, `RegexMatcher`, `RegexSource`, `RegexSplit`, `SVMClassifierTrainer`, `SVMRegressorTrainer`, `Sampler`, `SentimentAnalysis`, `SimilarityJoin`, `SklearnDummy`, `SklearnTrainingDummy`, `ToLowerCase`, `WordCloudV2`, `WordCount`, `WordCountIndexSource`, `run-icon` - **Name only in test fixtures, mocks or prose, never as an image path (10):** `Aggregation`, `Comparison`, `FileSource`, `KeywordMatcher`, `KeywordSource`, `NlpSentiment`, `ScanSource`, `SimpleSink`, `TimeSeries`, `ViewResults` `SklearnDummy*.png` matched no operator type; the `SklearnDummyClassifier` operators get their own icons in apache#9261. </details> With this PR, apache#9220 and apache#9261, every remaining file in `frontend/src/assets/operator_images/` is either listed in `LICENSE` or was made by the project (apache#5686, apache#8804, apache#8999, apache#9220, apache#9261). Git history keeps the deleted files if any is ever needed again. ### Any related issues, documentation, discussions? Part of apache#8984 (option A, proposed there on 2026-10-30). Follows apache#9220 and apache#9261. Precedent for deleting unused assets: apache#8803, apache#9020. All 36 files are identical on `release/v1.3`, so this backports cleanly there. ### How was this PR tested? File deletions only, no code change. - Checked each name against the operator registry (`LogicalOp.scala`) and searched the repository for every name and `<name>.png` path: no operator type and no image reference. - The frontend loads operator icons only through `"assets/operator_images/" + operatorType + ".png"`, so a file with no matching operator type is never requested. - `favicon.ico`: not referenced by `index.html` or `angular.json`. `StaticAssetCacheFilterSpec` uses the `/favicon.ico` URL only as a string to test cache headers. - Coverage check after the change: each file left in `operator_images/` is in `LICENSE`, carries a "Created for Apache Texera" PNG notice, or was last written by one of the project-made PRs listed above. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-5-5) Claude Code was used to check the files against the operator registry and code references and to draft this description.
|
Backport PR opened: draft #9273 (#9273) to |
|
Hi @CaroFernando, this also needs to go into release/v1.2 for the 1.2.1 RC2, after the #9220 backport. The cherry-pick conflicts in LICENSE: keep the section restructuring and the ASF logos entry, but leave out the ORCID, Sign in with Apple and scikit-learn Iris entries, which only apply to main (the Iris change comes to v1.2 separately via #9009). Thanks! |
…e SVG (apache#9302) ### What changes were proposed in this PR? Replaces `frontend/src/assets/card_background.jpg`, the default cover image for dashboard and Hub cards, with `card_background.svg`, an image drawn for the project. The JPEG has no recorded source (it was marked unknown in the apache#9017 audit), and TinEye matches it to a [Shutterstock vector](https://www.shutterstock.com/image-vector/abstract-vector-background-use-design-153172853), so it can't ship in a release. The new SVG is an abstract blue low-poly background (triangles shaded from light blue to navy, close in feel to the old cover). It carries the ASF license header, so no `LICENSE` or `LICENSE-binary` entry is needed, and at about 9 KB it replaces a 414 KB JPEG. The two places that use the image, `browse-section.component.ts` (Hub) and `card-item.component.ts` (dashboard), and the Hub spec now point at the `.svg`. Both show it through `<img>` with `object-fit: cover`; the SVG uses `preserveAspectRatio="xMidYMid slice"`, so it is cropped the same way the JPEG was. ### Any related issues, documentation, discussions? Part of apache#8984, as requested there on 2026-11-04 (replace before RC1). Follows apache#9220, apache#9261 and apache#9269. With this PR, no file the apache#9017 audit marked unknown is still on `main` unchanged. `card_background.jpg` is identical on `release/v1.3`, so this backports cleanly there. ### How was this PR tested? ``` cd frontend yarn format:ci yarn lint yarn test --watch=false ``` All pass: 248 test files, 7021 tests (1 skipped), including `browse-section.component.spec.ts` and `card-item.component.spec.ts`. Also opened the SVG in a browser to check rendering and cropping. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-5-5) Claude Code was used to check the remaining images against the apache#9017 audit, draw the SVG, update the references and draft this description. --------- Co-authored-by: Meng Wang <[email protected]>
…SF logos in LICENSE (apache#9560) ### What changes were proposed in this PR? Backport of apache#9261 to `release/v1.2` for the 1.2.1 RC2, on top of the apache#9220 backport (apache#9512). Source: 86fbe56 What apache#9261 changes: - It replaces three operator icons from sources whose licences are incompatible with an Apache release: `SankeyDiagram.png` and `TypeCasting.png` with IBM Carbon icons, and `DumbbellPlot.png` with a project-made icon. - It adds project-made icons for `SklearnDummyClassifier` and `SklearnTrainingDummyClassifier`. Both operators exist on v1.2. - It adds an entry for the Apache Arrow and AsterixDB logos to `LICENSE`. The icons and `frontend/LICENSE-binary` apply cleanly. `LICENSE` conflicted, and I resolved it as requested on apache#9261: - Kept the section restructuring: the Apache License 2.0 section comes first, followed by the MIT section. Also kept the new ASF logos entry. - Left out the ORCID entry and its CC0 1.0 Universal section, which exist only on main. v1.2's protobuf `descriptor.proto` entry and its `Public Domain` heading stay as they are. - The Sign in with Apple and scikit-learn Iris entries exist only on main, so this PR doesn't touch them. The Iris change reached v1.2 separately via apache#9009. ### Any related issues, documentation, discussions? Backport of apache#9261. Part of apache#8984. Follows apache#9512 (backport of apache#9220). ### How was this PR tested? - I diffed the license changes against apache#9261. `frontend/LICENSE-binary` matches it exactly. In `LICENSE`, the only difference is the ORCID entry and its CC0 heading, which are left out. - Apart from moving the MIT section, every `LICENSE` entry on v1.2 is unchanged. The only new lines are the ASF logos entry and the `SankeyDiagram.png` and `TypeCasting.png` lines under Carbon. - Every icon file listed in the new entries exists on the branch. - No code changes: the PR only changes image files and license files. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5)
What changes were proposed in this PR?
Three operator icons came from sources whose licences are incompatible with an Apache release, so they can't be covered by
DISCLAIMER-WIPand must be replaced before RC1 (#8984). This PR replaces them the same way as #9220, and fixes two smaller items from the same audit.SankeyDiagram.pngsankey-diagram--alt(@carbon/icons11.91.0)DumbbellPlot.pngTypeCasting.pngtransform--binary(@carbon/icons11.91.0)SklearnDummyClassifier.png,SklearnTrainingDummyClassifier.png(new)SklearnDummy*.pngfiles match no operator type, so these operators showed a broken imageLICENSE. The two Carbon icons are added to the existing Carbon operator-icon entry in
LICENSEandfrontend/LICENSE-binary; project-made icons get no entry. The PNGs are 256×256 and record their source, licence and copyright in PNG text metadata (exiftool -Comment <file>), as in #9220.Apache Arrow and AsterixDB logos.
ArrowSource.pngandAsterixDBSource.pngare byte-identical to the official logos inapache/arrow-siteandapache/asterixdb-site(same git blob hash). This adds an entry for them with a trademark note. It records their provenance for the audit; strictly, bundled ASF works need no LICENSE entry, so I'm happy to drop it if reviewers prefer.Any related issues, documentation, discussions?
Part of #8984 (follows #9220). Related: #8800, #2149, #929.
The icons that no operator uses (including
SklearnDummy*.png,HdfsFileScan.pngandsrc/favicon.ico) are left for a separate PR, pending the decision on #8984.Backport: the five icon files are identical on
release/v1.3, and both dummy-classifier operators exist there.LICENSEhas one trivial conflict onrelease/v1.3(it has no ORCID entry next to the new block), so the backport may need to be done by hand.How was this PR tested?
Asset and LICENSE change only, no code change.
LICENSEandfrontend/LICENSE-binaryand the project-made ones are not.exiftool -s -Comment frontend/src/assets/operator_images/{SankeyDiagram,DumbbellPlot,TypeCasting,SklearnDummyClassifier}.png.git hash-objectmatches the blobs inapache/arrow-siteandapache/asterixdb-site.check-header.yml:license-eye -c .licenserc.yaml header checkreports 0 invalid files.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-5-5)
No image-generation model was used. Claude Code was used to search the icon sets, render the SVGs to PNG, draw the project-made icons from simple shapes and text, and write the LICENSE entries; every icon was chosen by the author.