-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Breaking] Remove the "pre-commit hooks" and "update manifests" features #288
Conversation
0d22ea8
to
1304140
Compare
bors merge |
Until #282 the suggested workflow wasn’t versioned, so I’d be pretty careful about breaking changes! It seems like this doesn’t break that workflow though, only custom ones, is that right? |
Yeah, it will only break custom workflows that pass a custom precommit hook. If people still need the precommit hook functionality, they will need to use CompatHelper v1. I'll make a Discourse post asking people to update the CompatHelper workflow files. |
re. these two points: in CUDA.jl I have the Manifest committed, and CI uses it. If CompatHelper now bumps the compat entries without updating the Manifest, I can't be sure that bump is safe because the CI run on that PR used an older Manifest. Sure, there's separate actions that update the Manifest, but that then happens in a different PR, so doesn't help here. Or am I missing something? |
The short answer is that you can still use CompatHelper v1. Just copy the workflow file from https://github.com/JuliaRegistries/CompatHelper.jl/blob/master/.github/workflows/CompatHelper.yml, and change the line that looks like The long answer is:
|
If we can get JuliaLang/Pkg.jl#2504 merged, we can add the "update manifests" feature back to CompatHelper. |
Closes #111
Closes #170
Closes #172
Closes #194
Closes #213
Summary
This pull request makes the following changes:
1.x.y
to2.0.0
, because this is a breaking change.Motivation
There are multiple reasons why I want to make this change:
[compat]
entries in theProject.toml
file when your dependencies make new breaking releases. In the spirit of "do one thing, and do it well", I'd like to focus on this core mission.Manifest.toml
file in the repo. This can be quite confusing to users - why should CompatHelper break due to an unrelatedManifest.toml
file?