From patchwork Fri Sep 30 23:28:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 17476 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 51ED9BD16B for ; Fri, 30 Sep 2022 23:28:37 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 424B962858; Sat, 1 Oct 2022 01:28:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1664580516; bh=yRbgCB9SBwJ233EfkKhJ6h5S97AkbeLapaaqT9K7lIA=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Rbez5B3wp5MAeDv3EXD0H07E2JrNG0gRFIEqlmjk6ZoEMDoZVsoVxqzCUWqDu+bOO hgN9wzI1X177jqtGmn5DEqEyl9ateZbBvpK36h47X0GEerYUvZE4+TsYLZdo0bq5Q9 f9ze2BmzHyjF2HKLHKnhotvyM987GcyIuznQOiOkiCYjunQYYxINujpXPlclCiuqoC mLY/QyeeLryP2+07EKVPBITDgqnx+p1lH3f1uxch3phOXpksdeqv1alNBwmjbSd1wp YcnjubrebEBaYOdDpb1nwXMtWm7OxTBVIjGcPNiWLMLIKUYKFoRKr1D4bE0x+6T18J d3sPoIUp+P3bQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D8A1661F75 for ; Sat, 1 Oct 2022 01:28:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="tGt/Tmx8"; dkim-atps=neutral Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4592359D; Sat, 1 Oct 2022 01:28:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1664580514; bh=yRbgCB9SBwJ233EfkKhJ6h5S97AkbeLapaaqT9K7lIA=; h=From:To:Cc:Subject:Date:From; b=tGt/Tmx8iWa8IAAY5UH3CVKZ+7L+8fTqkbZEk8xrtRESQX1Q9NLQuQaQL0cD3VnKB GkAcc3LBUGvzZaPkPbuXH0eKZEeaCtQmctlMRL5xakzpwslqaKoYuFD9QaytbC7PhR iylgs2LmB8hEcdkfQjvbRt/Qn1BH2GlJh5YIV2ZI= To: libcamera devel Date: Sat, 1 Oct 2022 00:28:21 +0100 Message-Id: <20220930232826.82753-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/5] Add release infrastructure 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: , X-Patchwork-Original-From: Kieran Bingham via libcamera-devel From: Kieran Bingham Reply-To: Kieran Bingham Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" To facilitate making releases of libcamera, extend the shared_library targets for libcamera and libcamera-base to include both the major and minor component in the soname. Add a semver helper script, taken from https://github.com/fsaintjacques/semver-tool and separately update this with an SPDX tag and source. Finally, provide a helper release script which will update the version of the top level meson.build and tag it accordingly. A small typo is fixed at the beginning of the series. Kieran Bingham (5): meson: Fix typo meson: Shared Object version handling utils: semver: Add version helper utils: semver: Document licence and source utils: Provide a release script Documentation/Doxyfile.in | 4 +- meson.build | 17 +- src/libcamera/base/meson.build | 1 + src/libcamera/meson.build | 1 + utils/release.sh | 45 ++++ utils/semver | 422 +++++++++++++++++++++++++++++++++ 6 files changed, 488 insertions(+), 2 deletions(-) create mode 100755 utils/release.sh create mode 100755 utils/semver