-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cargo.lock (and dependabot) #99
Comments
Lmao. Here I was thinking that using the lockfile is default behaviour... But what does it do if not that? Isn't all that Either way ~ yes I want to fix the versions people use (by default). So using I'd be more hesitant to automatically updating lockfile versions, especially in case of "hibernation" of the project. I'd rather go in every so often and do some updating myself, just to be sure that what's there will work. |
Yeah I could have explained this a bit better. This is my (hopefully correct) current understanding of I already added With respect to dependabot, we can set it up in a way where it would merge itself, but we can also set it up where it creates PRs when updates are available. It can also group together all semver compatible updates in a single PR lets say once a month (an interval I have settled for personally, ymmv). Major updates I are more complicated as frequently more work is involved unfortunately, but we could still set that up so that it would create a PR for those, but probably just one by one. Here an example of a very attention deprived personal project of mine where I use dependabot in such a way: DanielVoogsgerd/waybar-extensions-rs#84 |
Ahh, I see. That matches my expectation of how it worked as well :) but I agree then that I also like the way of using dependabot to create PRs. That would do the thing I meant to do but like, automagically :) +1! |
Right now
make.py
does not use the argument cargo flag--locked
. Perhaps it would be a good idea to use the versions provided in the lock file. This way, we know that people are actually compiling the same thing as we are. The downside of this would be that we would have to update the lockfile more frequently for people to use recent versions. I think it could help to use dependabot for it.We can set it up that it would group together all backwards compatible updates so we only have to test the collection of updates during a entire month.
Major versions would require more attention and could be split into separate PRs by dependabot.
@Lut99 what do you think?
Should we compile with locked? Edit: Yes
--locked
to make.pyShould we use dependabot to update lockfile versions? Edit: Yes
The text was updated successfully, but these errors were encountered: