From 7675f3a9f12728b6e5d7c68ac5b0897594a0cfd8 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@keylocation.sg>
Date: Thu, 23 Nov 2017 14:08:31 +0100
Subject: [PATCH] fix: replace singapore/renovate references with
 renovateapp/renovate (#1229)

---
 docs/deployment.md                    |  2 +-
 docs/faq.md                           |  2 +-
 lib/platform/github/gh-got-wrapper.js |  2 +-
 lib/workers/branch/status-checks.js   |  2 +-
 package.json                          |  6 +++---
 readme.md                             | 12 ++++++------
 test/_fixtures/config/file.js         |  4 ++--
 test/workers/package/versions.spec.js |  6 +++---
 8 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/docs/deployment.md b/docs/deployment.md
index 8d7baf049a..2161acd673 100644
--- a/docs/deployment.md
+++ b/docs/deployment.md
@@ -27,7 +27,7 @@ Heroku free dynos provide a good way to host this for free. Set it up with the f
 The best way to deploy to Heroku is via git and Heroku CLI.
 
 ```
-$ git clone https://github.com/singapore/renovate
+$ git clone https://github.com/renovateapp/renovate
 $ cd renovate
 $ heroku create [app name]
 $ git push heroku master
diff --git a/docs/faq.md b/docs/faq.md
index ded44330ee..6c785811ca 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -1,6 +1,6 @@
 # FAQ
 
-If you need a specific behaviour and it's not mentioned here - or it's more complicated - feel free to raise an [Issue](https://github.com/singapore/renovate/issues) - configuration questions are welcome in this repository.
+If you need a specific behaviour and it's not mentioned here - or it's more complicated - feel free to raise an [Issue](https://github.com/renovateapp/renovate/issues) - configuration questions are welcome in this repository.
 
 ## What Is The Default Behaviour?
 
diff --git a/lib/platform/github/gh-got-wrapper.js b/lib/platform/github/gh-got-wrapper.js
index ec00486f0e..3d72ca8506 100644
--- a/lib/platform/github/gh-got-wrapper.js
+++ b/lib/platform/github/gh-got-wrapper.js
@@ -27,7 +27,7 @@ async function get(path, opts, retries = 5) {
         {},
         {
           accept: appAccept,
-          'user-agent': 'https://github.com/singapore/renovate',
+          'user-agent': 'https://github.com/renovateapp/renovate',
         },
         opts.headers
       );
diff --git a/lib/workers/branch/status-checks.js b/lib/workers/branch/status-checks.js
index 97425c43b3..7b6316eaeb 100644
--- a/lib/workers/branch/status-checks.js
+++ b/lib/workers/branch/status-checks.js
@@ -40,7 +40,7 @@ async function setUnpublishable(config) {
         context,
         description,
         state,
-        'https://github.com/singapore/renovate/blob/master/docs/status-checks.md#unpublish-safe'
+        'https://github.com/renovateapp/renovate/blob/master/docs/status-checks.md#unpublish-safe'
       );
     }
   }
diff --git a/package.json b/package.json
index e139b29632..31156792d1 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "https://github.com/singapore/renovate.git"
+    "url": "https://github.com/renovateapp/renovate.git"
   },
   "keywords": [
     "npm",
@@ -31,9 +31,9 @@
   ],
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/singapore/renovate/issues"
+    "url": "https://github.com/renovateapp/renovate/issues"
   },
-  "homepage": "https://github.com/singapore/renovate#readme",
+  "homepage": "https://github.com/renovateapp/renovate#readme",
   "engines": {
     "node": ">=8.8.0",
     "npm": "5"
diff --git a/readme.md b/readme.md
index 83371acaf6..6b1746e445 100644
--- a/readme.md
+++ b/readme.md
@@ -4,10 +4,10 @@
 
 Keep dependencies up-to-date.
 
-[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/singapore/renovate/master/license)
-[![codecov](https://codecov.io/gh/singapore/renovate/branch/master/graph/badge.svg)](https://codecov.io/gh/singapore/renovate)
+[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/renovateapp/renovate/master/license)
+[![codecov](https://codecov.io/gh/renovateapp/renovate/branch/master/graph/badge.svg)](https://codecov.io/gh/renovateapp/renovate)
 [![Join the chat at https://gitter.im/renovate-app/Lobby](https://badges.gitter.im/renovate-app/Lobby.svg)](https://gitter.im/renovate-app/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
-[![David](https://david-dm.org/singapore/renovate.svg)](https://david-dm.org/singapore/renovate)
+[![David](https://david-dm.org/renovateapp/renovate.svg)](https://david-dm.org/renovateapp/renovate)
 [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovateapp.com/)
 
 ## Why
@@ -56,14 +56,14 @@ Note: The first time you run `renovate` on a repository, it will not upgrade any
 
 ## Deployment
 
-See [deployment docs](https://github.com/singapore/renovate/blob/master/docs/deployment.md) for details.
+See [deployment docs](https://github.com/renovateapp/renovate/blob/master/docs/deployment.md) for details.
 
 ## Configuration
 
-The [Configuration](https://github.com/singapore/renovate/blob/master/docs/configuration.md) and [Configuration FAQ](https://github.com/singapore/renovate/blob/master/docs/faq.md) documents should be helpful.
+The [Configuration](https://github.com/renovateapp/renovate/blob/master/docs/configuration.md) and [Configuration FAQ](https://github.com/renovateapp/renovate/blob/master/docs/faq.md) documents should be helpful.
 
 You can also raise an issue in https://github.com/renovateapp/config-help if you'd like to get your config reviewed or ask any questions.
 
 ## Design Decisions
 
-See [design decisions doc](https://github.com/singapore/renovate/blob/master/docs/design-decisions.md) for details.
+See [design decisions doc](https://github.com/renovateapp/renovate/blob/master/docs/design-decisions.md) for details.
diff --git a/test/_fixtures/config/file.js b/test/_fixtures/config/file.js
index 61e930fe6b..db1aefa479 100644
--- a/test/_fixtures/config/file.js
+++ b/test/_fixtures/config/file.js
@@ -4,11 +4,11 @@ module.exports = {
   repositories: [
     'singapore/lint-condo',
     {
-      repository: 'singapore/renovate',
+      repository: 'renovateapp/renovate',
       packageFiles: ['package2.json'],
     },
     {
-      repository: 'singapore/renovate',
+      repository: 'renovateapp/renovate',
       packageFiles: [
         {
           packageFile: 'package.json',
diff --git a/test/workers/package/versions.spec.js b/test/workers/package/versions.spec.js
index af22c3165e..3102e3e8d1 100644
--- a/test/workers/package/versions.spec.js
+++ b/test/workers/package/versions.spec.js
@@ -268,10 +268,10 @@ describe('workers/package/versions', () => {
       versions.isValidVersion('>1.2.3').should.eql(true);
     });
     it('should reject github repositories', () => {
-      versions.isValidVersion('singapore/renovate').should.eql(false);
-      versions.isValidVersion('singapore/renovate#master').should.eql(false);
+      versions.isValidVersion('renovateapp/renovate').should.eql(false);
+      versions.isValidVersion('renovateapp/renovate#master').should.eql(false);
       versions
-        .isValidVersion('https://github.com/singapore/renovate.git')
+        .isValidVersion('https://github.com/renovateapp/renovate.git')
         .should.eql(false);
     });
   });
-- 
GitLab