change git.archlinux -> gitlab.archlinux

Message ID CAGSYP5L0USZijyV-7XXGNxLtBEXJaOBcV9MyQzHAzcCHs_yVew@mail.gmail.com
State New
Headers show
Series change git.archlinux -> gitlab.archlinux | expand

Commit Message

turret July 15, 2021, 1:57 a.m. UTC
From 63d463d1e8e6f8af4db564d856f691be1be2360f Mon Sep 17 00:00:00 2001
From: turret-dev <turret@turret-studios.tk>
Date: Wed, 14 Jul 2021 20:10:12 -0500
Subject: [PATCH] change git.archlinux -> gitlab.archlinux

---
 INSTALL                 | 2 +-
 README.md               | 4 ++--
 TESTING                 | 2 +-
 doc/i18n.txt            | 2 +-
 web/template/footer.php | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

?></a></p>
  <?php endif; ?>
  <p><?= __('Copyright %s 2004-%d aurweb Development Team.', '&copy;',
date('Y')) ?></p>
  <p><?= __('AUR packages are user produced content. Any use of the
provided files is at your own risk.') ?></p>

Comments

Eli Schwartz July 15, 2021, 2:17 a.m. UTC | #1
On 7/14/21 9:57 PM, turret via aur-dev wrote:
>   <div id="footer">
>   <?php if ($ver): ?>
> - <p>aurweb <a href="https://git.archlinux.org/aurweb.git/log/?h=<?=
> htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver)
> ?></a></p>
> + <p>aurweb <a href="https://gitlab.archlinux.org/archlinux/aurweb/-/tree/<?=
> htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver)
> ?></a></p>
>   <?php endif; ?>
>   <p><?= __('Copyright %s 2004-%d aurweb Development Team.', '&copy;',
> date('Y')) ?></p>
>   <p><?= __('AUR packages are user produced content. Any use of the
> provided files is at your own risk.') ?></p>


This seems to have been terribly mangled by use of some mail user agent
other than the git-send-email program (most email clients will mangle
stuff one way or another). For general knowledge, this guide can help:
https://git-send-email.io/

Patch looks good in principle though -- so I'll just locally apply it
via https://pastebin.com/raw/taqXUZkz which you linked on aur-general,
with some minor tweaks.

Style nit: commit message can be prepended with "migrate all links from".

To gitlab.archlinux.org:archlinux/aurweb.git
   07e70690..8bf63845  HEAD -> master

Patch

diff --git a/INSTALL b/INSTALL
index a32d6f5a..9bcd0759 100644
--- a/INSTALL
+++ b/INSTALL
@@ -12,7 +12,7 @@  read the instructions below.
 1) Clone the aurweb project:

    $ cd /srv/http/
-   $ git clone git://git.archlinux.org/aurweb.git
+   $ git clone https://gitlab.archlinux.org/archlinux/aurweb.git

 2) Setup a web server with PHP and MySQL. Configure the web server to redirect
    all URLs to /index.php/foo/bar/. The following block can be used with nginx:
diff --git a/README.md b/README.md
index 77f3b13d..d43c6b64 100644
--- a/README.md
+++ b/README.md
@@ -29,8 +29,8 @@  Directory Layout
 Links
 -----

-* The repository is hosted at git://git.archlinux.org/aurweb.git -- see
-  doc/CodingGuidelines for information on the patch submission process.
+* The repository is hosted at https://gitlab.archlinux.org/archlinux/aurweb
+  -- see doc/CodingGuidelines for information on the patch submission process.

 * Bugs can (and should) be submitted to the aurweb bug tracker:
   https://bugs.archlinux.org/index.php?project=2
diff --git a/TESTING b/TESTING
index 972bce2c..a88464a5 100644
--- a/TESTING
+++ b/TESTING
@@ -7,7 +7,7 @@  INSTALL.

 1) Clone the aurweb project:

-    $ git clone git://git.archlinux.org/aurweb.git
+    $ git clone https://gitlab.archlinux.org/archlinux/aurweb.git

 2) Install the necessary packages:

diff --git a/doc/i18n.txt b/doc/i18n.txt
index 8216c084..44fb0f1f 100644
--- a/doc/i18n.txt
+++ b/doc/i18n.txt
@@ -21,7 +21,7 @@  strings for the translation to be usable, and it may
have to be disabled.

 1. Check out the aurweb source using git:

-$ git clone git://git.archlinux.org/aurweb.git aurweb-git
+$ git clone https://gitlab.archlinux.org/archlinux/aurweb.git aurweb-git

 2. Go into the "po/" directory in the aurweb source and run msginit(1) to
    create a initial translation file from our translation catalog:
diff --git a/web/template/footer.php b/web/template/footer.php
index 572dbb26..7f97aae0 100644
--- a/web/template/footer.php
+++ b/web/template/footer.php
@@ -3,7 +3,7 @@ 

  <div id="footer">
  <?php if ($ver): ?>
- <p>aurweb <a href="https://git.archlinux.org/aurweb.git/log/?h=<?=
htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver)
?></a></p>
+ <p>aurweb <a href="https://gitlab.archlinux.org/archlinux/aurweb/-/tree/<?=
htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver)