From patchwork Wed Jul 8 21:55:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 27352 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 D3100C331D for ; Wed, 8 Jul 2026 21:56:01 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0D3A3660CF; Wed, 8 Jul 2026 23:56:01 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="IZ3wWmEY"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9073F61451 for ; Wed, 8 Jul 2026 23:55:59 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-70f3-e800--a06.rev.dnainternet.fi [IPv6:2001:14ba:70f3:e800::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 304411E4 for ; Wed, 8 Jul 2026 23:55:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1783547709; bh=2OZDP4n/b4mU62Evx6/YJtvBcvWrVLypRjGXPBNHwpk=; h=From:To:Subject:Date:From; b=IZ3wWmEYfEzfTUKKi+Ta4RYUb2fOnm1fmuz0shfjOxxAxz+axcpklzdp7vY8mw6cH kdUq3aI0yHuVB4Sp5kWzLgZ4Lj/9dDiwwBzUS6E7VF5DSeobriM/1MBZeD9jEQYAo6 bHWBqwxhx/pJ2ielHoEOTKOJ92UpdL2mPXN8j6ZY= From: Laurent Pinchart 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 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The libcamera main repository has moved to gitlab.freedesktop.org a while ago. https://git.libcamera.org/libcamera/libcamera/ was kept as a mirror, and has now started to redirecto to gitlab.freedesktop.org due to the Gitolite server being decommissioned. This causes several problems: URLs to files now redirect to non-existing pages, as Gitolite and Gitlab use different URL syntaxes, and "git clone" now prints a redirection warning. Even for URLs that redirect properly, following links from the libcamera documentation causes unnecessary redirections. There is no need to keep using the git.libcamera.org host name, as libcamera will stay on gitlab.freedesktop.org for the foreseable future. Fix the issues by replacing git.libcamera.org URLs with their gitlab.freedesktop.org equivalent. Signed-off-by: Laurent Pinchart --- You may notice that some repository URLs now end with a '/', for instance in - $ git clone https://git.libcamera.org/libcamera/libcamera.git + $ git clone https://gitlab.freedesktop.org/camera/libcamera.git/ or in -# https://git.libcamera.org/libcamera/simple-cam.git +# https://gitlab.freedesktop.org/camera/simple-cam.git/ When cloning a Gitlab URL that does not end with '.git', Gitlab redirects to a URL that ends with '.git/'. I have therefore decided to standardize repository URLs with a trailing '/', even if URLs without it work equally fine. --- Documentation/contributing.rst | 11 ++++------- Documentation/guides/application-developer.rst | 4 ++-- Documentation/runtime_configuration.rst | 4 ++-- README.rst | 2 +- REUSE.toml | 2 +- src/py/examples/simple-cam.py | 2 +- 6 files changed, 11 insertions(+), 14 deletions(-) base-commit: 32b0d940baaf182a9d01d4833e30bd340d4dc918 diff --git a/Documentation/contributing.rst b/Documentation/contributing.rst index 495bfb3196b3..6942ac8ebb4f 100644 --- a/Documentation/contributing.rst +++ b/Documentation/contributing.rst @@ -58,17 +58,14 @@ In the foreseeable future, the following applies: Following semantic versioning as documented at https://semver.org/ -The source code is available from the project's `git tree`_. +The source code is available from the project's `git tree`_, hosted by +Freedesktop. .. code-block:: shell - $ git clone https://git.libcamera.org/libcamera/libcamera.git + $ git clone https://gitlab.freedesktop.org/camera/libcamera.git/ -.. _git tree: https://git.libcamera.org/libcamera/libcamera.git/ - -A development mirror is also hosted on `Freedesktop`_. - -.. _Freedesktop: https://gitlab.freedesktop.org/camera/libcamera +.. _git tree: https://gitlab.freedesktop.org/camera/libcamera/ Freedesktop also provides our CI and `testing pipeline`_. diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst index a9620ca8620f..bb9a12ba9f5e 100644 --- a/Documentation/guides/application-developer.rst +++ b/Documentation/guides/application-developer.rst @@ -475,7 +475,7 @@ instance. An example of how to write image data to disk is available in the `FileSink class`_ which is a part of the ``cam`` utility application in the libcamera repository. -.. _FileSink class: https://git.libcamera.org/libcamera/libcamera.git/tree/src/apps/cam/file_sink.cpp +.. _FileSink class: https://gitlab.freedesktop.org/camera/libcamera/-/blob/master/src/apps/cam/file_sink.cpp With the handling of this request completed, it is possible to re-use the request and the associated buffers and re-queue it to the camera @@ -562,7 +562,7 @@ install the ``pkg-config`` tool to correctly identify the libcamera.so object install location in the system. .. _Meson build system: https://mesonbuild.com/ -.. _git repository: https://git.libcamera.org/libcamera/libcamera.git/ +.. _git repository: https://gitlab.freedesktop.org/camera/libcamera.git/ Dependencies ~~~~~~~~~~~~ diff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst index 2cdffb335a66..a71b715a1724 100644 --- a/Documentation/runtime_configuration.rst +++ b/Documentation/runtime_configuration.rst @@ -256,7 +256,7 @@ Log categories Every category represents a specific area of the libcamera codebase, the names can be located within the source code, for example: -`src/libcamera/camera_manager.cpp `__ +`src/libcamera/camera_manager.cpp `__ .. code:: cpp @@ -287,7 +287,7 @@ usually contain tuning parameters for the algorithms, in JSON format. The ``LIBCAMERA_IPA_CONFIG_PATH`` variable can be used to specify custom storage locations to search for those configuration files. -`Examples `__ +`Examples `__ IPA module ~~~~~~~~~~ diff --git a/README.rst b/README.rst index 56b2e0956e36..33b910c6ef3d 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ To fetch the sources, build and install: .. code:: - git clone https://git.libcamera.org/libcamera/libcamera.git + git clone https://gitlab.freedesktop.org/camera/libcamera.git/ cd libcamera meson setup build ninja -C build install diff --git a/REUSE.toml b/REUSE.toml index e7509ac41532..4783811b43e2 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -1,7 +1,7 @@ version = 1 SPDX-PackageName = "libcamera" SPDX-PackageSupplier = "Laurent Pinchart " -SPDX-PackageDownloadLocation = "https://git.libcamera.org/libcamera/libcamera.git/" +SPDX-PackageDownloadLocation = "https://gitlab.freedesktop.org/camera/libcamera/" [[annotations]] path = [ diff --git a/src/py/examples/simple-cam.py b/src/py/examples/simple-cam.py index 1cd1019da955..78cfae57ad0a 100755 --- a/src/py/examples/simple-cam.py +++ b/src/py/examples/simple-cam.py @@ -6,7 +6,7 @@ # A simple libcamera capture example # # This is a python version of simple-cam from: -# https://git.libcamera.org/libcamera/simple-cam.git +# https://gitlab.freedesktop.org/camera/simple-cam.git/ # # \todo Move to simple-cam repository when the Python API has stabilized more