Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions project/drupal.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,46 +228,3 @@ def platformify(self):
self.builddir) + self.composer_defaults(),
]

class Drupal11(RemoteProject):
major_version = "11.0"
remote = 'https://github.com/drupal/recommended-project.git'

def package_update_actions(self):
actions = super(Drupal11, self).package_update_actions()
return [
'cd {0} && composer config -g allow-plugins.composer/installers true --no-plugins'.format(
self.builddir),
'cd {0} && composer config allow-plugins.composer/installers true --no-plugins'.format(
self.builddir),
'cd {0} && composer config allow-plugins.drupal/core-composer-scaffold true --no-plugins'.format(
self.builddir),
'cd {0} && composer config allow-plugins.drupal/core-project-message true --no-plugins'.format(
self.builddir),
'cd {0} && composer config allow-plugins.cweagans/composer-patches true --no-plugins '.format(
self.builddir),
] + actions

@property
def update(self):
projectName = "drupal11"

def drupal11_modify_composer(composer):
"""
This change makes the template loadable via Composer (see https://github.com/platformsh-templates/drupal9/pull/33).
"""

composer['name'] = "platformsh/{0}".format(projectName)
composer['description'] = "This template builds Drupal 11 for Platform.sh based the \"Drupal Recommended\" Composer project."

return composer

return super(Drupal11, self).update + [
(self.modify_composer, [drupal11_modify_composer])
]

@property
def platformify(self):
return super(Drupal11, self).platformify + [
'cd {0} && composer require platformsh/config-reader drush/drush'.format(
self.builddir) + self.composer_defaults(),
]
1 change: 1 addition & 0 deletions templates/drupal11/.platform.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ initialize:
config: null
files: []
profile: Drupal 11

81 changes: 0 additions & 81 deletions templates/drupal11/files/.blackfire.yml

This file was deleted.

11 changes: 0 additions & 11 deletions templates/drupal11/files/.environment

This file was deleted.

72 changes: 0 additions & 72 deletions templates/drupal11/files/.github/ISSUE_TEMPLATE/bug_report.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions templates/drupal11/files/.github/ISSUE_TEMPLATE/config.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions templates/drupal11/files/.github/ISSUE_TEMPLATE/improvements.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions templates/drupal11/files/.github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

54 changes: 0 additions & 54 deletions templates/drupal11/files/.github/tests/vrt/template-paths.js

This file was deleted.

23 changes: 0 additions & 23 deletions templates/drupal11/files/.github/workflows/autopr.yaml

This file was deleted.

Loading