-
Notifications
You must be signed in to change notification settings - Fork 1k
Default to caret #225
Comments
We already default detected, on disk packages to |
Is this about defaulting to caret while generating the manifest file (during |
We already default to inserting a caret when possible with {
"dependencies": {
"github.com/foo/bar": {
"version": "1.8.0"
}
}
} Then we would treat the bare |
I've now got PRs up for all the obvious/outstanding issues in Masterminds/semver. Hopefully we'll get those merged soon, and will be able to get this in. |
I read through Masterminds/semver#41 and I'm still confused on why if dep chooses to default to carets that any change in the semver lib would be required? Why couldn't Is there another link that I can go Indiana Jones on to get more background? |
@carolynvs you might be right - it may be possible to do that. My concern is the breadth of inputs that lib currently allows (possibly wider than we really want to allow for dep - which is another topic of discussion). If we insert unconditionally, then:
Hmm, maybe it would work 😄 |
Is the union operator supported by dep? I'm not questioning if it should or not, just unsure about the scope of what we plan to support, e.g. only |
throws herself on the grenade I'll take a stab at this and try to have something to review by tomorrow. |
In our discussions we were in favor of adopting Rust's carat default although it's not implemented yet, so I'm opening this issue to track it.
There is a related issue here: Masterminds/semver#41
The text was updated successfully, but these errors were encountered: