Add option "--no-major" to CLI updater
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 51
- Forks
- 40
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 3
Description
Hi everybody,
I want to trigger nightly updates by cron job. However, these should be limited to security fixes, i.e. only the newest minor version should be updated. Therefore, I ask you to include a "--no-major" CLI option.
I think this also would enhance security, since security updates should be installed automatically. Currently, this is not possible without the "risk" of forcing an update to the next major version.
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the PHP CLI option parsing and the updater's version-selection logic. Trace how major and minor updates are currently chosen, then verify that --no-major permits the newest minor or security update without selecting a newer major version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100