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"
+ },
Comments
The issue with Many Ships delivering one delivery package
This is the issue with Many Ships delivering one delivery package.
The composer need a delivery manager to build the package on the Software Delivery Manager
It's the like the App development manager and the real App production manager
I hope that we start to have the composer builder right out from Drupal.org site.
Or we could have Composer Managers which they are allowed to have there set of Public and Private packages right out from their Drupal.org account.
A private
https://packagist.org
With this code:
https://github.com/composer/packagist
It's a bit like private packagist and composer hosting for registered companies.
Thank you :)
Post new comment