From patchwork Sun Jul 12 22:45:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 27361 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 23CB7C3303 for ; Sun, 12 Jul 2026 22:45:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8347C66117; Mon, 13 Jul 2026 00:45:55 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="jaKlCgwz"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7776D65F9F for ; Mon, 13 Jul 2026 00:45:53 +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 2AAFE236 for ; Mon, 13 Jul 2026 00:45:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1783896300; bh=vAkobKtDz5f9yUZP1N+2El+sBHf8OcYwC+CF8vZMfhM=; h=From:To:Subject:Date:From; b=jaKlCgwz0XtLra6D7pYX+M+eV1mZZzUFch8mv1nINLv0weMKHBDu/te/cHLXYu+UZ GKp35EQYH8XOJSG5MemJeaWbhkzhevwx8Fu1VG5EBePAhZakUsiJuerZcI9urmgKhv muWLZMl1eRMMtTq0pTgRYNE+0ppHXsxZxUhn8y6c= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH v2] libcamera: Replace outdated git URLs Date: Mon, 13 Jul 2026 01:45:51 +0300 Message-ID: <20260712224551.1354426-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 redirect 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 --- Changes since v1: - Drop trailing / - Fix typo in commit message --- 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..20682d56c75d 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..abc67dd010bd 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 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..72bae182d9a1 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..63abeb7faf2c 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..97f9ab813ee7 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