From patchwork Thu Sep 29 14:36:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 17463 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 8D055C0DA4 for ; Thu, 29 Sep 2022 14:36:37 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C97256238F; Thu, 29 Sep 2022 16:36:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1664462196; bh=2PIC0glfeeDTi0C/swNmVqcTtje8vwFIRqRLSBovgOQ=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=UuYAK+U7VM1BdIqRbY1LhaZEvpstv8OKiUBEBsbSSDBsKtkDgKQdR/W+OyKY8NuQZ Vgh3jYGV7e0dCwU2r1J3CPIh9BRojHjvr1wPR3UDJDN4RBGfUt8UlSrDmo5TMS9Ns0 i/kcgpHpZjQNmLolsbPbZxnd4A63UXeQtp2Po2NWWKM94rA33vh9s/1e/ymAvmv1WH HSDJwU/Q88+eg4qSA0pp5GXrc+638nM1UHssUaYkxTYOUK59BIZyuEWCjpEUxKF4vu 8KWHWYrNMxXWiWFhtUdS0YLBtknNmjTFRi8e59QL8Ak6gM/Z48UAd5xKoJEmS9Epc9 An9gL71dre5hQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8F45262272 for ; Thu, 29 Sep 2022 16:36:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="P5XVNmwA"; 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 D8C9347C; Thu, 29 Sep 2022 16:36:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1664462194; bh=2PIC0glfeeDTi0C/swNmVqcTtje8vwFIRqRLSBovgOQ=; h=From:To:Cc:Subject:Date:From; b=P5XVNmwAD9lgtX/CwOo8KMKz8CvUMW2XYNYNVnRYfCEhxFr+mMozk9V1qOC4E/XnH OWqAABPiChltPh2bdgzK2AtaPJDVUD5r8jUscQ5vv8PkDfKigfYKTM7Wk5TEHmOjvf 9teJFAyTiYhYTdQOk4IEsASNBEs0RtoLWFAHlnpY= To: libcamera devel Date: Thu, 29 Sep 2022 15:36:22 +0100 Message-Id: <20220929143626.3100668-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] 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. Kieran Bingham (4): meson: Shared Object version handling utils: semver: Add version helper utils: semver: Document licence and source utils: Provide a release script meson.build | 15 ++ src/libcamera/base/meson.build | 1 + src/libcamera/meson.build | 1 + utils/release.sh | 48 ++++ utils/semver | 422 +++++++++++++++++++++++++++++++++ 5 files changed, 487 insertions(+) create mode 100755 utils/release.sh create mode 100755 utils/semver