drupal-composer / drupal-core Goto Github PK
View Code? Open in Web Editor NEWThis project forked from robloach/core
Subtree split of Drupal 8's /core directory.
Home Page: https://github.com/drupal-composer/drupal-core/tree/8.0.x
This project forked from robloach/core
Subtree split of Drupal 8's /core directory.
Home Page: https://github.com/drupal-composer/drupal-core/tree/8.0.x
Hello, I don't know if this is right spot repo for this error but here it goes. I am trying to run composer install
. All dependencies are loaded except drupal/core. I get the following error:
- Installing drupal/core (8.2.8) Downloading: Failed Failed to download drupal/core from dist: The "https://api.github.com/repos/drupal/core/zipball/c63ef7a000bdfe2286cf2eeec6efdf4298dfc6a8" file could not be downloaded (HTTP/1.1 302 Found)
Now trying to download from source- Installing drupal/core (8.2.8) Cloning c63ef7a from cache
c63ef7a is gone (history was rewritten?)
Here is my composer.lock:
"name": "drupal/core",
"version": "8.2.8",
"source": {
"type": "git",
"url": "https://github.com/drupal/core.git",
"reference": "7ccc248f4058dd5985ad0c61c129243d0d2b58b8"
},
Another developer suggested changing the url line to the following:
"url": "https://github.com/drupal-composer/drupal-core.git",
I'll report back.
The repo currently contains tags for old alpha and beta releases, which do not contain a composer.json
file, because upstream Drupal did not have one in the core
directory at that time. Because of that these releases are incompatible with the "new" and proper way of using the repository with Composer. Therefore I would like to eventually remove them from the repository.
This can only be seriously considered once there is a new beta release, which will then contain a composer.json
file.
If you maintain a site which pulls in one of these releases, please leave a note below specifying which tag you require, so that I know to defer the removal.
Drupal's composer.json
contains an autoload namespace for (database) drivers.
Namespace: Drupal\Driver
Path: drivers/lib/Drupal/Driver
This is currently copied unaltered into this repository. So if you pull this repository in via Composer to core
the resulting path will in fact be core/drivers/lib/Drupal/Driver
, where it should be drivers/lib/Drupal/Driver
.
This problem currently does not surface, because Drupal has committed the autoload.php
file to Git, but that's a (upstream) bug, not a feature.
Also note that https://www.drupal.org/node/2209307 would alleviate this problem alltogether.
First off, thanks for sharing your subtree split, very useful!
I do not know what's changed, but suddenly my composer.json does not respect the "web/core" custom installer path any more. Does that still work for you? I reproduced it with a very simple composer.json:
{
"name": "drunomics/druweb8",
"type": "project",
"require": {
"composer/installers": "^1.0.20",
"drupal/core": "8.0.0-beta6",
"drush/drush": "7.0.0-alpha8"
},
"require-dev": {},
"autoload": {
"psr-4": {}
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "vcs",
"url": "[email protected]:tstoeckler/drupal-core.git"
}
],
"scripts": {
"post-install-cmd": "scripts/composer/post-install.sh"
},
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
"web/drush/{$name}": ["type:drupal-drush"]
}
},
"config": {
"preferred-install": "dist"
}
}
Hi there,
Can 8.1.x-dev be added to this drupal-core repo?
This would be awesome.
Kind regards,
Lennard
The subtree split should be moved to https://github.com/drupal-composer that way more people can maintain it.
I love this idea!
Please support the split of core from Drupal in this issue. :)
https://www.drupal.org/node/1975220
It would be great if this repo could have a readme.txt
Possible content:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.