You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by halloei January 6, 2022
I've written a CI job that runs every night and checks my PHP projects for available Composer package updates. The number of those updates are then displayed in a badge, so you can see at a glance if you should update your dependencies.
includes only updates that can be done without hassle (as they won't break anything)
outputs in JSON format so I can count the number of updates with jq
The output of this command is an integer which can be used to create the badge.
However, this won't include major updates from direct dependencies. I'd like to notice if there's a major update of one of them, because I can become active and update it. I thought about a second command with --direct --major-only and adding the result to the one of my previous command. But something like --major-only does not exist.
Would such an option be useful? How do you handle that kind of feature?
This would be nice to have I think. The flag should be added in both ShowCommand and OutdatedCommand, and support for it added in ShowCommand, if someone wants to do it.
The text was updated successfully, but these errors were encountered:
Discussed in #10438
Originally posted by halloei January 6, 2022
I've written a CI job that runs every night and checks my PHP projects for available Composer package updates. The number of those updates are then displayed in a badge, so you can see at a glance if you should update your dependencies.
Currently the command is as follows:
It...
jq
The output of this command is an integer which can be used to create the badge.
However, this won't include major updates from direct dependencies. I'd like to notice if there's a major update of one of them, because I can become active and update it. I thought about a second command with
--direct --major-only
and adding the result to the one of my previous command. But something like--major-only
does not exist.Would such an option be useful? How do you handle that kind of feature?
This would be nice to have I think. The flag should be added in both ShowCommand and OutdatedCommand, and support for it added in ShowCommand, if someone wants to do it.
The text was updated successfully, but these errors were encountered: