User login

The saga of Drupal link-link

Are your builds failing because of this?

  - Installing drupal/link-link (dev-1.x 0058c8a)
    Cloning 0058c8ae3b6e61f41fd4f407b50c28a5e51688ef
    0058c8ae3b6e61f41fd4f407b50c28a5e51688ef is gone (history was rewritten?)

[RuntimeException]                                                                                                                             
  Failed to execute git checkout '0058c8ae3b6e61f41fd4f407b50c28a5e51688ef' -- && git reset --hard '0058c8ae3b6e61f41fd4f407b50c28a5e51688ef' -- 
  fatal: reference is not a tree: 0058c8ae3b6e61f41fd4f407b50c28a5e51688ef

You must have the Redirect module! Don't worry, you can keep your Redirect module. Applying the patch from Redirect module: Update composer.json and namespace module dependencies, or at least using a dev version, will be necessary for now, though.

We're using the latest dev.

Run composer update, and the so-called "drupal/link-link" gets... moved? (See ridiculous diff below, if you are so inclined.)

What looks more promising is the one place that was requiring drupal/link-link, the Redirect module, is no longer requiring it. Why is it still in our composer.lock file then? Oh well, let's try composer update again:

vagrant@mass:/vagrant$ composer update
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Deleting web/modules/contrib/link-link - deleted
Package codegyre/robo is abandoned, you should avoid using it. Use consolidation/robo instead.
Writing lock file
Generating autoload files

Well, that did it. Again, you need the latest dev (pre-patch) for this double composer update to work. With the patch, just one composer update should do.

Of course, also make sure you're not directly requiring the doesn't-really-exist-for-Drupal-8 module with a line like "drupal/link-link": "@dev", in your composer.json.

-            "name": "drupal/link-link",
-            "version": "dev-1.x",
-            "source": {
-                "type": "git",
-                "url": "https://git.drupal.org/project/link",
-                "reference": "0058c8ae3b6e61f41fd4f407b50c28a5e51688ef"
-            },
-            "require": {
-                "drupal/core": "~8.0"
-            },
-            "suggest": {
-                "drupal/core": "Required by drupal/link"
-            },
-            "type": "drupal-module",
-            "extra": {
-                "branch-alias": {
-                    "dev-1.x": "1.x-dev"
-                },
-                "drupal": {
-                    "version": "8.x-1.x-dev",
-                    "datestamp": "1319415246"
-                }
-            },
-            "notification-url": "https://packages.drupal.org/8/downloads",
-            "license": [
-                "GPL-2.0+"
-            ],
-            "authors": [
-                {
-                    "name": "diqidoq",
-                    "homepage": "https://www.drupal.org/user/1001934"
-                },
-                {
-                    "name": "dropcube",
-                    "homepage": "https://www.drupal.org/user/37031"
-                },
-                {
-                    "name": "jcfiala",
-                    "homepage": "https://www.drupal.org/user/163643"
-                },
-                {
-                    "name": "mrfelton",
-                    "homepage": "https://www.drupal.org/user/305669"
-                },
-                {
-                    "name": "sumitmadan",
-                    "homepage": "https://www.drupal.org/user/1538790"
-                },
-                {
-                    "name": "sun",
-                    "homepage": "https://www.drupal.org/user/54136"
-                }
-            ],
-            "homepage": "https://www.drupal.org/project/link",
-            "support": {
-                "source": "http://cgit.drupalcode.org/link"
-            },
-            "time": "2012-09-26 16:31:05"
-        },
+            "name": "drupal/link-link",
+            "version": "dev-1.x",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupal.org/project/link",
+                "reference": "0058c8ae3b6e61f41fd4f407b50c28a5e51688ef"
+            },
+            "require": {
+                "drupal/core": "~8.0"
+            },
+            "suggest": {
+                "drupal/core": "Required by drupal/link"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "branch-alias": {
+                    "dev-1.x": "1.x-dev"
+                },
+                "drupal": {
+                    "version": "8.x-1.x-dev",
+                    "datestamp": "1319415246"
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0+"
+            ],
+            "authors": [
+                {
+                    "name": "diqidoq",
+                    "homepage": "https://www.drupal.org/user/1001934"
+                },
+                {
+                    "name": "dropcube",
+                    "homepage": "https://www.drupal.org/user/37031"
+                },
+                {
+                    "name": "jcfiala",
+                    "homepage": "https://www.drupal.org/user/163643"
+                },
+                {
+                    "name": "mrfelton",
+                    "homepage": "https://www.drupal.org/user/305669"
+                },
+                {
+                    "name": "sumitmadan",
+                    "homepage": "https://www.drupal.org/user/1538790"
+                },
+                {
+                    "name": "sun",
+                    "homepage": "https://www.drupal.org/user/54136"
+                }
+            ],
+            "homepage": "https://www.drupal.org/project/link",
+            "support": {
+                "source": "http://cgit.drupalcode.org/link"
+            },
+            "time": "2012-09-26 16:31:05"
+        },
Searched words: 
huh

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.