From 1eeca66c29a46d96eaf72cd82f000fd5ad15166c Mon Sep 17 00:00:00 2001
From: Eike Ziller <eike.ziller@theqtcompany.com>
Date: Tue, 10 Mar 2015 09:20:33 +0100
Subject: [PATCH] Get rid of Gitorious links

That service is discontinued, and we have our own mirror anyhow.

Change-Id: I8a45401e2c0c889d87c675a79ae16684d7c69a7a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
---
 README.md                                                | 9 ++++-----
 dist/changes-3.4.0                                       | 2 +-
 doc/api/getting-and-building.qdoc                        | 6 +++---
 qtcreator.pro                                            | 2 +-
 src/plugins/debugger/cdb/cdbengine.cpp                   | 2 +-
 src/plugins/debugger/procinterrupt.cpp                   | 2 +-
 .../devicesupport/desktopprocesssignaloperation.cpp      | 4 ++--
 7 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/README.md b/README.md
index 2d343459c9f..97cda94efd0 100644
--- a/README.md
+++ b/README.md
@@ -65,12 +65,11 @@ For detailed information on the supported compilers, see
        that the version displayed is 5.10 or later. Note that git ships
        an outdated version 5.8 which cannot be used for Qt.
 
-   5.  In the working directory, check out the respective branch of Qt
-       (we recommend the latest released version from the release branch,
-       5.2.1; see <https://qt.gitorious.org/qt>).
+   5.  In the working directory, check out the respective branch of Qt from
+       <https://code.qt.io/cgit/qt/qt5.git> (we recommend the latest released version).
 
    6.  Check out Qt Creator (master branch or latest version, see
-       <https://qt.gitorious.org/qt-creator>).
+       <https://code.qt.io/cgit/qt-creator/qt-creator.git>).
        You should now have the directories qt and creator under your working
        directory.
 
@@ -154,7 +153,7 @@ For detailed information on the supported compilers, see
        Windows, you can obtain the 64 bit versions of the extension library
        and the binary `win64interrupt.exe`, which is required for
        debugging from the repository
-       <https://qt.gitorious.org/qt-creator/binary-artifacts/source/> .
+       <https://code.qt.io/cgit/qt-creator/binary-artifacts.git/tree> .
 
    13. Qt Creator can be registered as a post-mortem debugger. This
        can be done in the options page or by running the tool qtcdebugger
diff --git a/dist/changes-3.4.0 b/dist/changes-3.4.0
index bdb0f33007c..9abb850a639 100644
--- a/dist/changes-3.4.0
+++ b/dist/changes-3.4.0
@@ -4,7 +4,7 @@ The most important changes are listed in this document. For a complete
 list of changes, see the Git log for the Qt Creator sources that
 you can check out from the public Git repository. For example:
 
-git clone git://gitorious.org/qt-creator/qt-creator.git
+git clone git://code.qt.io/qt-creator/qt-creator.git
 git log --cherry-pick --pretty=oneline origin/3.3..origin/3.4
 
 General
diff --git a/doc/api/getting-and-building.qdoc b/doc/api/getting-and-building.qdoc
index 29002b03bb4..fe459c1240e 100644
--- a/doc/api/getting-and-building.qdoc
+++ b/doc/api/getting-and-building.qdoc
@@ -35,7 +35,7 @@
     Prebuilt \QC packages usually use the latest stable release of Qt.
     You can see the exact minimum requirement at the top of \QC's qtcreator.pro.
     (You can find the current version in our source repository here:
-    \l{http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/qtcreator.pro}.)
+    \l{https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/qtcreator.pro#n4}.)
 
     You can get prebuilt Qt packages from \l{https://download.qt.io}{Qt Downloads}.
     If you want to use Qt as provided by your Linux distribution, you need to make sure that all
@@ -44,8 +44,8 @@
     \section1 Getting and Building \QC
 
     You can get the \QC sources for a specific version either by using one of the
-    released source bundles, or from the Gitorious repository
-    \l{http://qt.gitorious.org/qt-creator}. If you intend to contribute to \QC
+    released source bundles, or from the Git repository
+    \l{https://code.qt.io/cgit/qt-creator/qt-creator.git}. If you intend to contribute to \QC
     itself, you should use the repository from our Gerrit review tool as described
     in: \l{https://wiki.qt.io/Setting_up_Gerrit}{Setting up Gerrit}.
 
diff --git a/qtcreator.pro b/qtcreator.pro
index cbc959a00df..f43df3032db 100644
--- a/qtcreator.pro
+++ b/qtcreator.pro
@@ -101,7 +101,7 @@ macx {
     deployqt.depends = install
     win32 {
         deployartifacts.depends = install
-        deployartifacts.commands = git clone "git://gitorious.org/qt-creator/binary-artifacts.git" -b $$BINARY_ARTIFACTS_BRANCH&& xcopy /s /q /y /i "binary-artifacts\\win32" \"$(INSTALL_ROOT)$$QTC_PREFIX\"&& rmdir /s /q binary-artifacts
+        deployartifacts.commands = git clone "git://code.qt.io/qt-creator/binary-artifacts.git" -b $$BINARY_ARTIFACTS_BRANCH&& xcopy /s /q /y /i "binary-artifacts\\win32" \"$(INSTALL_ROOT)$$QTC_PREFIX\"&& rmdir /s /q binary-artifacts
         QMAKE_EXTRA_TARGETS += deployartifacts
     }
 }
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index 898d8ee14e8..8726650cb6f 100644
--- a/src/plugins/debugger/cdb/cdbengine.cpp
+++ b/src/plugins/debugger/cdb/cdbengine.cpp
@@ -614,7 +614,7 @@ bool CdbEngine::launchCDB(const DebuggerStartParameters &sp, QString *errorMessa
     if (!extensionFi.isFile()) {
         *errorMessage = QString::fromLatin1("Internal error: The extension %1 cannot be found.\n"
                                             "If you build Qt Creator from sources, check out "
-                                            "https://qt.gitorious.org/qt-creator/binary-artifacts/").
+                                            "https://code.qt.io/cgit/qt-creator/binary-artifacts.git/.").
                 arg(QDir::toNativeSeparators(extensionFi.absoluteFilePath()));
         return false;
     }
diff --git a/src/plugins/debugger/procinterrupt.cpp b/src/plugins/debugger/procinterrupt.cpp
index 83134ca9125..35d7dec2eb4 100644
--- a/src/plugins/debugger/procinterrupt.cpp
+++ b/src/plugins/debugger/procinterrupt.cpp
@@ -154,7 +154,7 @@ GDB 32bit | Api             | Api             | NA              | Win32
             if (!QFile::exists(executable)) {
                 *errorMessage = QString::fromLatin1("%1 does not exist. If you have built QtCreator "
                                                     "on your own ,checkout "
-                                                    "http://qt.gitorious.org/qt-creator/binary-artifacts.").
+                                                    "https://code.qt.io/cgit/qt-creator/binary-artifacts.git/.").
                         arg(QDir::toNativeSeparators(executable));
                 break;
             }
diff --git a/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp b/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp
index a0db4a49712..88fcfce5d5b 100644
--- a/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp
+++ b/src/plugins/projectexplorer/devicesupport/desktopprocesssignaloperation.cpp
@@ -185,8 +185,8 @@ GDB 32bit | Api             | Api             | N/A             | Win32
                     : QLatin1String("/win64interrupt.exe");
             if (!QFile::exists(executable)) {
                 appendMsgCannotInterrupt(pid, tr( "%1 does not exist. If you built Qt Creator "
-                                                  "yourself, check out http://qt.gitorious.org/"
-                                                  "qt-creator/binary-artifacts.").
+                                                  "yourself, check out https://code.qt.io/cgit/"
+                                                  "qt-creator/binary-artifacts.git/.").
                                          arg(QDir::toNativeSeparators(executable)));
             }
             switch (QProcess::execute(executable, QStringList(QString::number(pid)))) {
-- 
GitLab