Giter Club home page Giter Club logo

Comments (4)

wimleers avatar wimleers commented on June 7, 2024

Hm, so #6 is causing problems it seems. I don't see how 8877295 (which updated us from 8.3.3 to 8.3.4) could be causing this?

from reservoir.

damontgomery avatar damontgomery commented on June 7, 2024

@wimleers,

Acquia Lightning had a similar conversation around this and decided against using drupal-core-strict. This was partially because of the issues we are seeing here. Please see https://github.com/acquia/lightning/issues/391.

I think the Lightning decision makes a lot of sense. It really should be Drupal core's job to lock their composer library to specific version constraints if they need to. Trying to use this other system could (as in this case?) cause a lot of headaches around what's getting installed.

I don't want you to think I'm telling you what to do. :) I thought the Lightning discussion might be helpful. The team hasn't ignored the concern, they've chosen to address it in another way.

from reservoir.

balsama avatar balsama commented on June 7, 2024

@damontgomery Looking at the output you posted, I think this is just because of your lock file. "locked at 3.1.0":

Installation request for zendframework/zend-stdlib (locked at 3.1.0)

Running composer require acquia/reservoir:dev-8.x-1.x will only be successful if none of the other dependency requirements change. Can you add --no-update to the require command, then run composer update? Or delete your lock file entirely to troubleshoot.

from reservoir.

damontgomery avatar damontgomery commented on June 7, 2024

Local Install

👍 I was able to run a new install with the composer.json listed above pointing at dev.

Maybe this (edb9cbc) fixed the issue for a new install. Maybe I was doing something wrong before. :(

Update

👍 I was able to update an existing site with

# Add the dependency to composer.json without installing.
composer require acquia/reservoir:dev-8.x-1.x --no-update

# Update EVERYTHING.
composer update

This is what Adam was recommending. I usually like to just update the specific package, but that's not always possible. Updating just one with composer update acquia/reservoir reduces the risk that tons of unexpected module / package changes are occurring.

I think we can close this. I'd still recommend removing that lock system because it might make the updates more difficult going forward, but I can understand both opinions.

from reservoir.

Related Issues (20)

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.