Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change DrupalInstaller locations to use contrib folder #294

Closed
wants to merge 1 commit into from

Conversation

edysmp
Copy link

@edysmp edysmp commented Mar 23, 2016

See #293

@jadb
Copy link
Member

jadb commented Mar 23, 2016

Please see: #285 (comment)

@edysmp
Copy link
Author

edysmp commented Mar 23, 2016

@jadb Fixed unit test :)

@bojanz
Copy link

bojanz commented Mar 24, 2016

This makes sense. +1

@cweagans
Copy link

Sorry for the noise. Misunderstood what was happening in the test file. 👍 from me. This looks great.

'custom-module' => 'modules/custom/{$name}',
);
protected $locations = array(
'core' => 'core/',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drupal-core, drupal-module, and drupal-theme were bold in the readme... Which it states they are stable and install paths will not be changed.

@typhonius
Copy link

👍 from me for this patch.

@rujiali
Copy link

rujiali commented May 25, 2017

Looks good to me.

@swim
Copy link
Contributor

swim commented Nov 15, 2018

At time of writing the current composer file shipped with D8 core (8.6.3) defines the following installer paths.

"installer-paths": {
  "core": ["type:drupal-core"],
  "modules/contrib/{$name}": ["type:drupal-module"],
  "profiles/contrib/{$name}": ["type:drupal-profile"],
  "themes/contrib/{$name}": ["type:drupal-theme"],
  "drush/contrib/{$name}": ["type:drupal-drush"],
  "modules/custom/{$name}": ["type:drupal-custom-module"],
  "themes/custom/{$name}": ["type:drupal-custom-theme"]
}

The PR seems more aligned to the above 👍

@Seldaek Seldaek closed this Dec 8, 2020
@Seldaek Seldaek deleted the branch composer:main December 8, 2020 13:43
@Seldaek Seldaek reopened this Dec 8, 2020
@Seldaek Seldaek changed the base branch from master to main December 8, 2020 13:49
@Seldaek
Copy link
Member

Seldaek commented Dec 8, 2020

Going to close this as I assume this is not needed anymore. If it is then it should be discussed in concert with the drupal team, as at this point so many Drupal sites are out there depending on the behavior here that I am not really comfortable changing the behavior without consulting people who are more in the know.

@Seldaek Seldaek closed this Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants