[{"id":38495,"web_url":"https://patchwork.libcamera.org/comment/38495/","msgid":"<20260405194002.GJ3757725@killaraus.ideasonboard.com>","date":"2026-04-05T19:40:02","subject":"Re: [libcamera-ci] [PATCH 0/4] Catch missing license information in\n\tCI","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"On Sun, Apr 05, 2026 at 10:22:04PM +0300, Laurent Pinchart wrote:\n> Hello,\n> \n> libcamera uses SPDX headers to convey license information, and the REUSE\n> specification and tool to ensure all files have a license. As the rule\n> is not enforced by tools, files with missing license information\n> regularly slip in.\n> \n> This series adds a CI job to catch missing license information. It\n> should be applied after merging \"[PATCH 00/11] libcamera: Fix missing\n> license information\" ([1]) in libcamera to fix existing license\n> identifiers issues.\n> \n> Patch 1/4 is a small drive by cleanup that drops a now unneeded meson\n> option. Patches 2/4 and 3/4 move some jobs from Debian 12 to Debian 13,\n> and then installs the packages those jobs depend on in the Debian 13\n> container only. Patch 4/4 finally adds the new license check job with\n> the REUSE tool.\n> \n> [1] https://patchwork.libcamera.org/project/libcamera/list/?series=5866\n\nHere's the log of the license lint job with [1] applied:\n\nhttps://gitlab.freedesktop.org/pinchartl/libcamera/-/jobs/96843101\n\n> Laurent Pinchart (4):\n>   Drop manual C++20 selection\n>   Move jobs to Debian 13\n>   Install documentation and lint packages in Debian 13 container only\n>   Add lint job to check licenses\n> \n>  .gitlab-ci/lint-reuse.sh          | 26 ++++++++++++++++++++\n>  .gitlab-ci/meson/libc++.native    |  2 ++\n>  .gitlab-ci/meson/libstdc++.native |  2 ++\n>  .gitlab-ci/setup-container.sh     | 28 ++++++++++------------\n>  gitlab-ci.yml                     | 40 ++++++++++++++++++++-----------\n>  5 files changed, 68 insertions(+), 30 deletions(-)\n>  create mode 100755 .gitlab-ci/lint-reuse.sh\n> \n> \n> base-commit: 76dc8c2d642c562f372b6147e94e904f119a66f1","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 30BADBEFBE\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  5 Apr 2026 19:40:06 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5AC3862D6A;\n\tSun,  5 Apr 2026 21:40:05 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B831D62D0D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:40:03 +0200 (CEST)","from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 5DD486AF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:38:37 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"K0LtZ8xd\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1775417917;\n\tbh=YAiUpr9qwilBd8R+E7n3ITcgbZSSFbtoqb2AmHmkJmM=;\n\th=Date:From:To:Subject:References:In-Reply-To:From;\n\tb=K0LtZ8xdz3hSzlyyAELtTaFG+eCHrxbde55bnHJ6cYxFEOw1ag7Pph6+0bebfracS\n\t6n0lZZGmKrnVp+RVlLlJgsaoJO87KxHls26KJ0ClI3UB5nVfrJVHtYFQBo8gPSwOn9\n\tSmYkDPKznQfRSHcCU0yejT+/Altg1sJLwPBzfZG8=","Date":"Sun, 5 Apr 2026 22:40:02 +0300","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"Re: [libcamera-ci] [PATCH 0/4] Catch missing license information in\n\tCI","Message-ID":"<20260405194002.GJ3757725@killaraus.ideasonboard.com>","References":"<20260405192211.1210985-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20260405192211.1210985-1-laurent.pinchart@ideasonboard.com>","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]