Git Product home page Git Product logo

Comments (13)

ShawnMcCool avatar ShawnMcCool commented on June 30, 2024 2

Hey no problem at all. Try forking the repository by going to its main page and clicking 'fork' near the top. Fork it to your account, then clone your forked version locally. Create a new branch in it called something like.. "upgrade-symfony"

git checkout -B upgrade-symfony-driver master

Now, modify that repository the way that you want (modify composer.json). Update composer "composer update".

Once you have it all the way that you want it, you can push this branch to github.

git push -u origin upgrade-symfony-driver

Now you'll find the branch on your github repository page.

Then you can, instead of installing backup-manager/symfony.. Install your fork's branch.

More details by the fantastic Lorna Jane here https://lornajane.net/posts/2014/use-a-github-branch-as-a-composer-dependency

If you install your fork successfully, it'll pull in the correct version of the backup manager, then you can see if it works.

Let me know if you run into any unexpected problems.

from symfony.

fcerezo avatar fcerezo commented on June 30, 2024

Hi all is there anyone ? Thanks

from symfony.

ShawnMcCool avatar ShawnMcCool commented on June 30, 2024

yeah so the version 1.4 matches on 4.0 as the highest.

i recommend either switching to backup manager 2.x

or forking 1.4.1 and upgrading the dependency here

https://github.com/backup-manager/backup-manager/blob/1.4.1/composer.json

then test it to make sure it works, then submit a pull request.

from symfony.

fcerezo avatar fcerezo commented on June 30, 2024

Sorry. But I dont know how to do it. Could you help me?

from symfony.

ShawnMcCool avatar ShawnMcCool commented on June 30, 2024

First: I recommend just upgrading backup manager to 2.0 by changing the version in your composer.json to: "^2"

Then run 'composer update'.

Try running it, see if there's errors, etc.

If you don't want to do this for some reason (It is really a good solution here) then let me know.

from symfony.

fcerezo avatar fcerezo commented on June 30, 2024

I added this line

"backup-manager/backup-manager": "^2.1"

And it was installed OK. But when I tried to install

composer require backup-manager/symfony

I get this error

Using version ^2.3 for backup-manager/symfony
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for backup-manager/symfony ^2.3 -> satisfiable by backup-manager/symfony[2.3.0].
- backup-manager/symfony 2.3.0 requires backup-manager/backup-manager ^1.3 -> satisfiable by backup-manager/backup-manager[1.3.0, 1.4, 1.4.1] but these conflict with your requirements or minimum-stability.

Any idea?

from symfony.

ShawnMcCool avatar ShawnMcCool commented on June 30, 2024

Yeah OK so it looks like the Symfony driver needs to be upgraded to support the new backup manager release.

@Nyholm Do you know anything about how to go about this? I can't imagine there's much to change.

from symfony.

Nyholm avatar Nyholm commented on June 30, 2024

I dont believe it is. It might be as easy as just updating composer.json to support both version 1 and 2.

from symfony.

fcerezo avatar fcerezo commented on June 30, 2024

Can you update it ? Thanks

from symfony.

fcerezo avatar fcerezo commented on June 30, 2024

Any news for that?

from symfony.

ShawnMcCool avatar ShawnMcCool commented on June 30, 2024

I personally don't have time to pursue this at the moment. @Nyholm not sure if you do.

@fcerezo might be worth just forking it and trying it out.

from symfony.

Nyholm avatar Nyholm commented on June 30, 2024

@fcerezo It is an open source library. The greatness is in the collective.

Please update it it yourself. Test it and make a PR. I would be happy to merge that PR and tag a release for you.

Im sure that I don't have to remind anybody that open source maintainers are not the company's IT department.

from symfony.

fcerezo avatar fcerezo commented on June 30, 2024

Yes, I know. I have been trying it but I dont know how to fix it. I have no too much experience with forks and pull requests.

from symfony.

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.