{"id":17590,"url":"https://patchwork.libcamera.org/api/covers/17590/?format=json","web_url":"https://patchwork.libcamera.org/cover/17590/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20221013095957.1642901-1-kieran.bingham@ideasonboard.com>","date":"2022-10-13T09:59:54","name":"[libcamera-devel,v4,0/3] Add release infrastructure","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/17590/mbox/","series":[{"id":3553,"url":"https://patchwork.libcamera.org/api/series/3553/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3553","date":"2022-10-13T09:59:54","name":"Add release infrastructure","version":4,"mbox":"https://patchwork.libcamera.org/series/3553/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/17590/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 934C8BD16B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 13 Oct 2022 10:00:04 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 616BF62DB3;\n\tThu, 13 Oct 2022 12:00:03 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B84B361F6E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Oct 2022 12:00:01 +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 2A618492;\n\tThu, 13 Oct 2022 12:00:01 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1665655203;\n\tbh=M/XZLHBZn8saNkS40YElh9uqENt3snyj27ZiVTG318w=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=ChGKLYgGSduKrpTbFB0qI7tt/vTDtO+LR+Eb3hymDZpneiL/eR+lz6gWp6XTxOWQQ\n\tYh4T+xYKUbnI1J8eu91OUVwYFf0+eV+fOq4NNOIGVH7uqzFfus+JR3sbqNs00nkbYE\n\tjdgQCuka8NmgVB5kKFmAsCU+OR7b4kBBWuRraPysSntzBwG/JtmSsIi4NHEUFTfIfZ\n\t4ikgSDMtB9lx2ZrAdWYY+CbXp6BScr7RuhsdAXk77xo0jpiV+cGZpomxqiDzXITxaR\n\tOioLeZ9uebYfRlzggt87qxvx6NpJcf6XBrONfJ1ylWMuttWBSyvcviD0BPVT6cDM/S\n\t2JjSJ1s4qQuUA==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1665655201;\n\tbh=M/XZLHBZn8saNkS40YElh9uqENt3snyj27ZiVTG318w=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=CtL3UXKk+AF8MYFFAWYTrE5v3jTVFrODML2Pop5MIBMeLrNHpuRv6nRG8spDggqC8\n\tKaC/3l8nwY57Cs17AqbQOYT6qYUvgDKSTb/rK0ZerOABz9WvEiUF5DHhHoJjlY8nlF\n\tW/DSF9Eqn8gZLNXsa/VCc+VzYVnSm7Vfm1OuZZlk="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"CtL3UXKk\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Thu, 13 Oct 2022 10:59:54 +0100","Message-Id":"<20221013095957.1642901-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 v4 0/3] 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 to facilitate working with\nsemver values.\n\nFinally, provide a helper release script which will update the version\nof the top level meson.build and tag it accordingly. The releaser has\nthe opportunity to provide a description and release message detailing\nwhat this release covers.\n\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\nlibcamera 1.0.0\n\n  Versions\n    libcamera git version    : 0.0.0+3990-cd68bb99-dirty (2022-10-13T10:38:15+01:00)\n    Source version match     : NO\n    Sources                  : 1.0.0+3990-cd68bb99-dirty (2022-10-13T10:38:15+01:00)-nvm\n\n\nKieran Bingham (3):\n  meson: Shared Object version handling\n  utils: semver: Add version helper\n  utils: Provide a release script\n\n Documentation/Doxyfile.in      |   2 +\n meson.build                    |  32 +++\n src/libcamera/base/meson.build |   1 +\n src/libcamera/meson.build      |   1 +\n utils/release.sh               |  46 ++++\n utils/semver                   | 446 +++++++++++++++++++++++++++++++++\n 6 files changed, 528 insertions(+)\n create mode 100755 utils/release.sh\n create mode 100755 utils/semver"}