Our public-facing git server has not been spared from crawlers and slows
down to a crawl on occasion as a result.

All git.pengutronix.de links in the barebox repository are also mirrored
on Github. They also have availability issue, but less pronounced, so
point at those instead for now.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 .../user/appendix-development-host-setup.rst  |  2 +-
 Documentation/user/barebox.rst                | 19 +++++++++++--------
 Documentation/user/bootchooser.rst            |  2 +-
 Documentation/user/security.rst               |  2 +-
 Documentation/user/state.rst                  |  2 +-
 scripts/git-origin-url.sh                     |  2 +-
 scripts/include/string_util.h                 |  2 +-
 security/Kconfig                              |  2 +-
 8 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/Documentation/user/appendix-development-host-setup.rst 
b/Documentation/user/appendix-development-host-setup.rst
index 88baf5f3794a..496fcf50cb5d 100644
--- a/Documentation/user/appendix-development-host-setup.rst
+++ b/Documentation/user/appendix-development-host-setup.rst
@@ -31,7 +31,7 @@ A good alternative terminal program is microcom. On Debian it 
can be installed
 with ``apt-get install microcom``, on other distributions it can be installed
 from source:
 
-https://git.pengutronix.de/cgit/tools/microcom
+https://github.com/pengutronix/microcom
 
 Usage is simple:
 
diff --git a/Documentation/user/barebox.rst b/Documentation/user/barebox.rst
index 2f32a0a8a4ec..2fac861327db 100644
--- a/Documentation/user/barebox.rst
+++ b/Documentation/user/barebox.rst
@@ -18,15 +18,15 @@ can be checked out as follows:
 
 .. code-block:: console
 
-  $ git clone https://git.pengutronix.de/git/barebox
+  $ git clone https://github.com/barebox/barebox
   Cloning into 'barebox'...
-  remote: Enumerating objects: 330649, done.
-  remote: Counting objects: 100% (3932/3932), done.
-  remote: Compressing objects: 100% (2203/2203), done.
-  remote: Total 330649 (delta 2421), reused 2217 (delta 1706), pack-reused 
326717
-  Receiving objects: 100% (330649/330649), 82.03 MiB | 14.88 MiB/s, done.
-  Resolving deltas: 100% (265076/265076), done.
-  Updating files: 100% (19054/19054), done.
+  remote: Enumerating objects: 363788, done.
+  remote: Counting objects: 100% (2704/2704), done.
+  remote: Compressing objects: 100% (605/605), done.
+  remote: Total 363788 (delta 2251), reused 2132 (delta 2098), pack-reused 
361084 (from 3)
+  Receiving objects: 100% (363788/363788), 126.86 MiB | 8.19 MiB/s, done.
+  Resolving deltas: 100% (279758/279758), done.
+  Updating files: 100% (21470/21470), done.
 
 By default, the master branch is checked out. If you want to develop for
 barebox, this is the right branch to send patches against.
@@ -39,6 +39,9 @@ you can look at the ``next`` branch:
   $ git checkout -b next remotes/origin/next
 
 A web interface to the repository is available at
+https://github.com/barebox/barebox
+
+as well as at:
 https://git.pengutronix.de/cgit/barebox
 
 .. _configuration:
diff --git a/Documentation/user/bootchooser.rst 
b/Documentation/user/bootchooser.rst
index bf8990aa2233..6d5cb3ff8b3f 100644
--- a/Documentation/user/bootchooser.rst
+++ b/Documentation/user/bootchooser.rst
@@ -150,7 +150,7 @@ It can also be controlled from barebox via the 
:ref:`bootchooser command <comman
   bootchooser -L # unlock
 
 
-.. _dt-utils: https://git.pengutronix.de/cgit/tools/dt-utils
+.. _dt-utils: https://github.com/barebox/dt-utils
 
 General Bootchooser Options
 ---------------------------
diff --git a/Documentation/user/security.rst b/Documentation/user/security.rst
index 0cdb0777719c..a7b2cc61c9b0 100644
--- a/Documentation/user/security.rst
+++ b/Documentation/user/security.rst
@@ -81,7 +81,7 @@ and disabling any ways that could be used to override this.
 For development convenience ``CONFIG_CRYPTO_BUILTIN_DEVELOPMENT_KEYS``
 can be used to compile well known development keys into the barebox binary.
 The private keys for these keys can be found
-`[here] <https://git.pengutronix.de/cgit/ptx-code-signing-dev>`__.
+`[here] <https://github.com/pengutronix/ptx-code-signing-dev>`__.
 
 Pinning the FIT configuration
 -----------------------------
diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst
index f4c9d0647c53..71558fe998a6 100644
--- a/Documentation/user/state.rst
+++ b/Documentation/user/state.rst
@@ -30,7 +30,7 @@ fail and be non-functional.
 For the Linux run-time there is a userspace tool_ to do
 the same.
 
-.. _tool: https://git.pengutronix.de/cgit/tools/dt-utils/
+.. _tool: https://github.com/barebox/dt-utils/
 
 To define a *state* variable set, a devicetree based description is used. 
Refer to
 :ref:`barebox,state` for further details.
diff --git a/scripts/git-origin-url.sh b/scripts/git-origin-url.sh
index 3aa15561c474..e587e0cf6c9d 100755
--- a/scripts/git-origin-url.sh
+++ b/scripts/git-origin-url.sh
@@ -5,7 +5,7 @@ set -euo pipefail
 
 # Some very early hashes to identify the projects by
 declare -A repos=(
-    
["a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97"]="https://git.pengutronix.de/cgit/barebox";
+    
["a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97"]="https://github.com/barebox/barebox";
     
["1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"]="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git";
     
["cc8ed39b240180b58810784f844e253263594ac3"]="https://git.busybox.net/busybox";
     
["7e492d8258182e31c988bbf9917d4a3d41949d56"]="https://github.com/u-boot/u-boot";
diff --git a/scripts/include/string_util.h b/scripts/include/string_util.h
index e71aa60d26b6..14b0450ec929 100644
--- a/scripts/include/string_util.h
+++ b/scripts/include/string_util.h
@@ -5,7 +5,7 @@
 #include <stddef.h>
 
 // SPDX-SnippetBegin
-// SPDX-Snippet-Comment: Origin-URL: 
https://git.pengutronix.de/cgit/barebox/tree/lib/string.c?id=dfcf686f94a5a5387660f2afab79a714baab828a
+// SPDX-Snippet-Comment: Origin-URL: 
https://github.com/barebox/barebox/blob/dfcf686f94a5a5387660f2afab79a714baab828a/lib/string.c
 
 /**
  * strsep_unescaped - Split a string into tokens, while ignoring escaped 
delimiters
diff --git a/security/Kconfig b/security/Kconfig
index cb5cc2b92bc2..9881864cea7e 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -88,7 +88,7 @@ config CRYPTO_BUILTIN_DEVELOPMENT_KEYS
          used to authenticate FIT images during development. The private keys 
can
          be found at [1]. This option should never be enabled in a production 
build.
 
-         [1] https://git.pengutronix.de/cgit/ptx-code-signing-dev/
+         [1] https://github.com/pengutronix/ptx-code-signing-dev
 
 config CRYPTO_KEYSTORE
        bool "Keystore"
-- 
2.47.3


Reply via email to