Show a patch.

GET /api/patches/27352/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 27352,
    "url": "https://patchwork.libcamera.org/api/patches/27352/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/27352/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20260708215557.416365-1-laurent.pinchart@ideasonboard.com>",
    "date": "2026-07-08T21:55:57",
    "name": "libcamera: Replace outdated git URLs",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8a47c78ba4a0017f11768a47410be91274e06a13",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/27352/mbox/",
    "series": [
        {
            "id": 6050,
            "url": "https://patchwork.libcamera.org/api/series/6050/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=6050",
            "date": "2026-07-08T21:55:57",
            "name": "libcamera: Replace outdated git URLs",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/6050/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/27352/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/27352/checks/",
    "tags": {},
    "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 D3100C331D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  8 Jul 2026 21:56:01 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0D3A3660CF;\n\tWed,  8 Jul 2026 23:56:01 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9073F61451\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  8 Jul 2026 23:55:59 +0200 (CEST)",
            "from killaraus.ideasonboard.com\n\t(2001-14ba-70f3-e800--a06.rev.dnainternet.fi\n\t[IPv6:2001:14ba:70f3:e800::a06])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 304411E4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  8 Jul 2026 23:55:09 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"IZ3wWmEY\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1783547709;\n\tbh=2OZDP4n/b4mU62Evx6/YJtvBcvWrVLypRjGXPBNHwpk=;\n\th=From:To:Subject:Date:From;\n\tb=IZ3wWmEYfEzfTUKKi+Ta4RYUb2fOnm1fmuz0shfjOxxAxz+axcpklzdp7vY8mw6cH\n\tkdUq3aI0yHuVB4Sp5kWzLgZ4Lj/9dDiwwBzUS6E7VF5DSeobriM/1MBZeD9jEQYAo6\n\tbHWBqwxhx/pJ2ielHoEOTKOJ92UpdL2mPXN8j6ZY=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH] libcamera: Replace outdated git URLs",
        "Date": "Thu,  9 Jul 2026 00:55:57 +0300",
        "Message-ID": "<20260708215557.416365-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.54.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "The libcamera main repository has moved to gitlab.freedesktop.org a\nwhile ago. https://git.libcamera.org/libcamera/libcamera/ was kept as a\nmirror, and has now started to redirecto to gitlab.freedesktop.org due\nto the Gitolite server being decommissioned.\n\nThis causes several problems:  URLs to files now redirect to\nnon-existing pages, as Gitolite and Gitlab use different URL syntaxes,\nand \"git clone\" now prints a redirection warning. Even for URLs that\nredirect properly, following links from the libcamera documentation\ncauses unnecessary redirections.\n\nThere is no need to keep using the git.libcamera.org host name, as\nlibcamera will stay on gitlab.freedesktop.org for the foreseable future.\nFix the issues by replacing git.libcamera.org URLs with their\ngitlab.freedesktop.org equivalent.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\nYou may notice that some repository URLs now end with a '/', for\ninstance in\n\n-  $ git clone https://git.libcamera.org/libcamera/libcamera.git\n+  $ git clone https://gitlab.freedesktop.org/camera/libcamera.git/\n\nor in\n\n-# https://git.libcamera.org/libcamera/simple-cam.git\n+# https://gitlab.freedesktop.org/camera/simple-cam.git/\n\nWhen cloning a Gitlab URL that does not end with '.git', Gitlab\nredirects to a URL that ends with '.git/'. I have therefore decided to\nstandardize repository URLs with a trailing '/', even if URLs without it\nwork equally fine.\n---\n Documentation/contributing.rst                 | 11 ++++-------\n Documentation/guides/application-developer.rst |  4 ++--\n Documentation/runtime_configuration.rst        |  4 ++--\n README.rst                                     |  2 +-\n REUSE.toml                                     |  2 +-\n src/py/examples/simple-cam.py                  |  2 +-\n 6 files changed, 11 insertions(+), 14 deletions(-)\n\n\nbase-commit: 32b0d940baaf182a9d01d4833e30bd340d4dc918",
    "diff": "diff --git a/Documentation/contributing.rst b/Documentation/contributing.rst\nindex 495bfb3196b3..6942ac8ebb4f 100644\n--- a/Documentation/contributing.rst\n+++ b/Documentation/contributing.rst\n@@ -58,17 +58,14 @@ In the foreseeable future, the following applies:\n           Following semantic versioning as documented at https://semver.org/\n \n \n-The source code is available from the project's `git tree`_.\n+The source code is available from the project's `git tree`_, hosted by\n+Freedesktop.\n \n .. code-block:: shell\n \n-  $ git clone https://git.libcamera.org/libcamera/libcamera.git\n+  $ git clone https://gitlab.freedesktop.org/camera/libcamera.git/\n \n-.. _git tree: https://git.libcamera.org/libcamera/libcamera.git/\n-\n-A development mirror is also hosted on `Freedesktop`_.\n-\n-.. _Freedesktop: https://gitlab.freedesktop.org/camera/libcamera\n+.. _git tree: https://gitlab.freedesktop.org/camera/libcamera/\n \n Freedesktop also provides our CI and `testing pipeline`_.\n \ndiff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst\nindex a9620ca8620f..bb9a12ba9f5e 100644\n--- a/Documentation/guides/application-developer.rst\n+++ b/Documentation/guides/application-developer.rst\n@@ -475,7 +475,7 @@ instance. An example of how to write image data to disk is available in the\n `FileSink class`_ which is a part of the ``cam`` utility application in the\n libcamera repository.\n \n-.. _FileSink class: https://git.libcamera.org/libcamera/libcamera.git/tree/src/apps/cam/file_sink.cpp\n+.. _FileSink class: https://gitlab.freedesktop.org/camera/libcamera/-/blob/master/src/apps/cam/file_sink.cpp\n \n With the handling of this request completed, it is possible to re-use the\n request and the associated buffers and re-queue it to the camera\n@@ -562,7 +562,7 @@ install the ``pkg-config`` tool to correctly identify the libcamera.so object\n install location in the system.\n \n .. _Meson build system: https://mesonbuild.com/\n-.. _git repository: https://git.libcamera.org/libcamera/libcamera.git/\n+.. _git repository: https://gitlab.freedesktop.org/camera/libcamera.git/\n \n Dependencies\n ~~~~~~~~~~~~\ndiff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst\nindex 2cdffb335a66..a71b715a1724 100644\n--- a/Documentation/runtime_configuration.rst\n+++ b/Documentation/runtime_configuration.rst\n@@ -256,7 +256,7 @@ Log categories\n \n Every category represents a specific area of the libcamera codebase,\n the names can be located within the source code, for example:\n-`src/libcamera/camera_manager.cpp <https://git.libcamera.org/libcamera/libcamera.git/tree/src/libcamera/camera_manager.cpp#n35>`__\n+`src/libcamera/camera_manager.cpp <https://gitlab.freedesktop.org/camera/libcamera/-/blob/master/src/libcamera/camera_manager.cpp#L38>`__\n \n .. code:: cpp\n \n@@ -287,7 +287,7 @@ usually contain tuning parameters for the algorithms, in JSON format.\n The ``LIBCAMERA_IPA_CONFIG_PATH`` variable can be used to specify custom\n storage locations to search for those configuration files.\n \n-`Examples <https://git.libcamera.org/libcamera/libcamera.git/tree/src/ipa/rpi/vc4/data>`__\n+`Examples <https://gitlab.freedesktop.org/camera/libcamera/-/blob/master/src/ipa/rpi/vc4/data>`__\n \n IPA module\n ~~~~~~~~~~\ndiff --git a/README.rst b/README.rst\nindex 56b2e0956e36..33b910c6ef3d 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -29,7 +29,7 @@ To fetch the sources, build and install:\n \n .. code::\n \n-  git clone https://git.libcamera.org/libcamera/libcamera.git\n+  git clone https://gitlab.freedesktop.org/camera/libcamera.git/\n   cd libcamera\n   meson setup build\n   ninja -C build install\ndiff --git a/REUSE.toml b/REUSE.toml\nindex e7509ac41532..4783811b43e2 100644\n--- a/REUSE.toml\n+++ b/REUSE.toml\n@@ -1,7 +1,7 @@\n version = 1\n SPDX-PackageName = \"libcamera\"\n SPDX-PackageSupplier = \"Laurent Pinchart <laurent.pinchart@ideasonboard.com>\"\n-SPDX-PackageDownloadLocation = \"https://git.libcamera.org/libcamera/libcamera.git/\"\n+SPDX-PackageDownloadLocation = \"https://gitlab.freedesktop.org/camera/libcamera/\"\n \n [[annotations]]\n path = [\ndiff --git a/src/py/examples/simple-cam.py b/src/py/examples/simple-cam.py\nindex 1cd1019da955..78cfae57ad0a 100755\n--- a/src/py/examples/simple-cam.py\n+++ b/src/py/examples/simple-cam.py\n@@ -6,7 +6,7 @@\n # A simple libcamera capture example\n #\n # This is a python version of simple-cam from:\n-# https://git.libcamera.org/libcamera/simple-cam.git\n+# https://gitlab.freedesktop.org/camera/simple-cam.git/\n #\n # \\todo Move to simple-cam repository when the Python API has stabilized more\n \n",
    "prefixes": []
}