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

See if we can leverage composer 2.4's new bump feature #5719

Closed
jeffwidman opened this issue Sep 14, 2022 · 3 comments
Closed

See if we can leverage composer 2.4's new bump feature #5719

jeffwidman opened this issue Sep 14, 2022 · 3 comments
Labels
L: php:composer Issues and code for Composer T: tech-debt ⚙️

Comments

@jeffwidman
Copy link
Member

jeffwidman commented Sep 14, 2022

Composer 2.4 added a new bump option: https://blog.packagist.com/composer-2-4/

We may be able to leverage this a bit more directly for bumping versions in composer.json. See the caveats about doing it for libraries on that blog post.

See also:

@driskell
Copy link
Contributor

Just to put here what was mentioned elsewhere. I think the bump just increases the json to the currently installed version so doesn’t update anything except the minimum requirement and only updates it what’s already installed

@jeffwidman
Copy link
Member Author

Ah yeah, looks like you're right: https://php.watch/articles/composer-bump

They're adding a --dry-run flag too, but regardless doesn't really add any value for us.

@jeffwidman jeffwidman closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2022
@jeffwidman
Copy link
Member Author

And thanks again @driskell really appreciate you swinging by to dispense some knowledge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: php:composer Issues and code for Composer T: tech-debt ⚙️
Projects
None yet
Development

No branches or pull requests

2 participants