Git Product home page Git Product logo

drupal-core's People

Contributors

robloach avatar tstoeckler avatar webflo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drupal-core's Issues

Failed to download drupal/core from dist

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:

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.

Remove old tags [COMMENT HERE IF YOU ARE USING A LEGACY ALPHA OR BETA VERSION]

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.

Support drivers

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.

"web/core" custom installer path skipped

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"
    }
}

Include a README.txt

It would be great if this repo could have a readme.txt

Possible content:

  • How do use this repo together with composer
  • the need to copy over the sites folder ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.