-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add support for default-groups
#8471
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
Conversation
|
@zanieb -- We might need |
084dfd5 to
8b864be
Compare
| pub(crate) spec: DevGroupsSpecification, | ||
| /// The default groups to include. | ||
| pub(crate) defaults: Vec<GroupName>, | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't feel strongly on the name here, but this is the specification along with the project-specific defaults.
|
Yeah I was imagining adding |
| /// Include dependencies from the specified groups. | ||
| Include(Vec<GroupName>), | ||
| /// Do not include dependencies from groups. | ||
| Exclude, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made this the None case for groups: Option<GroupsSpecification>, to mirror dev: Option< DevMode>.
8b864be to
df57bf3
Compare
df57bf3 to
dfadcf9
Compare
dfadcf9 to
d89dd18
Compare
d89dd18 to
5e17cab
Compare
## Summary This PR adds support for `tool.uv.default-groups`, which defaults to `["dev"]` for backwards-compatibility. These represent the groups we sync by default.
This PR adds support for `tool.uv.default-groups`, which defaults to `["dev"]` for backwards-compatibility. These represent the groups we sync by default.
This PR adds support for `tool.uv.default-groups`, which defaults to `["dev"]` for backwards-compatibility. These represent the groups we sync by default.
This PR adds support for `tool.uv.default-groups`, which defaults to `["dev"]` for backwards-compatibility. These represent the groups we sync by default.
This PR adds support for `tool.uv.default-groups`, which defaults to `["dev"]` for backwards-compatibility. These represent the groups we sync by default.
Summary
This PR adds support for
tool.uv.default-groups, which defaults to["dev"]for backwards-compatibility. These represent the groups we sync by default.