From patchwork Sun Apr 5 19:22:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26428 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E72E2BDCBD for ; Sun, 5 Apr 2026 19:22:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D656262D6C; Sun, 5 Apr 2026 21:22:13 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="W9VHvnMU"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B92DB62D0D for ; Sun, 5 Apr 2026 21:22:12 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 6755C6AF for ; Sun, 5 Apr 2026 21:20:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1775416846; bh=N8595foykcudpTZaopLYrvYCPTFesIF+zrvlBulp8F8=; h=From:To:Subject:Date:From; b=W9VHvnMUurrshQUYmZLCWgX9SQhS7AyXqtvn7b9ck29M0YUSLz72I+yWwOV7pAXoN 16P2T46zyjD5dfjzXpV65bNup5WxlFpaqt6ELFQsBfgyF2DldJjKfncgeGLdzSHpfz ybme2uSkJSWS1HMcaBb7redbS6DP8sYj4YMMmGnU= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [PATCH 0/4] Catch missing license information in CI Date: Sun, 5 Apr 2026 22:22:04 +0300 Message-ID: <20260405192211.1210985-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hello, libcamera uses SPDX headers to convey license information, and the REUSE specification and tool to ensure all files have a license. As the rule is not enforced by tools, files with missing license information regularly slip in. This series adds a CI job to catch missing license information. It should be applied after merging "[PATCH 00/11] libcamera: Fix missing license information" ([1]) in libcamera to fix existing license identifiers issues. Patch 1/4 is a small drive by cleanup that drops a now unneeded meson option. Patches 2/4 and 3/4 move some jobs from Debian 12 to Debian 13, and then installs the packages those jobs depend on in the Debian 13 container only. Patch 4/4 finally adds the new license check job with the REUSE tool. [1] https://patchwork.libcamera.org/project/libcamera/list/?series=5866 Laurent Pinchart (4): Drop manual C++20 selection Move jobs to Debian 13 Install documentation and lint packages in Debian 13 container only Add lint job to check licenses .gitlab-ci/lint-reuse.sh | 26 ++++++++++++++++++++ .gitlab-ci/meson/libc++.native | 2 ++ .gitlab-ci/meson/libstdc++.native | 2 ++ .gitlab-ci/setup-container.sh | 28 ++++++++++------------ gitlab-ci.yml | 40 ++++++++++++++++++++----------- 5 files changed, 68 insertions(+), 30 deletions(-) create mode 100755 .gitlab-ci/lint-reuse.sh base-commit: 76dc8c2d642c562f372b6147e94e904f119a66f1