ash-project / ash-project/igniter
Add `--except` option to `igniter.upgrade`
- Dominant language
- Elixir
- Stars
- 404
- Forks
- 75
- Avg merge
- 9h 58m
- Merged PRs (30d)
- 3
Description
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
### AI Policy
- [x] I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue.
### Is your feature request related to a problem? Please describe.
Not related to a problem. It's just a nice-to-have IMO.
### Describe the solution you'd like
I think it would be nice to add an `--except` option to the `igniter.upgrade` mix task so that we can use it together with `--all` to upgrade everything _except_ some packages.
Here's an example:
```bash
mix igniter.upgrade --all --except phoenix_live_view
```
This would upgrade all dependencies in the project, _except_ `phoenix_live_view`.
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Start at the `mix igniter.upgrade` mix task and inspect how the existing `--all` option selects packages. Determine where command-line options are parsed and how exclusions should interact with `--all`; done means the example command upgrades every dependency except `phoenix_live_view`, with the relevant test coverage passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100