Code Monkey home page Code Monkey logo

acquia-cms-project's People

Contributors

japerry avatar jrbeeman avatar kdruckman avatar mikemadison13 avatar msherron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

acquia-cms-project's Issues

Running `composer create-project acquia/acquia-cms-project` in a Cloud IDE installs outdated ACMS version

When running composer create-project acquia/acquia-cms-project in a Cloud IDE, Composer installs ACMS v1.2, which will then fail on an invalid patch. The issue is that the current version of Acquia CMS (1.8 as of this writing) includes contenthub-console, which has a dependency on the php-intl extension. The PHP Intl extension isn't enabled in Cloud IDEs by default. Composer will then fall back to the last version of ACMS that did not include contendhub-console, which is 1.2. This issue is being tracked internally and will be addressed by the Cloud IDE team (with support from the Acquia Platform team).

To Reproduce
Steps to reproduce the behavior, ideally starting from a fresh install of Acquia CMS:

  1. Run composer create-project acquia/acquia-cms-project --no-interaction
  2. See error, look in composer.lock and note that ACMS 1.2 is installed.

Expected behavior
ACMS 1.2.8 is installed and there are no composer errors.

Workaround in Cloud IDE

  • edit /home/ide/configs/php/custom.ini and add the following line to it: extension=intl
  • run acli ide:service-restart apache
  • Confirm PHP intl is enabled by running php -i | grep 'intl'.
  • Re-run composer create-project acquia/acquia-cms-project.

This issue will be closed once the bug is addressed in Cloud IDEs, or the workaround is published on docs.acquia.com.

Update oomphinc/composer-installers-extender to support Composer 2

See https://github.com/oomphinc/composer-installers-extender/releases/tag/2.0.0

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - oomphinc/composer-installers-extender[v1.1, ..., v1.1.2] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - Root composer.json requires oomphinc/composer-installers-extender ^1.1 -> satisfiable by oomphinc/composer-installers-extender[v1.1, v1.1.1, v1.1.2].

You are using a snapshot build of Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report an issue to them to ask them to support Composer 2. To work around this you can run Composer with --ignore-platform-req=composer-plugin-api, but this may result in broken plugins and bigger problems down the line.

Looks like it's the only blocker to supporting Composer 2. Cloud IDE users would greatly benefit from this.

Add `drupal/acquia_cms_starter` to Drupal.org

Is your feature request related to a problem? Please describe.
We're creating a custom install profile based on Acquia CMS and think it would be nice to have the acquia_cms_starter module hosted on Drupal.org so we can download it using composer like you do with the other Acquia CMS modules.

Describe alternatives you've considered
We're currently committing the acquia_cms_starter as a custom module for our project for now.

Unable to setup ACMS using the composer template.

I am trying to setup the ACMS using this composer template but I am getting issue.

Command I used for creating project -

composer create-project acquia/acquia-cms-project

Error I am getting -

- Applying patches for drupal/acquia_telemetry-acquia_telemetry
    https://www.drupal.org/files/issues/2020-08-18/3165473-27.patch (Add check for core index)

  - Applying patches for acquia/cohesion
    https://gist.githubusercontent.com/chandan-singh7929/c70de6c88b8951022786cfeed75ff714/raw/dfe8481b77594405b27af24ec88da8254d9a00c1/frontendBuilderDropzone.patch (Prevent error call to a member function getOption() on null during starter enable)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://gist.githubusercontent.com/chandan-singh7929/c70de6c88b8951022786cfeed75ff714/raw/dfe8481b77594405b27af24ec88da8254d9a00c1/frontendBuilderDropzone.patch

                                                                                                                                                                                
  [Exception]                                                                                                                                                                   
  Cannot apply patch Prevent error call to a member function getOption() on null during starter enable (https://gist.githubusercontent.com/chandan-singh7929/c70de6c88b8951022  
  786cfeed75ff714/raw/dfe8481b77594405b27af24ec88da8254d9a00c1/frontendBuilderDropzone.patch)!                                                                                  
                                                                                                                                                                                

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package>] [<directory>] [<version>]

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.