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

How to update installation? #179

Closed
dgrothaus-mc opened this issue Jan 23, 2023 · 4 comments
Closed

How to update installation? #179

dgrothaus-mc opened this issue Jan 23, 2023 · 4 comments
Labels

Comments

@dgrothaus-mc
Copy link

How to update to newer version, after creating an installation with composer create-project?

Do I just run composer update to update everything uncontrolled or is there any controlled way to update to a newer version of satisfy?

@ramunasd
Copy link
Collaborator

composer install will install required versions

@dgrothaus-mc
Copy link
Author

composer install Won't do anything, as the composer.lock file would have to change prior to that command. But the lock file will never change without any way of updating.

composer install would work, if Satisfy had been installed by cloning this repository and updating the install with a git pull

In your README your described way of installing is by running composer create-project. This way of installing creates it's own composer.lock which is totally independent from the composer.lock you're checking into this repository. The way create-project works is to use the latest package of playbloom/satisfy, install all dependencies from composer.json and to create a new composer.lock file for the created project.

The usual way would be to run composer update to update it's requirements. But playbloom/satisfy is not a requirement listed in composer.json, so running an update wont't update Satisfy itself, just the other requirements.

I expected playbloom/satisfy to be a requirement of the project and a post-update script in composer.json to handle updates for Satisfy. But this project has neither. So I'm kindly asking again. How to update an existing installation that was created without git by running the preferred method described in the README file of creating a composer project.

@ramunasd
Copy link
Collaborator

Any README fixes are welcome. I would be happy to review your PR

@dgrothaus-mc
Copy link
Author

I'd be happy to improve the README. But what's the proper way to install Satisfy? By cloning the repository or by creating a new composer project based on Satisfy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants