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

composer_version not honored when a previous version is installed #63

Closed
EmilioMoreno opened this issue Aug 18, 2019 · 5 comments
Closed
Labels

Comments

@EmilioMoreno
Copy link

if you specify a version using "composer_version" variable and composer is not installed previously, everything works ok, but if you want to upgrade/downgrade later on to a different composer version, and composer is already installed (no matter what version), the role finishes without doing anything but composer is not upgraded/downgraded.

As we work on specific versions of composer and upgrade to specific versions and not always to the latest, this role do not allow us to upgrade composer.

@stale
Copy link

stale bot commented Mar 6, 2020

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Mar 6, 2020
@stale
Copy link

stale bot commented Apr 5, 2020

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Apr 5, 2020
@versusbassz
Copy link

I'm not an experienced ansible developer ofc, but i think this behavior isn't correct. Updating composer phar file via changing the role's var could be very very convenient.

@ngstigator
Copy link

I'm not an experienced ansible developer ofc, but i think this behavior isn't correct. Updating composer phar file via changing the role's var could be very very convenient.

if you use the composer_version_branch option you can at least change to version 1 i.e. 1.10.17
e.g. composer_version_branch: '--1'

note that composer_version is ignored, so you will not be able install a specific version.

hope this helps.

@gdubicki
Copy link
Contributor

See also #72 and #77 as they are related.

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

4 participants