Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Packaging: the two release lanes disagree on shipping the GPL license text — team decision needed

Đã đóng
#751 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #787 của @Amperstrand — đã merge

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
build-system

Hướng nghiên cứu

Read packaging/local-build-ipk.sh and packaging/Makefile to verify the stated packaging difference. The issue explicitly leaves the policy choice to the team, so wait for a decision before changing either lane; done means implementing the chosen outcome and updating equivalence handling if needed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Migrated from Amperstrand/tollgate-module-basic-go#92 as part of the fork retirement — OpenTollGate/tollgate-module-basic-go is the single source of truth; the fork issue carries the original discussion and any lab evidence. Retirement plan: see the tracking issue linked in the migration comment there.]

Factual divergence (no recommendation attached — decision for the team)

Surfaces from the SDK-vs-SDK-free equivalence spike on main @ d0cb92f (context: upstream OpenTollGate#371, #383).

The two packaging lanes stage the license text differently:

Lane License handling
SDK-free .ipk (packaging/local-build-ipk.sh) Installs the GPL-3.0 text into the payload as /usr/share/doc/tollgate-wrt/LICENSE
SDK .apk (packaging/Makefile, the CI apk lane) Metadata only (PKG_LICENSE:=GPL-3.0-only, PKG_LICENSE_FILES:=LICENSE); no license text inside the package

Consequences (why it needs an explicit decision rather than a silent fix):

  1. Content divergence between formats: .ipk artifacts ship the license text; .apk artifacts built by CI do not. Same version, different contents.
  2. Blocks byte-equivalence between the lanes — this single file (~35 KB GPL text) is the only content difference the spike found between the two staging lists (everything else matches).
  3. GPL-distribution relevance: shipping the text alongside the binary is the compliance-conservative direction; OpenWrt feed packages commonly rely on metadata instead. Both positions are defensible — this is precisely not a call for an agent to make.

Possible outcomes (listed neutrally):

  • Add the install line to packaging/Makefile → both lanes ship it (.apk grows ~35 KB)
  • Remove the install from local-build-ipk.sh → neither ships the text, metadata only
  • Keep as-is and document the divergence (equivalence tooling then treats it as a known, allowed delta)

Until decided, the equivalence tooling mirrors the SDK lane (the designated oracle) and reports this delta loudly with a link here.

Ngôn ngữ chính
Go
Star
12
Fork
14
Merge trung bình
3 ngày 21 giờ
Pull request đã merge (30 ngày)
269

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenTollGate/tollgate-module-basic-go

Tất cả issue của OpenTollGate/tollgate-module-basic-go

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.