Component lisansları

TL;DR

  • Her component, component.yml içinde SPDX ifadesi olarak bir license: bildirir.
  • Component içindeki üçüncü taraf kodu kendi lisansını vendored: altında bildirir.
  • license: olmayan ve LICENSE dosyası da olmayan component reddedilir.
  • Lisansı, LICENSE dosyası, vendored dizini veya model dosyası ticari kullanımı kısıtlayan herkese açık component reddedilir.
  • Pipelogic'in kendi component'leri LicenseRef-Pipelogic-Platform kullanır.

Lisansı bildirmek

license: alanı component.yml dosyasının en üst düzeyinde, name'in yanında durur. Değer bir SPDX lisans ifadesidir.

name: My Component
license: Apache-2.0

Component lisansı yalnızca component'in kendi kodunu kapsar. Bir file slot'una bağlanan model veya başka bir dosya kendi lisansını dosyanın üzerinde taşır.

Component içinde gelen üçüncü taraf kodu kendi lisansını vendored: altında bildirir. Her giriş, o dizinin yolunu, upstream depo URL'sini, sürümünü ve SPDX lisansını belirtir:

vendored:
- path: src/liveportrait
  upstream: https://github.com/KwaiVGI/LivePortrait
  version: 9b294b3d0536135442ea73cb01e6cb3ca7029dd3
  license: MIT

Release kontrolleri ne yapar

component.yml içinde license: olmayan ve LICENSE dosyası da olmayan component reddedilir:

component.yml: license missing; declare license or supply LICENSE

build.license kuralı, "license declared" (kural metni özgün dilinde):

The component declares the license its own code ships under, so whoever adds it to a backend knows what they may do with it. A model or other file bound through a file slot carries its own license on that file; the component license never covers or restates it.

look.visibility kuralı, "public only under licenses that allow it" (kural metni özgün dilinde):

A component visible to everyone ships only under licenses that allow any use: its license, its LICENSE file, the license of each tree component.yml declares under vendored:, and the license of every file its team holds for one of its file slots (a file carrying the slot's tag). A license that restricts commercial use (CC-BY-NC, OpenRAIL, a custom LicenseRef) keeps the component private or workspace-only.

Kuralın verdiği çözüm: component'i workspace-only yap, ya da kodunu her kullanıma izin veren bir lisansla lisansla, ya da vendored dizinini veya slot'un dosyasını lisansı her kullanıma izin veren biriyle değiştir.

Pipelogic Platform License

Pipelogic'in kendi component'leri license: LicenseRef-Pipelogic-Platform bildirir. Lisans, Pipelogic platformunda ve onun üzerinden çalıştırılan deployment'larda ticari kullanım dahil kullanıma izin verir.

Component'in platform dışında kopyalanmasına veya yeniden dağıtılmasına izin vermez. Diğer her LicenseRef-* ticari kullanımı kısıtlıyor sayılır; bu yüzden herkese açık bir component onu taşıyamaz.

Bağlayıcı olan İngilizce lisans metnidir. Lisansın tam metni:

Pipelogic Platform License 1.0

Copyright (c) 2026 Pipelogic

  1. Grant. Pipelogic grants any person or organization a non-exclusive, worldwide, royalty-free license to use this component, including for commercial purposes, on the Pipelogic platform and in deployments run through it, and to modify it for that use.
  2. Limits. The component may not be copied, redistributed, sublicensed or sold outside the Pipelogic platform, and may not be used to build a competing component registry.
  3. Third parties. Code and model files from third parties that ship with the component keep their own licenses, which the component names under vendored: in its component.yml and on the files bound to its model slots.
  4. No warranty. The component is provided "as is", without warranty of any kind. Pipelogic is not liable for any claim or damage arising from its use, except where the law does not allow this to be excluded.

İlgili

Bu sayfa yardımcı oldu mu?