From 475e3051993e6947e99d1f89f127be022f87f4bc Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 9 Feb 2017 19:57:26 +0000
Subject: [PATCH] Issue #2758737 by Mixologic, amateescu, ndf, webflo, Mile23,
 bojanz: Add a packages.drupal.org to root composer.json

---
 composer.json | 13 +++++++++++--
 composer.lock |  2 +-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/composer.json b/composer.json
index 375e03613285..48a5632eb35e 100644
--- a/composer.json
+++ b/composer.json
@@ -19,7 +19,10 @@
     "extra": {
         "_readme": [
             "By default Drupal loads the autoloader from ./vendor/autoload.php.",
-            "To change the autoloader you can edit ./autoload.php."
+            "To change the autoloader you can edit ./autoload.php.",
+            "This file specifies the packages.drupal.org repository.",
+            "You can read more about this composer repository at:",
+            "https://www.drupal.org/node/2718229"
         ],
         "merge-plugin": {
             "include": [
@@ -50,5 +53,11 @@
         ],
         "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
         "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup"
-    }
+    },
+    "repositories": [
+        {
+            "type": "composer",
+            "url": "https://packages.drupal.org/8"
+        }
+    ]
 }
diff --git a/composer.lock b/composer.lock
index d3ea22569b85..b64563255c37 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "324eae1731d25ba58e17ce0c32be7d02",
+    "content-hash": "ccaaa31c7fb3423dca36316975b292cb",
     "packages": [
         {
             "name": "asm89/stack-cors",
-- 
GitLab