{"id":17572,"url":"https://patchwork.libcamera.org/api/1.1/covers/17572/?format=json","web_url":"https://patchwork.libcamera.org/cover/17572/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20221010173214.3547133-1-kieran.bingham@ideasonboard.com>","date":"2022-10-10T17:32:09","name":"[libcamera-devel,v3,0/5] Add release infrastructure","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/17572/mbox/","series":[{"id":3550,"url":"https://patchwork.libcamera.org/api/1.1/series/3550/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3550","date":"2022-10-10T17:32:09","name":"Add release infrastructure","version":3,"mbox":"https://patchwork.libcamera.org/series/3550/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/17572/comments/","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 6BC69C0DA4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 10 Oct 2022 17:33:25 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 57B0662D6E;\n\tMon, 10 Oct 2022 19:33:24 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 161BA62272\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 10 Oct 2022 19:33:23 +0200 (CEST)","from Monstersaurus.ksquared.org.uk.beta.tailscale.net\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7B5BCBB0;\n\tMon, 10 Oct 2022 19:33:22 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1665423204;\n\tbh=iGjbpvPeOLsKnkPN1J9MZFa1FUDJte6JOb3n49YzBLo=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=Sre9Xr/zRGC67c2dCciGhavoGGNjIBpBexY9b6RAfl9NFBkChaHPD/ewiJIfy6R49\n\tw8I2Ps8NnW9urIc623E7yCoKn1DTQQJFJpTBEeZJqT0nmoSW/QR3wGLeYAVoLHRfUr\n\t2iNgvAfinilrGvacr2LjDf2c2XAezjVZ54M5tg7h4r22fg4PFeqAzdj0vwDQZdUD6L\n\tq3lagF2MvwaMiD/rc5I1Esj31ezQHdMT84C33TUIbVZiO8SEc+EeMfs9vP3iFjgdaK\n\tg3sX11TkIbmCNTC816DH3I51p/IVCi+S+soU8hmo76n7GnPGpG2juOp5NEtiseINNs\n\tridBAkIm1IjTw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1665423202;\n\tbh=iGjbpvPeOLsKnkPN1J9MZFa1FUDJte6JOb3n49YzBLo=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=CrFnEGqk/R1oVeJYPsy9o5epjBPRHSnFcAePJ6PXRXcmh+khKxQLtdwBYmBeH35mw\n\tL1iM2LZ3pb/i8tFXatOiwG4qrzDHpfpdLlI54U2D5pRxaW09wRg77b3TtHRioLs3yw\n\tmvk4nGlVgOYZQB0Be6hngSiLq1W4LQVzeufE0odY="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"CrFnEGqk\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Mon, 10 Oct 2022 18:32:09 +0100","Message-Id":"<20221010173214.3547133-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/5] Add release infrastructure","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>","From":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"To facilitate making releases of libcamera, extend the shared_library\ntargets for libcamera and libcamera-base to include both the major,\nminor and patch component in the soname. This could be reduced to only\nthe major and minor when we release any stable branches.\n\nFurthermore, add a semver helper script, taken from\nhttps://github.com/fsaintjacques/semver-tool and separately update this\nwith an SPDX tag. The SPDX tag has been proposed for merge upstream.\n\nFinally, provide a helper release script which will update the version\nof the top level meson.build and tag it accordingly.\n\nA small typo is fixed at the beginning of the series.\n\nIn the event that the sources (meson.project_version(), and\nutils/gen-version.sh) disagree, the meson.project_version() becomes the\nsource of truth, while the git version information for the sha1 is\nretained. A warning message will be printed, both at the time of\ndetection, and within the Versions summary section to highlight this.\n\nFor example:\n\n  Project version: 1.0.0\n  ...\n  meson.build:33: WARNING: The sources disagree about the version: 0.0.0 != 1.0.0\n  ...\n  libcamera 1.0.0\n\n  Versions\n    Source version override  : True\n    project                  : 1.0.0\n    sources                  : 1.0.0+3991-20fe9868-dirty (2022-10-10T18:22:59\n    soname                   : 1.0.0\n\n\nKieran Bingham (5):\n  meson: Fix typo\n  meson: Shared Object version handling\n  utils: semver: Add version helper\n  utils: semver: Document licence and source\n  utils: Provide a release script\n\n Documentation/Doxyfile.in      |   4 +-\n meson.build                    |  25 +-\n src/libcamera/base/meson.build |   1 +\n src/libcamera/meson.build      |   1 +\n utils/release.sh               |  44 ++++\n utils/semver                   | 420 +++++++++++++++++++++++++++++++++\n 6 files changed, 493 insertions(+), 2 deletions(-)\n create mode 100755 utils/release.sh\n create mode 100755 utils/semver"}