Cover Letter Detail
Show a cover letter.
GET /api/1.1/covers/9667/?format=api
{ "id": 9667, "url": "https://patchwork.libcamera.org/api/1.1/covers/9667/?format=api", "web_url": "https://patchwork.libcamera.org/cover/9667/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20200918152019.784315-1-tomi.valkeinen@iki.fi>", "date": "2020-09-18T15:20:15", "name": "[libcamera-devel,RFC,0/4] prototype python bindings", "submitter": { "id": 70, "url": "https://patchwork.libcamera.org/api/1.1/people/70/?format=api", "name": "Tomi Valkeinen", "email": "tomi.valkeinen@iki.fi" }, "mbox": "https://patchwork.libcamera.org/cover/9667/mbox/", "series": [ { "id": 1297, "url": "https://patchwork.libcamera.org/api/1.1/series/1297/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1297", "date": "2020-09-18T15:20:15", "name": "prototype python bindings", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1297/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/9667/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 1291DBF01C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 18 Sep 2020 15:21:00 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 839C162FB5;\n\tFri, 18 Sep 2020 17:20:59 +0200 (CEST)", "from mail-lj1-x229.google.com (mail-lj1-x229.google.com\n\t[IPv6:2a00:1450:4864:20::229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B5CC662F4F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 18 Sep 2020 17:20:57 +0200 (CEST)", "by mail-lj1-x229.google.com with SMTP id n25so5424133ljj.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 18 Sep 2020 08:20:57 -0700 (PDT)", "from deskari.ti.com (91-152-83-50.elisa-laajakaista.fi.\n\t[91.152.83.50]) by smtp.gmail.com with ESMTPSA id\n\ti63sm666472lji.66.2020.09.18.08.20.55\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 18 Sep 2020 08:20:56 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"hRP+7N1c\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=R4nHoGZ7dAb+NAJgzodJYAQUlWgD7KAxhmX3Qd4lJ18=;\n\tb=hRP+7N1c6B9roQbmPIMIsUlzczAWatejF/zOWiwGPVbnXiShxdT2S2QJUQhb7Og8cE\n\tgL6WLMfD2eQRyiMWJBbOnIhWIU4cR1ZOHusoF317887E/SvDG3lbGgZ3aWcZ151fNfeF\n\tOYXNGpScJRkv830t2Ccs8AXzcjjidyZH2ERoC4iNZAOeXW7Q5GqRd9Cxl3oMketv0UMW\n\tRYvmC07aqyOuiQyGgDDvBt6sj78crjf3yKN03fG0vdX08h1L1ts7YwcAypkNk8BYg5gG\n\tj+iQvu1RZikkju1+so41h8Jzu1ACCmHZYvRiHTRdSaGuuRBIzGALzPe3XhmnJ1u9FJai\n\tK5VA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:mime-version:content-transfer-encoding;\n\tbh=R4nHoGZ7dAb+NAJgzodJYAQUlWgD7KAxhmX3Qd4lJ18=;\n\tb=QSKGFNULbr5RBVi1/H7y3Mb/HIxJ4FOQw8EMkUyqDk+3bTxdEeluA98BMb5KQCy0PG\n\t86Cz/llqr20HyLzg+2pwzz7IWRjDY1LlfOepd4zW5pVDr5XNPi4s99w0wN2mrR/4WI8K\n\t4U82Uj8viazxE9dHyCginG2vSWzJSXsqRqkoYAGYCc+jnfQWsPZjZZHfYPN3aemAGi3w\n\tZz8Fg3Fi73FkT0hlTG+1EFWrOmi8NGk9/uekuC2PajXKIh5yGHmnVglMKZK32XIRID3G\n\tIDBgScS/6MGiNq2JBVh/AVea/y+9AjlpTeajN0Q7CZswI+Cnq0SKX+aYxBDhQ2lZES6G\n\tClVw==", "X-Gm-Message-State": "AOAM5338XDqxiOwEYFQUUHlyXl65TLq9aOgcGbAdX3BG3XjlsCrmTZIP\n\tjuIeoHQt+1Yq06AWtKnzPwZqG6k1lIIABA==", "X-Google-Smtp-Source": "ABdhPJwSsRWVugo0V9i2KQM/Cd1IF1NHt8pm632Ug8NwI33LKpid9rCo+lqJ8NsMYrEWEHuteaScAg==", "X-Received": "by 2002:a05:651c:514:: with SMTP id\n\to20mr12804612ljp.312.1600442456686; \n\tFri, 18 Sep 2020 08:20:56 -0700 (PDT)", "From": "Tomi Valkeinen <tomi.valkeinen@iki.fi>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 18 Sep 2020 18:20:15 +0300", "Message-Id": "<20200918152019.784315-1-tomi.valkeinen@iki.fi>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [RFC 0/4] prototype python bindings", "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>", "Cc": "Tomi Valkeinen <tomi.valkeinen@iki.fi>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Hi,\n\nLaurent asked me to send these to get discussions about the challenges\non the list (rather than in private chats...).\n\nThis is a prototype, RFC, hack, whatever you want to call it, but it\nworks for me for the small subset of features used in test.py.\n\nThe main patch \"libcamera python bindings\" has some questions/issues\nlisted in the description, and I've added comments to the code where I'm\nnot sure where to go.\n\nThere were no submodules in libcamera, so I used the same convention\nI've used in kms++: ext/<submodule>. pybind11 could be added as\nsomething that comes from the system (at least Ubuntu 20.04 has it), but\nas it's header only, I think having it as a submodule is the easiest and\nmost manageable way to add it.\n\n Tomi\n\nTomi Valkeinen (4):\n Add pybind11 submodule\n Add BoundMethodFunction\n hack: Camera public destructor\n libcamera python bindings\n\n .gitmodules | 3 +\n ext/pybind11 | 1 +\n include/libcamera/bound_method.h | 25 +++++\n include/libcamera/camera.h | 2 +-\n include/libcamera/signal.h | 6 ++\n meson.build | 1 +\n meson_options.txt | 2 +\n py/meson.build | 1 +\n py/pycamera/__init__.py | 29 +++++\n py/pycamera/meson.build | 35 ++++++\n py/pycamera/pymain.cpp | 169 +++++++++++++++++++++++++++++\n py/test/run-valgrind.sh | 3 +\n py/test/run.sh | 3 +\n py/test/test.py | 177 +++++++++++++++++++++++++++++++\n py/test/valgrind-pycamera.supp | 17 +++\n 15 files changed, 473 insertions(+), 1 deletion(-)\n create mode 100644 .gitmodules\n create mode 160000 ext/pybind11\n create mode 100644 py/meson.build\n create mode 100644 py/pycamera/__init__.py\n create mode 100644 py/pycamera/meson.build\n create mode 100644 py/pycamera/pymain.cpp\n create mode 100755 py/test/run-valgrind.sh\n create mode 100755 py/test/run.sh\n create mode 100755 py/test/test.py\n create mode 100644 py/test/valgrind-pycamera.supp" }