[Bug]: Bitnami Helm chart helpers bundled in charts/ are not attributed in LICENSE

Aperta Adatta ai principianti
#4,476 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
82/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
helm
Ambito
documentation

Direzione di ricerca

Leggi la sezione della LICENSE nella directory principale intitolata «This product bundles various third-party components also under the Apache Software License 2.0» ed esamina i cinque file interessati in charts/amoro/templates/common/. Aggiungi lì l’attribuzione a Bitnami charts common 2.11.1, includendo l’avviso di copyright VMware e l’Apache License 2.0. Il lavoro è completato quando la LICENSE nella directory principale identifica tutti e cinque gli helper inclusi e la loro fonte.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What happened?

The source release bundles five Helm template helpers copied from the Bitnami charts common library chart (Copyright VMware, Inc., Apache-2.0, not an ASF project), but the root LICENSE does not mention them.

Found while reviewing apache-amoro-0.9.0-incubating-src.tar.gz (RC14, tag v0.9.0-rc14, commit 18d12b99d5297dbd0bb4eb72517c4855d75210f6). The same files were also present, unattributed, in 0.8.1-incubating.

Affected files:

  • charts/amoro/templates/common/_capabilities.tpl
  • charts/amoro/templates/common/_ingress.tpl
  • charts/amoro/templates/common/_labels.tpl
  • charts/amoro/templates/common/_names.tpl
  • charts/amoro/templates/common/_tplvalues.tpl

Each file correctly keeps its upstream header:

Copyright VMware, Inc.
SPDX-License-Identifier: APACHE-2.0

// This file under the http://www.apache.org/licenses/LICENSE-2.0, copied from
// https://github.com/bitnami/charts/blob/common/2.11.1/bitnami/common/templates/<file>.tpl

However, grep -n -i 'bitnami\|vmware\|charts/' LICENSE returns nothing. Per the ASF third-party licensing guidance, bundled third-party code should be listed in LICENSE.

Suggested fix

Add an entry to the root LICENSE, in the existing "This product bundles various third-party components also under the Apache Software License 2.0" section, listing the five files above as from Bitnami charts common 2.11.1 (https://github.com/bitnami/charts), Copyright VMware, Inc., Apache License 2.0.

If the Helm chart is ever packaged and distributed on its own, it should also carry this attribution.

Affects Versions

0.9.0-incubating (RC14), 0.8.1-incubating

How to reproduce
tar xzf apache-amoro-0.9.0-incubating-src.tar.gz && cd amoro-0.9.0-incubating
head -7 charts/amoro/templates/common/_names.tpl
grep -n -i 'bitnami\|vmware' LICENSE   # no output
Lingua principale
Java
Stelle
1.2k
Fork
398
Merge medio
3g 7h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/amoro

Tutte le issue di apache/amoro

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.